[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile pbs ...



I comment <sys/socket.h> and <netinet/in.h> in decode_plugins/tcpip.h,
compiled OK

but other pbs :
...
Making all in decode_plugins
source='ip.c' object='ip.lo' libtool=yes  depfile='.deps/ip.Plo'
tmpdepfile='.deps/ip.TPlo'  depmode=gcc /usr/local/bin/bash ../depcomp
/usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../include  -I../include -D__PLUGIN__    -g -O2 -Wall -pipe -c -o ip.lo
`test -f 'ip.c' || echo './'`ip.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D__PLUGIN__ -g -O2
-Wall -pipe -c ip.c -Wp,-MD,.deps/ip.TPlo  -fPIC -DPIC -o ip.o
In file included from tcpip.h:9,
                 from ip.c:1:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type
ip.c: In function `ipv4_dprint':
ip.c:26: storage size of `s' isn't known
ip.c:26: storage size of `d' isn't known
ip.c:33: type of formal parameter 1 is incomplete
ip.c:34: type of formal parameter 1 is incomplete
ip.c:26: warning: unused variable `d'
ip.c:26: warning: unused variable `s'
*** Error code 1

Could you help me ?

Regards.




Gianni Tedesco wrote:

> On Wed, 2003-02-19 at 13:54, rmkml wrote:
> > move <sys/mman.h> after <sys/stat.h> is OK
> >
> > but new pb on decode_plugins/ether.c :
> > I comment <netinet/in.h> line 4, is OK
> >
> > but other pb on decode_plugins/tcpip.c :
> > /usr/include/netinet6/in6.h:612: syntax error before `*'
> > /usr/include/netinet6/in6.h:613: warning: type defaults to `int' in
> > declaration of `inet6_option_append'
> > /usr/include/netinet6/in6.h:614: syntax error before `*'
> > /usr/include/netinet6/in6.h:614: warning: type defaults to `int' in
> > declaration of `inet6_option_alloc'
> > /usr/include/netinet6/in6.h:614: warning: data definition has no type or
> > storage class
> > /usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
> > /usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
> > /usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
> > /usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
> > /usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
> > *** Error code 1
> >
> > Could you help me ?
>
> Same again I think.
>
> I think freebsd would like all the headers in the correct order and
> stuff.
>
> --
> // Gianni Tedesco (gianni at scaramanga dot co dot uk)
> lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
> 8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
>
>   ------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: application/pgp-signature
>                 Description: This is a digitally signed message part