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

Re: Compile pbs ...



On Tue, 2003-02-18 at 16:53, rmkml wrote:
> source='elog_write.c' object='elog_write.o' libtool=no
> depfile='.deps/elog_write.Po' tmpdepfile='.deps/elog_write.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_write.c' || echo './'`elog_write.c
> elog_write.c: In function `spool_rotate':
> elog_write.c:157: warning: long unsigned int format, ino_t arg (arg 5)
> elog_write.c: In function `spool_do_packet':
> elog_write.c:331: warning: assignment from incompatible pointer type
> This pb don't stop the compilation ...

Yeah, that shouldn't matter.

> B) (after your patch)
> ...
> 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:180: warning: implicit declaration of function `getopt_long'
> firecat.c:181: `opts' undeclared (first use in this function)
> firecat.c:181: (Each undeclared identifier is reported only once
> firecat.c:181: for each function it appears in.)
> *** Error code 1
> And this error ends the compilation ...

Very wierd, you sure the patch applied OK? 'opts' should not appear
anywhere in that file unless HAVE_GETOPT_LONG is defined, could you look
in the source code and confirm this is the case?

-- 
// 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

Attachment: signature.asc
Description: This is a digitally signed message part