Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-headers: smoke test errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Thu Apr 05, 2018 8:25 am    Post subject: linux-headers: smoke test errors Reply with quote

Hi,

I am in the middle of an update world. Doing this, I read the doc about the linux-headers, and after the linux-headers and glibc was updated, I done the smoke test and get a few errors:

Code:
for h in `find /usr/include/linux -type f -printf '%P '` ; do
                 h="linux/$h"; echo "$h"
                gcc -x c -c -o /dev/null - <<<"#include <$h>";
         done
linux/veth.h
linux/tty.h
...
linux/sysctl.h
In file included from <stdin>:1:0:
/usr/include/linux/sysctl.h:38:2: erreur : unknown type name « size_t »
  size_t *oldlenp;
  ^~~~~~
/usr/include/linux/sysctl.h:40:2: erreur : unknown type name « size_t »
  size_t newlen;
  ^~~~~~
...
linux/coda_psdev.h
In file included from <stdin>:1:0:
/usr/include/linux/coda_psdev.h:12:22: erreur : field « uc_chain » has incomplete type
  struct list_head    uc_chain;
                      ^~~~~~~~
/usr/include/linux/coda_psdev.h:13:2: erreur : unknown type name « caddr_t »
  caddr_t             uc_data;
  ^~~~~~~
/usr/include/linux/coda_psdev.h:14:2: erreur : unknown type name « u_short »
  u_short             uc_flags;
  ^~~~~~~
/usr/include/linux/coda_psdev.h:15:2: erreur : unknown type name « u_short »
  u_short             uc_inSize;  /* Size is at most 5000 bytes */
  ^~~~~~~
/usr/include/linux/coda_psdev.h:16:2: erreur : unknown type name « u_short »
  u_short             uc_outSize;
  ^~~~~~~
/usr/include/linux/coda_psdev.h:17:2: erreur : unknown type name « u_short »
  u_short             uc_opcode;  /* copied from data to save lookup */
  ^~~~~~~
/usr/include/linux/coda_psdev.h:19:2: erreur : unknown type name « wait_queue_head_t »
  wait_queue_head_t   uc_sleep;   /* process' wait queue */
  ^~~~~~~~~~~~~~~~~
...
linux/netfilter_ipv4/ipt_LOG.h
In file included from <stdin>:1:0:
/usr/include/linux/netfilter_ipv4/ipt_LOG.h:4:2: attention : #warning "Please update iptables, this file will be removed soon!" [-Wcpp]
 #warning "Please update iptables, this file will be removed soon!"
  ^~~~~~~
...
linux/sctp.h
In file included from <stdin>:1:0:
/usr/include/linux/sctp.h:271:14: erreur : « MSG_FIN » undeclared here (not in a function)
  SCTP_EOF  = MSG_FIN,  /* Initiate graceful shutdown process. */
              ^~~~~~~
/usr/include/linux/sctp.h:343:26: erreur : field « spc_aaddr » has incomplete type
  struct sockaddr_storage spc_aaddr;
                          ^~~~~~~~~
/usr/include/linux/sctp.h:666:26: erreur : field « sspp_addr » has incomplete type
  struct sockaddr_storage sspp_addr;
                          ^~~~~~~~~
/usr/include/linux/sctp.h:679:26: erreur : field « ssp_addr » has incomplete type
  struct sockaddr_storage ssp_addr;
                          ^~~~~~~~
/usr/include/linux/sctp.h:721:26: erreur : field « spp_address » has incomplete type
  struct sockaddr_storage spp_address;
                          ^~~~~~~~~~~
/usr/include/linux/sctp.h:806:2: erreur : unknown type name « uint32_t »
  uint32_t sack_delay;
  ^~~~~~~~
/usr/include/linux/sctp.h:807:2: erreur : unknown type name « uint32_t »
  uint32_t sack_freq;
  ^~~~~~~~
/usr/include/linux/sctp.h:812:5: erreur : unknown type name « uint32_t »
     uint32_t                assoc_value;
     ^~~~~~~~
/usr/include/linux/sctp.h:826:26: erreur : field « spinfo_address » has incomplete type
  struct sockaddr_storage spinfo_address;
                          ^~~~~~~~~~~~~~
/usr/include/linux/sctp.h:882:2: erreur : unknown type name « uint8_t »
  uint8_t  gauth_chunks[];
  ^~~~~~~
/usr/include/linux/sctp.h:941:26: erreur : field « sas_obs_rto_ipaddr » has incomplete type
  struct sockaddr_storage sas_obs_rto_ipaddr;
                          ^~~~~~~~~~~~~~~~~~
/usr/include/linux/sctp.h:986:26: erreur : field « spt_address » has incomplete type
  struct sockaddr_storage spt_address;
                          ^~~~~~~~~~~
/usr/include/linux/sctp.h:1045:26: erreur : field « sctpi_p_address » has incomplete type
  struct sockaddr_storage sctpi_p_address;
                          ^~~~~~~~~~~~~~~
/usr/include/linux/sctp.h:1074:2: erreur : unknown type name « uint16_t »
  uint16_t srs_flags;
  ^~~~~~~~
/usr/include/linux/sctp.h:1075:2: erreur : unknown type name « uint16_t »
  uint16_t srs_number_streams; /* 0 == ALL */
  ^~~~~~~~
/usr/include/linux/sctp.h:1076:2: erreur : unknown type name « uint16_t »
  uint16_t srs_stream_list[]; /* list if srs_num_streams is not 0 */
  ^~~~~~~~
/usr/include/linux/sctp.h:1081:2: erreur : unknown type name « uint16_t »
  uint16_t sas_instrms;
  ^~~~~~~~
/usr/include/linux/sctp.h:1082:2: erreur : unknown type name « uint16_t »
  uint16_t sas_outstrms;
  ^~~~~~~~
...
linux/dlm_netlink.h
In file included from <stdin>:1:0:
/usr/include/linux/dlm_netlink.h:35:21: erreur : « DLM_RESNAME_MAXLEN » undeclared here (not in a function)
  char resource_name[DLM_RESNAME_MAXLEN];
                     ^~~~~~~~~~~~~~~~~~
...
linux/vm_sockets.h
In file included from <stdin>:1:0:
/usr/include/linux/vm_sockets.h:148:32: erreur : invalid application of « sizeof » to incomplete type « struct sockaddr »
  unsigned char svm_zero[sizeof(struct sockaddr) -
                                ^~~~~~
/usr/include/linux/vm_sockets.h:149:18: erreur : « sa_family_t » undeclared here (not in a function)
           sizeof(sa_family_t) -
                  ^~~~~~~~~~~
...
linux/kexec.h
In file included from <stdin>:1:0:
/usr/include/linux/kexec.h:53:2: erreur : unknown type name « size_t »
  size_t bufsz;
  ^~~~~~
/usr/include/linux/kexec.h:55:2: erreur : unknown type name « size_t »
  size_t memsz;
  ^~~~~~
...
linux/coda.h
In file included from <stdin>:1:0:
/usr/include/linux/coda.h:214:2: erreur : unknown type name « u_short »
  u_short  va_mode; /* files access mode and type */
  ^~~~~~~
/usr/include/linux/coda.h:224:2: erreur : unknown type name « u_long »
  u_long  va_gen;  /* generation number of file */
  ^~~~~~
/usr/include/linux/coda.h:225:2: erreur : unknown type name « u_long »
  u_long  va_flags; /* flags defined for file */
  ^~~~~~
/usr/include/linux/coda.h:296:5: erreur : unknown type name « pid_t »
     pid_t pid;
     ^~~~~
/usr/include/linux/coda.h:297:5: erreur : unknown type name « pid_t »
     pid_t pgid;
     ^~~~~
/usr/include/linux/coda.h:328:5: erreur : unknown type name « ino_t »
     ino_t inode;
     ^~~~~
/usr/include/linux/coda.h:378:5: erreur : unknown type name « caddr_t »
     caddr_t data;  /* Place holder for data. */
     ^~~~~~~
/usr/include/linux/coda.h:538:5: erreur : unknown type name « caddr_t »
     caddr_t data;  /* Place holder for data. */
     ^~~~~~~
/usr/include/linux/coda.h:713:9: erreur : unknown type name « u_short »
         u_short in_size;        /* Size of input buffer <= 2K */
         ^~~~~~~
/usr/include/linux/coda.h:714:9: erreur : unknown type name « u_short »
         u_short out_size;       /* Maximum size of output buffer, <= 2K */
         ^~~~~~~
...
linux/hdlc/ioctl.h
In file included from <stdin>:1:0:
/usr/include/linux/hdlc/ioctl.h:73:14: erreur : « IFNAMSIZ » undeclared here (not in a function)
  char master[IFNAMSIZ]; /* Name of master FRAD device */
              ^~~~~~~~
...
linux/patchkey.h
In file included from <stdin>:1:0:
/usr/include/linux/patchkey.h:14:2: erreur : #error "patchkey.h included directly"
 #error "patchkey.h included directly"
  ^~~~~
...
linux/scc.h
In file included from <stdin>:1:0:
/usr/include/linux/scc.h:19:20: erreur : « SIOCDEVPRIVATE » undeclared here (not in a function)
  SIOCSCCRESERVED = SIOCDEVPRIVATE,
                    ^~~~~~~~~~~~~~
...
linux/netfilter_ipv6/ip6t_LOG.h
In file included from <stdin>:1:0:
/usr/include/linux/netfilter_ipv6/ip6t_LOG.h:4:2: attention : #warning "Please update iptables, this file will be removed soon!" [-Wcpp]
 #warning "Please update iptables, this file will be removed soon!"
  ^~~~~~~
...
linux/phonet.h
In file included from <stdin>:1:0:
/usr/include/linux/phonet.h:106:23: erreur : invalid application of « sizeof » to incomplete type « struct sockaddr »
  __u8 spn_zero[sizeof(struct sockaddr) - sizeof(__kernel_sa_family_t) - 3];
                       ^~~~~~
... #The following is a big one:
linux/kfd_ioctl.h
In file included from <stdin>:1:0:
/usr/include/linux/kfd_ioctl.h:33:2: erreur : unknown type name « uint32_t »
  uint32_t major_version; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:34:2: erreur : unknown type name « uint32_t »
  uint32_t minor_version; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:46:2: erreur : unknown type name « uint64_t »
  uint64_t ring_base_address; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:47:2: erreur : unknown type name « uint64_t »
  uint64_t write_pointer_address; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:48:2: erreur : unknown type name « uint64_t »
  uint64_t read_pointer_address; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:49:2: erreur : unknown type name « uint64_t »
  uint64_t doorbell_offset; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:51:2: erreur : unknown type name « uint32_t »
  uint32_t ring_size;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:52:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:53:2: erreur : unknown type name « uint32_t »
  uint32_t queue_type;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:54:2: erreur : unknown type name « uint32_t »
  uint32_t queue_percentage; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:55:2: erreur : unknown type name « uint32_t »
  uint32_t queue_priority; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:56:2: erreur : unknown type name « uint32_t »
  uint32_t queue_id;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:58:2: erreur : unknown type name « uint64_t »
  uint64_t eop_buffer_address; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:59:2: erreur : unknown type name « uint64_t »
  uint64_t eop_buffer_size; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:60:2: erreur : unknown type name « uint64_t »
  uint64_t ctx_save_restore_address; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:61:2: erreur : unknown type name « uint64_t »
  uint64_t ctx_save_restore_size; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:65:2: erreur : unknown type name « uint32_t »
  uint32_t queue_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:66:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:70:2: erreur : unknown type name « uint64_t »
  uint64_t ring_base_address; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:72:2: erreur : unknown type name « uint32_t »
  uint32_t queue_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:73:2: erreur : unknown type name « uint32_t »
  uint32_t ring_size;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:74:2: erreur : unknown type name « uint32_t »
  uint32_t queue_percentage; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:75:2: erreur : unknown type name « uint32_t »
  uint32_t queue_priority; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:83:2: erreur : unknown type name « uint64_t »
  uint64_t alternate_aperture_base; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:84:2: erreur : unknown type name « uint64_t »
  uint64_t alternate_aperture_size; /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:86:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;   /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:87:2: erreur : unknown type name « uint32_t »
  uint32_t default_policy;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:88:2: erreur : unknown type name « uint32_t »
  uint32_t alternate_policy;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:89:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:100:2: erreur : unknown type name « uint64_t »
  uint64_t gpu_clock_counter; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:101:2: erreur : unknown type name « uint64_t »
  uint64_t cpu_clock_counter; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:102:2: erreur : unknown type name « uint64_t »
  uint64_t system_clock_counter; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:103:2: erreur : unknown type name « uint64_t »
  uint64_t system_clock_freq; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:105:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:106:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:112:2: erreur : unknown type name « uint64_t »
  uint64_t lds_base;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:113:2: erreur : unknown type name « uint64_t »
  uint64_t lds_limit;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:114:2: erreur : unknown type name « uint64_t »
  uint64_t scratch_base;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:115:2: erreur : unknown type name « uint64_t »
  uint64_t scratch_limit;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:116:2: erreur : unknown type name « uint64_t »
  uint64_t gpuvm_base;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:117:2: erreur : unknown type name « uint64_t »
  uint64_t gpuvm_limit;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:118:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:119:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:127:2: erreur : unknown type name « uint32_t »
  uint32_t num_of_nodes;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:128:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:136:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:137:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:141:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:142:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:146:2: erreur : unknown type name « uint64_t »
  uint64_t content_ptr;  /* a pointer to the actual content */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:147:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:148:2: erreur : unknown type name « uint32_t »
  uint32_t buf_size_in_bytes; /*including gpu_id and buf_size */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:152:2: erreur : unknown type name « uint64_t »
  uint64_t content_ptr;  /* a pointer to the actual content */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:153:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:154:2: erreur : unknown type name « uint32_t »
  uint32_t buf_size_in_bytes; /*including gpu_id and buf_size */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:175:2: erreur : unknown type name « uint64_t »
  uint64_t event_page_offset; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:176:2: erreur : unknown type name « uint32_t »
  uint32_t event_trigger_data; /* from KFD - signal events only */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:177:2: erreur : unknown type name « uint32_t »
  uint32_t event_type;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:178:2: erreur : unknown type name « uint32_t »
  uint32_t auto_reset;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:179:2: erreur : unknown type name « uint32_t »
  uint32_t node_id;  /* to KFD - only valid for certain
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:181:2: erreur : unknown type name « uint32_t »
  uint32_t event_id;  /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:182:2: erreur : unknown type name « uint32_t »
  uint32_t event_slot_index; /* from KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:186:2: erreur : unknown type name « uint32_t »
  uint32_t event_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:187:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:191:2: erreur : unknown type name « uint32_t »
  uint32_t event_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:192:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:196:2: erreur : unknown type name « uint32_t »
  uint32_t event_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:197:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:201:2: erreur : unknown type name « uint32_t »
  uint32_t NotPresent; /* Page not present or supervisor privilege */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:202:2: erreur : unknown type name « uint32_t »
  uint32_t ReadOnly; /* Write access to a read-only page */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:203:2: erreur : unknown type name « uint32_t »
  uint32_t NoExecute; /* Execute access to a page marked NX */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:204:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:210:2: erreur : unknown type name « uint64_t »
  uint64_t va;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:211:2: erreur : unknown type name « uint32_t »
  uint32_t gpu_id;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:212:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:220:2: erreur : unknown type name « uint64_t »
  uint64_t kfd_event_data_ext; /* pointer to an extension structure
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:222:2: erreur : unknown type name « uint32_t »
  uint32_t event_id;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:223:2: erreur : unknown type name « uint32_t »
  uint32_t pad;
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:227:2: erreur : unknown type name « uint64_t »
  uint64_t events_ptr;  /* pointed to struct
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:229:2: erreur : unknown type name « uint32_t »
  uint32_t num_events;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:230:2: erreur : unknown type name « uint32_t »
  uint32_t wait_for_all;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:231:2: erreur : unknown type name « uint32_t »
  uint32_t timeout;  /* to KFD */
  ^~~~~~~~
/usr/include/linux/kfd_ioctl.h:232:2: erreur : unknown type name « uint32_t »
  uint32_t wait_result;  /* from KFD */
  ^~~~~~~~
...
linux/reiserfs_xattr.h
In file included from <stdin>:1:0:
/usr/include/linux/reiserfs_xattr.h:21:2: erreur : unknown type name « size_t »
  size_t length;
  ^~~~~~
...
linux/nfc.h
In file included from <stdin>:1:0:
/usr/include/linux/nfc.h:264:2: erreur : unknown type name « sa_family_t »
  sa_family_t sa_family;
  ^~~~~~~~~~~
/usr/include/linux/nfc.h:272:2: erreur : unknown type name « sa_family_t »
  sa_family_t sa_family;
  ^~~~~~~~~~~
/usr/include/linux/nfc.h:279:2: erreur : unknown type name « size_t »
  size_t service_name_len;
  ^~~~~~
...
linux/signal.h
In file included from /usr/include/linux/signal.h:4:0,
                 from <stdin>:1:
/usr/include/asm/signal.h:126:2: erreur : unknown type name « size_t »
  size_t ss_size;
  ^~~~~~
...
linux/android/binder.h
In file included from <stdin>:1:0:
/usr/include/linux/android/binder.h:232:2: erreur : unknown type name « pid_t »
  pid_t  sender_pid;
  ^~~~~
/usr/include/linux/android/binder.h:233:2: erreur : unknown type name « uid_t »
  uid_t  sender_euid;
  ^~~~~
...
linux/errqueue.h
In file included from <stdin>:1:0:
/usr/include/linux/errqueue.h:33:18: erreur : array type has incomplete element type « struct timespec »
  struct timespec ts[3];
                  ^~
...
linux/tls.h
In file included from <stdin>:1:0:
/usr/include/linux/tls.h:40:21: erreur fatale : net/tcp.h : Aucun fichier ou dossier de ce type
 #include <net/tcp.h>
                     ^
...
linux/omapfb.h
In file included from <stdin>:1:0:
/usr/include/linux/omapfb.h:184:2: erreur : unknown type name « size_t »
  size_t buffer_size;
  ^~~~~~
...
linux/elfcore.h
In file included from /usr/include/linux/signal.h:4:0,
                 from /usr/include/linux/elfcore.h:5,
                 from <stdin>:1:
/usr/include/asm/signal.h:126:2: erreur : unknown type name « size_t »
  size_t ss_size;
  ^~~~~~
In file included from <stdin>:1:0:
/usr/include/linux/elfcore.h:19:9: erreur : unknown type name « elf_greg_t »
 typedef elf_greg_t greg_t;
         ^~~~~~~~~~
/usr/include/linux/elfcore.h:20:9: erreur : unknown type name « elf_gregset_t »
 typedef elf_gregset_t gregset_t;
         ^~~~~~~~~~~~~
/usr/include/linux/elfcore.h:21:9: erreur : unknown type name « elf_fpregset_t »
 typedef elf_fpregset_t fpregset_t;
         ^~~~~~~~~~~~~~
/usr/include/linux/elfcore.h:22:9: erreur : unknown type name « elf_fpxregset_t »
 typedef elf_fpxregset_t fpxregset_t;
         ^~~~~~~~~~~~~~~
/usr/include/linux/elfcore.h:49:2: erreur : unknown type name « pid_t »
  pid_t pr_pid;
  ^~~~~
/usr/include/linux/elfcore.h:50:2: erreur : unknown type name « pid_t »
  pid_t pr_ppid;
  ^~~~~
/usr/include/linux/elfcore.h:51:2: erreur : unknown type name « pid_t »
  pid_t pr_pgrp;
  ^~~~~
/usr/include/linux/elfcore.h:52:2: erreur : unknown type name « pid_t »
  pid_t pr_sid;
  ^~~~~
/usr/include/linux/elfcore.h:60:2: erreur : unknown type name « elf_gregset_t »
  elf_gregset_t pr_reg; /* GP registers */
  ^~~~~~~~~~~~~
/usr/include/linux/elfcore.h:85:2: erreur : unknown type name « pid_t »
  pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
  ^~~~~
...
linux/fsmap.h
In file included from <stdin>:1:0:
/usr/include/linux/fsmap.h:71:19: erreur : unknown type name « size_t »
 static __inline__ size_t
                   ^~~~~~
linux/serial.h
linux/virtio_console.h
linux/utsname.h
linux/btrfs.h
linux/rfkill.h
linux/usbdevice_fs.h
linux/mqueue.h
linux/atmppp.h
linux/if_fc.h

The system is ~amd64, but the linux-headers are the last stable amd64:
sys-kernel/linux-headers-4.13::gentoo USE="-headers-only"
and sys-libs/glibc-2.26-r6:2.2::gentoo USE="gd (multilib) -audit -caps -debug -doc (-hardened) -headers-only -nscd -profile (-selinux) -suid -systemtap (-vanilla)"

What should I do with these errors? Is it bug(s) somewhere? Or do I have to wait until the current update is complete, or can I just ignore them?
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Sun Apr 08, 2018 3:24 pm    Post subject: Re: linux-headers: smoke test errors Reply with quote

Dominique_71 wrote:
I am in the middle of an update world. Doing this, I read the doc about the linux-headers, and after the linux-headers and glibc was updated, I done the smoke test and get a few errors


Does everything else on your system work?

I suspect the smoke test procedure might be outdated.
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1877
Location: Switzerland (Romandie)

PostPosted: Mon Apr 09, 2018 9:48 pm    Post subject: Re: linux-headers: smoke test errors Reply with quote

phajdan.jr wrote:
Dominique_71 wrote:
I am in the middle of an update world. Doing this, I read the doc about the linux-headers, and after the linux-headers and glibc was updated, I done the smoke test and get a few errors


Does everything else on your system work?


Yes, it work well. Maybe some missing header or something like that.
_________________
"Confirm You are a robot." - the singularity
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum