Hi there,
We haven't got any success both with version 3.4.4 and version 4.0.2
of GCC. Version 3.4.4 fails with ld, saying that it doesn't support "+Accept".
We tried to fix it, but gave up and tried GCC 4.0.2. We had to apply the
flow-tools patch that was attached in a mailing-list mail. The problem is that
the build is failing in a different place (it also displays some warnings):
# gmake
Making all in lib
gmake[1]: Entering directory `/tmp/geom/flow-tools-0.68/lib'
gmake all-am
gmake[2]: Entering directory `/tmp/geom/flow-tools-0.68/lib'
source='ftio.c' object='ftio.o' libtool=no \
depfile='.deps/ftio.Po' tmpdepfile='.deps/ftio.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftio.c' || echo
'./'`ftio.c
source='ftswap.c' object='ftswap.o' libtool=no \
depfile='.deps/ftswap.Po' tmpdepfile='.deps/ftswap.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftswap.c' || echo
'./'`ftswap.c
source='ftencode.c' object='ftencode.o' libtool=no \
depfile='.deps/ftencode.Po' tmpdepfile='.deps/ftencode.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftencode.c' ||
echo './'`ftencode.c
source='ftdecode.c' object='ftdecode.o' libtool=no \
depfile='.deps/ftdecode.Po' tmpdepfile='.deps/ftdecode.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftdecode.c' ||
echo './'`ftdecode.c
source='ftprof.c' object='ftprof.o' libtool=no \
depfile='.deps/ftprof.Po' tmpdepfile='.deps/ftprof.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftprof.c' || echo
'./'`ftprof.c
source='bit1024.c' object='bit1024.o' libtool=no \
depfile='.deps/bit1024.Po' tmpdepfile='.deps/bit1024.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'bit1024.c' ||
echo './'`bit1024.c
source='fmt.c' object='fmt.o' libtool=no \
depfile='.deps/fmt.Po' tmpdepfile='.deps/fmt.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'fmt.c' || echo
'./'`fmt.c
source='support.c' object='support.o' libtool=no \
depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'support.c' ||
echo './'`support.c
source='ftfile.c' object='ftfile.o' libtool=no \
depfile='.deps/ftfile.Po' tmpdepfile='.deps/ftfile.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftfile.c' || echo
'./'`ftfile.c
source='fttlv.c' object='fttlv.o' libtool=no \
depfile='.deps/fttlv.Po' tmpdepfile='.deps/fttlv.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'fttlv.c' || echo
'./'`fttlv.c
source='ftmap.c' object='ftmap.o' libtool=no \
depfile='.deps/ftmap.Po' tmpdepfile='.deps/ftmap.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftmap.c' || echo
'./'`ftmap.c
source='ftrec.c' object='ftrec.o' libtool=no \
depfile='.deps/ftrec.Po' tmpdepfile='.deps/ftrec.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftrec.c' || echo
'./'`ftrec.c
source='fterr.c' object='fterr.o' libtool=no \
depfile='.deps/fterr.Po' tmpdepfile='.deps/fterr.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'fterr.c' || echo
'./'`fterr.c
source='ftchash.c' object='ftchash.o' libtool=no \
depfile='.deps/ftchash.Po' tmpdepfile='.deps/ftchash.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftchash.c' ||
echo './'`ftchash.c
source='ftsym.c' object='ftsym.o' libtool=no \
depfile='.deps/ftsym.Po' tmpdepfile='.deps/ftsym.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftsym.c' || echo
'./'`ftsym.c
source='radix.c' object='radix.o' libtool=no \
depfile='.deps/radix.Po' tmpdepfile='.deps/radix.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'radix.c' || echo
'./'`radix.c
source='fttag.c' object='fttag.o' libtool=no \
depfile='.deps/fttag.Po' tmpdepfile='.deps/fttag.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'fttag.c' || echo
'./'`fttag.c
source='ftfil.c' object='ftfil.o' libtool=no \
depfile='.deps/ftfil.Po' tmpdepfile='.deps/ftfil.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftfil.c' || echo
'./'`ftfil.c
ftfil.c: In function 'parse_primitive_type_asn':
ftfil.c:3538: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_ip_prot':
ftfil.c:3565: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_ip_port':
ftfil.c:3592: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_ip_prefix_len':
ftfil.c:3619: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_ip_tos':
ftfil.c:3646: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_ip_tcp_flags':
ftfil.c:3673: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_if_index':
ftfil.c:3700: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
ftfil.c: In function 'parse_primitive_type_engine':
ftfil.c:3727: warning: pointer targets in passing argument 4 of
'ftfil_load_lookup' differ in signedness
source='ftstat.c' object='ftstat.o' libtool=no \
depfile='.deps/ftstat.Po' tmpdepfile='.deps/ftstat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftstat.c' || echo
'./'`ftstat.c
ftstat.c: In function 'parse_rpt_out_records':
ftstat.c:3998: warning: implicit declaration of function 'strtoull'
source='getdate.c' object='getdate.o' libtool=no \
depfile='.deps/getdate.Po' tmpdepfile='.deps/getdate.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'getdate.c' ||
echo './'`getdate.c
getdate.y: In function 'LookupWord':
getdate.y:695: warning: array subscript has type 'char'
getdate.y:776: warning: array subscript has type 'char'
getdate.y: In function 'gd_lex':
getdate.y:814: warning: array subscript has type 'char'
getdate.y:835: warning: array subscript has type 'char'
getdate.y:837: warning: array subscript has type 'char'
source='ftxfield.c' object='ftxfield.o' libtool=no \
depfile='.deps/ftxfield.Po' tmpdepfile='.deps/ftxfield.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftxfield.c' ||
echo './'`ftxfield.c
source='ftmask.c' object='ftmask.o' libtool=no \
depfile='.deps/ftmask.Po' tmpdepfile='.deps/ftmask.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftmask.c' || echo
'./'`ftmask.c
source='ftvar.c' object='ftvar.o' libtool=no \
depfile='.deps/ftvar.Po' tmpdepfile='.deps/ftvar.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftvar.c' || echo
'./'`ftvar.c
ftvar.c: In function 'ftvar_evalstr':
ftvar.c:324: warning: array subscript has type 'char'
ftvar.c:359: warning: array subscript has type 'char'
source='ftxlate.c' object='ftxlate.o' libtool=no \
depfile='.deps/ftxlate.Po' tmpdepfile='.deps/ftxlate.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftxlate.c' ||
echo './'`ftxlate.c
ftxlate.c:69: error: syntax error before 'u_int8_t'
ftxlate.c:69: warning: no semicolon at end of struct or union
ftxlate.c:70: warning: type defaults to 'int' in declaration of 'm_pad'
ftxlate.c:70: warning: data definition has no type or storage class
ftxlate.c:74: error: syntax error before '}' token
ftxlate.c:76: error: syntax error before 'u_int32_t'
ftxlate.c:168: error: field 'cp' has incomplete type
ftxlate.c: In function 'parse_action_mask':
ftxlate.c:908: warning: implicit declaration of function 'strtoull'
ftxlate.c: In function 'parse_action_key':
ftxlate.c:1036: warning: pointer targets in passing argument 3 of 'decode_hex'
differ in signedness
ftxlate.c: In function 'parse_action_key_file':
ftxlate.c:1078: warning: pointer targets in passing argument 2 of
'load_key_file' differ in signedness
ftxlate.c: In function 'resolve_actions':
ftxlate.c:1537: warning: pointer targets in passing argument 2 of
'cryptopan_init' differ in signedness
ftxlate.c: In function 'eval_ip_src_addr_anon':
ftxlate.c:1739: warning: pointer targets in passing argument 2 of
'load_key_file' differ in signedness
ftxlate.c:1749: warning: pointer targets in passing argument 2 of
'cryptopan_init' differ in signedness
ftxlate.c: In function 'eval_ip_dst_addr_anon':
ftxlate.c:1789: warning: pointer targets in passing argument 2 of
'load_key_file' differ in signedness
ftxlate.c:1799: warning: pointer targets in passing argument 2 of
'cryptopan_init' differ in signedness
ftxlate.c: At top level:
ftxlate.c:2098: error: syntax error before 'u_int32_t'
ftxlate.c: In function 'cryptopan_anon':
ftxlate.c:2100: error: 'u_int8_t' undeclared (first use in this function)
ftxlate.c:2100: error: (Each undeclared identifier is reported only once
ftxlate.c:2100: error: for each function it appears in.)
ftxlate.c:2100: error: syntax error before 'rin_output'
ftxlate.c:2103: error: 'u_int32_t' undeclared (first use in this function)
ftxlate.c:2103: error: syntax error before 'result'
ftxlate.c:2106: error: 'result' undeclared (first use in this function)
ftxlate.c:2107: error: 'cp' undeclared (first use in this function)
ftxlate.c:2109: error: 'rin_input' undeclared (first use in this function)
ftxlate.c:2111: error: 'first4bytes_pad' undeclared (first use in this function)
ftxlate.c:2111: error: syntax error before 'm_pad'
ftxlate.c:2112: error: syntax error before 'm_pad'
ftxlate.c:2113: error: syntax error before 'm_pad'
ftxlate.c:2114: error: syntax error before 'm_pad'
ftxlate.c:2132: error: 'first4bytes_input' undeclared (first use in this
function)
ftxlate.c:2134: error: 'orig_addr' undeclared (first use in this function)
ftxlate.c:2155: error: 'rin_output' undeclared (first use in this function)
ftxlate.c:2160: error: 'new_addr' undeclared (first use in this function)
gmake[2]: *** [ftxlate.o] Error 1
gmake[2]: Leaving directory `/tmp/geom/flow-tools-0.68/lib'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/geom/flow-tools-0.68/lib'
gmake: *** [all-recursive] Error 1
Can anyone help us please? We're running on a very tight time-frame! Thanks a
lot in advance,
Arménio Pinto
________________________________
De: [EMAIL PROTECTED] em nome de Armenio Pinto
Enviada: qua 16-11-2005 20:41
Para: Boris Manojlovic
Cc: [EMAIL PROTECTED]
Assunto: RE: [Flow-tools] Flow-tools and HP-UX
Hi Boris, thanks for your reply!
We're trying to compile it ourselfs, using HP port of GCC 3.4.4. We'll post the
results to the mailing lists soon.
Arménio Pinto
________________________________
De: Boris Manojlovic [mailto:[EMAIL PROTECTED]
Enviada: qua 16-11-2005 20:04
Para: Armenio Pinto
Cc: [EMAIL PROTECTED]
Assunto: Re: [Flow-tools] Flow-tools and HP-UX
i'll can try to compile it on 11i PA RISC if you want.
But you'll need to wait me to get to work :)
On 11/16/05, Armenio Pinto < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote:
Hi there,
Has anyone ever tried to compile and run Flow-tool in HP-UX
(version 11i)? That's the only way we have to get Flow-tools running in our
production environment and if someone has already done that it would be great.
Thanks in advance,
Arménio Pinto
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools