[Snort-users] Compiling latest cvs-version on Tru64 v4.0f (long)

Laurie Zirkle lat at ...214...
Thu Aug 3 08:08:11 EDT 2000


Any Tru64 afficiondos out there?  Snort-1.6.3 configures and compiles
cleanly on v4.0f with gcc-2.8.1.  Snort-1.6.3 AND the latest cvs-version
(pulled at 7:30am 08/03/00) configure and compile (albeit with a few
complaints) on v5.0 with either gcc-2.8.1 or gcc-2.95.2.  The latest
cvs-version will not compile on v4.0f with gcc-2.8.1.  Here is my
configure and make output:

bash$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... alpha-dec-osf4.0
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for strings.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/sockio.h... no
checking for paths.h... yes
checking for inet_ntoa in -lnsl... no
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... yes
checking whether strtoul must be declared... no
checking for pcap_datalink in -lpcap... yes
checking for /usr/include/mysql/mysql.h... no
checking for /usr/local/include/sql.h... no
checking for /usr/include/pgsql/libpq-fe.h... no
checking for u_int8_t... no
checking for u_int16_t... no
checking for u_int32_t... no
checking for a BSD compatible install... ./install-sh -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
bash$ make
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall  -c snort.c
In file included from /usr/include/net/if.h:343,
                 from spo_log_database.h:28,
                 from plugbase.h:47,
                 from snort.h:73,
                 from snort.c:45:
/usr/include/net/if_types.h:109: warning: `/*' within comment
In file included from snort.h:72,
                 from snort.c:45:
decode.h:323: parse error before `uint8_t'
decode.h:323: warning: no semicolon at end of struct or union
decode.h:324: warning: data definition has no type or storage class
decode.h:325: parse error before `protid'
decode.h:325: warning: data definition has no type or storage class
decode.h:326: parse error before `ethertype'
decode.h:326: warning: data definition has no type or storage class
decode.h:327: warning: data definition has no type or storage class
decode.h:344: parse error before `uint16_t'
decode.h:344: warning: no semicolon at end of struct or union
decode.h:351: warning: data definition has no type or storage class
decode.h:352: parse error before `}'
decode.h:352: warning: data definition has no type or storage class
decode.h:357: parse error before `uint8_t'
decode.h:357: warning: no semicolon at end of struct or union
decode.h:358: warning: data definition has no type or storage class
decode.h:359: parse error before `daddr'
decode.h:359: warning: data definition has no type or storage class
decode.h:360: parse error before `saddr'
decode.h:360: warning: data definition has no type or storage class
decode.h:361: parse error before `}'
decode.h:361: warning: data definition has no type or storage class
decode.h:374: parse error before `uint8_t'
decode.h:374: warning: no semicolon at end of struct or union
decode.h:375: warning: data definition has no type or storage class
decode.h:376: parse error before `saddr'
decode.h:376: warning: data definition has no type or storage class
decode.h:377: parse error before `}'
decode.h:377: warning: data definition has no type or storage class
decode.h:382: parse error before `uint8_t'
decode.h:382: warning: no semicolon at end of struct or union
decode.h:383: warning: data definition has no type or storage class
decode.h:384: warning: data definition has no type or storage class
decode.h:389: parse error before `uint8_t'
decode.h:389: warning: no semicolon at end of struct or union
decode.h:390: warning: data definition has no type or storage class
decode.h:397: parse error before `uint8_t'
decode.h:397: warning: no semicolon at end of struct or union
decode.h:398: warning: data definition has no type or storage class
decode.h:403: parse error before `uint8_t'
decode.h:403: warning: no semicolon at end of struct or union
decode.h:404: warning: data definition has no type or storage class
decode.h:405: parse error before `ethertype'
decode.h:405: warning: data definition has no type or storage class
decode.h:406: warning: data definition has no type or storage class
decode.h:412: parse error before `uint8_t'
decode.h:412: warning: no semicolon at end of struct or union
decode.h:413: warning: data definition has no type or storage class
decode.h:414: parse error before `ether_type'
decode.h:414: warning: data definition has no type or storage class
decode.h:416: warning: data definition has no type or storage class
decode.h:424: parse error before `uint8_t'
decode.h:424: warning: no semicolon at end of struct or union
decode.h:426: warning: data definition has no type or storage class
decode.h:427: parse error before `ip_len'
decode.h:427: warning: data definition has no type or storage class
decode.h:428: parse error before `ip_id'
decode.h:428: warning: data definition has no type or storage class
decode.h:429: parse error before `ip_off'
decode.h:429: warning: data definition has no type or storage class
decode.h:430: parse error before `ip_ttl'
decode.h:430: warning: data definition has no type or storage class
decode.h:431: parse error before `ip_proto'
decode.h:431: warning: data definition has no type or storage class
decode.h:432: parse error before `ip_csum'
decode.h:432: warning: data definition has no type or storage class
decode.h:436: parse error before `}'
decode.h:436: warning: data definition has no type or storage class
decode.h:441: parse error before `uint16_t'
decode.h:441: warning: no semicolon at end of struct or union
decode.h:442: warning: data definition has no type or storage class
decode.h:443: parse error before `th_seq'
decode.h:443: warning: data definition has no type or storage class
decode.h:444: parse error before `th_ack'
decode.h:444: warning: data definition has no type or storage class
decode.h:449: parse error before `th_x2'
decode.h:451: warning: data definition has no type or storage class
decode.h:452: parse error before `th_win'
decode.h:452: warning: data definition has no type or storage class
decode.h:453: parse error before `th_sum'
decode.h:453: warning: data definition has no type or storage class
decode.h:454: parse error before `th_urp'
decode.h:454: warning: data definition has no type or storage class
decode.h:456: warning: data definition has no type or storage class
decode.h:461: parse error before `uint16_t'
decode.h:461: warning: no semicolon at end of struct or union
decode.h:462: warning: data definition has no type or storage class
decode.h:463: parse error before `uh_len'
decode.h:463: warning: data definition has no type or storage class
decode.h:464: parse error before `uh_chk'
decode.h:464: warning: data definition has no type or storage class
decode.h:466: warning: data definition has no type or storage class
decode.h:471: parse error before `uint8_t'
decode.h:471: warning: no semicolon at end of struct or union
decode.h:472: warning: data definition has no type or storage class
decode.h:473: parse error before `csum'
decode.h:473: warning: data definition has no type or storage class
decode.h:475: warning: data definition has no type or storage class
decode.h:480: parse error before `uint16_t'
decode.h:480: warning: no semicolon at end of struct or union
decode.h:481: warning: data definition has no type or storage class
decode.h:483: warning: data definition has no type or storage class
decode.h:487: parse error before `uint16_t'
decode.h:487: warning: no semicolon at end of struct or union
decode.h:488: warning: data definition has no type or storage class
decode.h:489: parse error before `ar_hln'
decode.h:489: warning: data definition has no type or storage class
decode.h:490: parse error before `ar_pln'
decode.h:490: warning: data definition has no type or storage class
decode.h:491: parse error before `ar_op'
decode.h:491: warning: data definition has no type or storage class
decode.h:492: warning: data definition has no type or storage class
decode.h:498: parse error before `ARPHdr'
decode.h:498: warning: no semicolon at end of struct or union
decode.h:499: warning: data definition has no type or storage class
decode.h:500: parse error before `arp_spa'
decode.h:500: warning: data definition has no type or storage class
decode.h:501: parse error before `arp_tha'
decode.h:501: warning: data definition has no type or storage class
decode.h:502: parse error before `arp_tpa'
decode.h:502: warning: data definition has no type or storage class
decode.h:503: parse error before `}'
decode.h:503: warning: data definition has no type or storage class
decode.h:508: parse error before `uint8_t'
decode.h:508: warning: no semicolon at end of struct or union
decode.h:511: parse error before `}'
decode.h:511: warning: data definition has no type or storage class
decode.h:520: parse error before `Fddi_hdr'
decode.h:520: warning: no semicolon at end of struct or union
decode.h:521: warning: data definition has no type or storage class
decode.h:522: parse error before `*'
decode.h:522: warning: data definition has no type or storage class
decode.h:523: parse error before `*'
decode.h:523: warning: data definition has no type or storage class
decode.h:524: parse error before `*'
decode.h:524: warning: data definition has no type or storage class
decode.h:525: parse error before `*'
decode.h:525: warning: data definition has no type or storage class
decode.h:526: parse error before `*'
decode.h:526: warning: data definition has no type or storage class
decode.h:527: parse error before `*'
decode.h:527: warning: data definition has no type or storage class
decode.h:529: parse error before `*'
decode.h:529: warning: data definition has no type or storage class
decode.h:530: parse error before `*'
decode.h:530: warning: data definition has no type or storage class
decode.h:531: parse error before `*'
decode.h:531: warning: data definition has no type or storage class
decode.h:532: parse error before `*'
decode.h:532: warning: data definition has no type or storage class
decode.h:533: parse error before `*'
decode.h:533: warning: data definition has no type or storage class
decode.h:534: parse error before `*'
decode.h:534: warning: data definition has no type or storage class
decode.h:536: parse error before `*'
decode.h:536: warning: data definition has no type or storage class
decode.h:539: parse error before `dsize'
decode.h:539: warning: data definition has no type or storage class
decode.h:541: parse error before `frag_flag'
decode.h:541: warning: data definition has no type or storage class
decode.h:542: parse error before `frag_offset'
decode.h:542: warning: data definition has no type or storage class
decode.h:546: parse error before `sp'
decode.h:546: warning: data definition has no type or storage class
decode.h:547: parse error before `dp'
decode.h:547: warning: data definition has no type or storage class
decode.h:549: parse error before `ip_options'
decode.h:549: warning: data definition has no type or storage class
decode.h:551: parse error before `tcp_options'
decode.h:551: warning: data definition has no type or storage class
decode.h:554: parse error before `}'
decode.h:554: warning: data definition has no type or storage class
decode.h:578: parse error before `*'
decode.h:579: parse error before `*'
decode.h:580: parse error before `*'
decode.h:581: parse error before `*'
decode.h:582: parse error before `*'
decode.h:583: parse error before `*'
decode.h:584: parse error before `*'
decode.h:585: parse error before `*'
decode.h:586: parse error before `*'
decode.h:587: parse error before `Packet'
decode.h:588: parse error before `Packet'
decode.h:591: parse error before `Packet'
decode.h:592: parse error before `Packet'
decode.h:593: parse error before `Packet'
decode.h:594: parse error before `Packet'
decode.h:595: parse error before `Packet'
decode.h:596: parse error before `Packet'
In file included from plugbase.h:23,
                 from snort.h:73,
                 from snort.c:45:
rules.h:101: parse error before `*'
rules.h:111: parse error before `*'
rules.h:281: parse error before `*'
rules.h:282: parse error before `*'
rules.h:283: parse error before `*'
rules.h:284: parse error before `*'
rules.h:287: parse error before `*'
rules.h:288: parse error before `*'
rules.h:289: parse error before `*'
rules.h:290: parse error before `Packet'
rules.h:291: parse error before `Packet'
rules.h:292: parse error before `Packet'
rules.h:293: parse error before `Packet'
rules.h:298: parse error before `*'
rules.h:299: parse error before `*'
rules.h:300: parse error before `*'
rules.h:301: parse error before `*'
rules.h:304: parse error before `*'
rules.h:305: parse error before `*'
rules.h:306: parse error before `*'
rules.h:307: parse error before `*'
rules.h:308: parse error before `*'
rules.h:309: parse error before `*'
rules.h:310: parse error before `*'
rules.h:311: parse error before `*'
rules.h:312: parse error before `*'
rules.h:314: parse error before `*'
rules.h:315: parse error before `*'
rules.h:316: parse error before `*'
rules.h:317: parse error before `*'
rules.h:318: parse error before `*'
rules.h:319: parse error before `*'
In file included from plugbase.h:24,
                 from snort.h:73,
                 from snort.c:45:
sp_pattern_match.h:44: parse error before `*'
In file included from plugbase.h:25,
                 from snort.h:73,
                 from snort.c:45:
sp_tcp_flag_check.h:41: parse error before `*'
In file included from plugbase.h:26,
                 from snort.h:73,
                 from snort.c:45:
sp_icmp_type_check.h:38: parse error before `*'
In file included from plugbase.h:27,
                 from snort.h:73,
                 from snort.c:45:
sp_icmp_code_check.h:37: parse error before `*'
In file included from plugbase.h:28,
                 from snort.h:73,
                 from snort.c:45:
sp_ttl_check.h:36: parse error before `*'
In file included from plugbase.h:29,
                 from snort.h:73,
                 from snort.c:45:
sp_ip_id_check.h:36: parse error before `*'
In file included from plugbase.h:30,
                 from snort.h:73,
                 from snort.c:45:
sp_tcp_ack_check.h:36: parse error before `*'
In file included from plugbase.h:31,
                 from snort.h:73,
                 from snort.c:45:
sp_tcp_seq_check.h:36: parse error before `*'
In file included from plugbase.h:32,
                 from snort.h:73,
                 from snort.c:45:
sp_dsize_check.h:40: parse error before `*'
sp_dsize_check.h:41: parse error before `*'
sp_dsize_check.h:42: parse error before `*'
In file included from plugbase.h:33,
                 from snort.h:73,
                 from snort.c:45:
sp_ipoption_check.h:36: parse error before `*'
In file included from plugbase.h:34,
                 from snort.h:73,
                 from snort.c:45:
sp_rpc_check.h:50: parse error before `*'
In file included from plugbase.h:35,
                 from snort.h:73,
                 from snort.c:45:
sp_icmp_id_check.h:38: parse error before `*'
In file included from plugbase.h:36,
                 from snort.h:73,
                 from snort.c:45:
sp_icmp_seq_check.h:38: parse error before `*'
In file included from plugbase.h:37,
                 from snort.h:73,
                 from snort.c:45:
sp_session.h:21: parse error before `*'
sp_session.h:22: parse error before `Packet'
sp_session.h:23: parse error before `*'
In file included from plugbase.h:40,
                 from snort.h:73,
                 from snort.c:45:
spp_http_decode.h:39: parse error before `*'
In file included from plugbase.h:41,
                 from snort.h:73,
                 from snort.c:45:
spp_minfrag.h:36: parse error before `*'
In file included from plugbase.h:42,
                 from snort.h:73,
                 from snort.c:45:
spp_portscan.h:39: parse error before `*'
spp_portscan.h:40: parse error before `*'
In file included from plugbase.h:44,
                 from snort.h:73,
                 from snort.c:45:
spo_alert_syslog.h:42: parse error before `*'
In file included from plugbase.h:45,
                 from snort.h:73,
                 from snort.c:45:
spo_log_tcpdump.h:42: parse error before `*'
In file included from plugbase.h:46,
                 from snort.h:73,
                 from snort.c:45:
spp_defrag.h:49: parse error before `*'
spp_defrag.h:50: parse error before `*'
spp_defrag.h:51: parse error before `*'
spp_defrag.h:56: parse error before `*'
spp_defrag.h:56: warning: data definition has no type or storage class
In file included from spo_log_database.h:28,
                 from plugbase.h:47,
                 from snort.h:73,
                 from snort.c:45:
/usr/include/net/if.h:144: warning: no semicolon at end of struct or union
/usr/include/net/if.h:182: warning: `struct rtentry' declared inside parameter list
/usr/include/net/if.h:182: warning: its scope is only this definition or declaration,
/usr/include/net/if.h:182: warning: which is probably not what you want.
/usr/include/net/if.h:182: warning: `struct mbuf' declared inside parameter list
In file included from spo_log_database.h:28,
                 from plugbase.h:47,
                 from snort.h:73,
                 from snort.c:45:
/usr/include/net/if.h:462: warning: `struct rtentry' declared inside parameter list
In file included from plugbase.h:47,
                 from snort.h:73,
                 from snort.c:45:
spo_log_database.h:81: parse error before `*'
In file included from plugbase.h:48,
                 from snort.h:73,
                 from snort.c:45:
spo_alert_fast.h:43: parse error before `*'
In file included from plugbase.h:49,
                 from snort.h:73,
                 from snort.c:45:
spo_alert_full.h:42: parse error before `*'
In file included from plugbase.h:50,
                 from snort.h:73,
                 from snort.c:45:
spo_alert_smb.h:39: parse error before `*'
In file included from plugbase.h:51,
                 from snort.h:73,
                 from snort.c:45:
spo_alert_unixsock.h:40: parse error before `*'
In file included from snort.h:73,
                 from snort.c:45:
plugbase.h:100: parse error before `*'
plugbase.h:136: parse error before `*'
plugbase.h:153: parse error before `*'
plugbase.h:154: parse error before `*'
plugbase.h:155: parse error before `*'
plugbase.h:156: parse error before `*'
plugbase.h:157: parse error before `*'
plugbase.h:158: parse error before `*'
plugbase.h:159: parse error before `*'
In file included from snort.h:75,
                 from snort.c:45:
log.h:47: parse error before `*'
log.h:48: parse error before `*'
log.h:51: parse error before `Packet'
log.h:54: parse error before `Packet'
log.h:57: parse error before `Packet'
log.h:58: parse error before `Packet'
log.h:59: parse error before `Packet'
log.h:60: parse error before `Packet'
log.h:61: parse error before `Packet'
log.h:62: parse error before `Packet'
log.h:63: parse error before `Packet'
log.h:64: parse error before `Packet'
log.h:65: parse error before `Packet'
log.h:66: parse error before `Packet'
log.h:67: parse error before `*'
log.h:69: parse error before `*'
log.h:70: parse error before `*'
log.h:73: parse error before `*'
log.h:74: parse error before `*'
log.h:75: parse error before `*'
log.h:76: parse error before `*'
log.h:78: parse error before `*'
log.h:79: parse error before `*'
log.h:81: parse error before `*'
log.h:82: parse error before `*'
log.h:83: parse error before `*'
log.h:84: parse error before `*'
log.h:85: parse error before `*'
log.h:86: parse error before `*'
In file included from snort.c:45:
snort.h:213: parse error before `*'
snort.c: In function `ProcessPacket':
snort.c:339: `Packet' undeclared (first use this function)
snort.c:339: (Each undeclared identifier is reported only once
snort.c:339: for each function it appears in.)
snort.c:339: parse error before `p'
snort.c:345: `p' undeclared (first use this function)
snort.c: In function `InitProtoNames':
snort.c:1898: warning: implicit declaration of function `snprintf'
make: *** [snort.o] Error 1
bash$ exit

-- 
Laurie




More information about the Snort-users mailing list