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

Re: Compile pbs ...



ok,
firecat.c compiled ...
but :

source='firecat.c' object='firecat.o' libtool=no  depfile='.deps/firecat.Po'
tmpdepfile='.deps/firecat.TPo'  depmode=gcc /usr/local/bin/bash ../depcomp
gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPLUGIN_DIR=\"/usr/lib/firestorm\"   -I../include     -g -O2 -Wall -pipe -c
`test -f 'firecat.c' || echo './'`firecat.c
firecat.c: In function `main':
firecat.c:160: warning: unused variable `opti'

...
source='elog_pkt.c' object='elog_pkt.o' libtool=no
depfile='.deps/elog_pkt.Po' tmpdepfile='.deps/elog_pkt.TPo'  depmode=gcc
/usr/local/bin/bash ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPLUGIN_DIR=\"/usr/lib/firestorm\"   -I../include     -g -O2 -Wall -pipe -c
`test -f 'elog_pkt.c' || echo './'`elog_pkt.c
In file included from elog_pkt.c:10:
/usr/include/netinet/in.h:233: syntax error before `in_addr_t'
/usr/include/netinet/in.h:285: syntax error before `u_char'
In file included from /usr/include/netinet/in.h:467,
                 from elog_pkt.c:10:
/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
/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

I comment ligne 10 in src/elog_pkt.c (//#include <netinet/in.h>)

and new errors :
source='stormwall.c' object='stormwall.o' libtool=no
depfile='.deps/stormwall.Po' tmpdepfile='.deps/stormwall.TPo'  depmode=gcc
/usr/local/bin/bash ../depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPLUGIN_DIR=\"/usr/lib/firestorm\"   -I../include     -g -O2 -Wall -pipe -c
`test -f 'stormwall.c' || echo './'`stormwall.c
stormwall.c: In function `main':
stormwall.c:171: warning: unused variable `opti'
stormwall.c: At top level:
stormwall.c:45: storage size of `sa' isn't known
*** Error code 1


Regards





Gianni Tedesco wrote:

> On Tue, 2003-02-18 at 17:21, rmkml wrote:
> > The text leading up to this was:
> > --------------------------
> > |Index: src/firecat.c
> > |===================================================================
> > |RCS file: /home/scara/cvsroot/firestorm/src/firecat.c,v
> > |retrieving revision 1.61
> > |diff -u -r1.61 firecat.c
> > |--- src/firecat.c      7 Feb 2003 21:37:39 -0000       1.61
> > |+++ src/firecat.c      15 Feb 2003 11:05:08 -0000
> > --------------------------
> > Patching file src/firecat.c using Plan A...
> > Hunk #1 succeeded at 3 with fuzz 2.
> > Hunk #2 succeeded at 120 with fuzz 2 (offset 83 lines).
> > Hunk #3 succeeded at 46 with fuzz 2 (offset -1 lines).
> > Hunk #4 failed at 257.
> > 1 out of 4 hunks failed--saving rejects to src/firecat.c.rej
> > Hmm...  The next patch looks like a unified diff to me...
>
> Ah, yes patch failed, check the text of the .rej file (or even better
> look at the diff). You should get the idea of what it is doing, and
> apply by hand, should be very simple - just:
>
> #ifdef HAVE_GETOPT_LONG
> ..foo
> #else
> ..bar
> #endif
>
> Next version will incorporate all these changes, don't worry :)
>
> --
> // 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