-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
1st try:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/ -Wall -O2 -c -o u2_anon.o u2_anon.c
In file included from u2_anon.c:36:
/usr/include/netinet/ip6.h:75: error: expected specifier-qualifier-list before 'u_int32_t'
/usr/include/netinet/ip6.h:80: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:116: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:123: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:131: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:165: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:171: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:179: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:189: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:196: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:215: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:224: error: expected specifier-qualifier-list before 'u_int8_t'
/usr/include/netinet/ip6.h:234: error: expected specifier-qualifier-list before 'u_int8_t'
u2_anon.c: In function 'u2Anon_UNIFIED2_IDS_EVENT_IPV6':
u2_anon.c:711: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c:712: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c:714: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c:715: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c: In function 'u2Anon_UNIFIED2_PACKET':
u2_anon.c:853: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:854: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:860: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:861: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:872: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:873: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c: In function 'ProcessUnified2File':
u2_anon.c:1353: error: 'PATH_MAX' undeclared (first use in this function)
u2_anon.c:1353: error: (Each undeclared identifier is reported only once
u2_anon.c:1353: error: for each function it appears in.)
u2_anon.c: In function 'fileOperation':
u2_anon.c:1428: error: 'PATH_MAX' undeclared (first use in this function)
u2_anon.c:1495: warning: implicit declaration of function 'basename'
u2_anon.c:1495: warning: assignment makes pointer from integer without a cast
u2_anon.c:1428: warning: unused variable 'basenameHolder'
Then replaced
#include <netinet/ip6.h>
with
#include <dnet/ip6.h>
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/ -Wall -O2 -c -o u2_anon.o u2_anon.c
u2_anon.c: In function 'u2Anon_UNIFIED2_IDS_EVENT_IPV6':
u2_anon.c:711: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c:712: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c:714: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c:715: error: 'struct in6_addr' has no member named 's6_addr32'
u2_anon.c: In function 'u2Anon_UNIFIED2_PACKET':
u2_anon.c:853: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:854: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:860: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:861: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:872: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c:873: warning: type-punning to incomplete type might break strict-aliasing rules
u2_anon.c: In function 'ProcessUnified2File':
u2_anon.c:1353: error: 'PATH_MAX' undeclared (first use in this function)
u2_anon.c:1353: error: (Each undeclared identifier is reported only once
u2_anon.c:1353: error: for each function it appears in.)
u2_anon.c: In function 'fileOperation':
u2_anon.c:1428: error: 'PATH_MAX' undeclared (first use in this function)
u2_anon.c:1495: warning: implicit declaration of function 'basename'
u2_anon.c:1495: warning: assignment makes pointer from integer without a cast
u2_anon.c:1428: warning: unused variable 'basenameHolder'
*** [u2_anon.o] Error code 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels