paths.h
Matthias Andree
matthias.andree at gmx.de
Sun Nov 23 20:28:03 CET 2003
John Poltorak <jp at warpix.org> writes:
> Making install in src
> make[1]: Entering directory `U:/unixos2/workdir/bogofilter-0.15.8/src'
> Making install in .
> make[2]: Entering directory `U:/unixos2/workdir/bogofilter-0.15.8/src'
> source='globals.c' object='globals.o' libtool=no \
> depfile='.deps/globals.Po' tmpdepfile='.deps/globals.TPo' \
> depmode=gcc u:/bin/sh ../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I../trio -I.. -DBOGOFILTER -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wnested-externs -ggdb -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wreturn-type -Wpointer-arith -c `test -f 'globals.c' || echo './'`globals.c
> In file included from u:\posix2\include\sys/syslog.h:36,
> from u:\posix2\include\syslog.h:6,
> from common.h:24,
> from globals.h:10,
> from globals.c:14:
> paths.h:37: parse error before `which'
> paths.h:37: warning: function declaration isn't a prototype
> make[2]: *** [globals.o] Error 1
>
>
> It looks like the wrong paths.h is getting picked up.
Indeed, by your syslog.h. Either the default include path is bogus or
your sys/syslog.h uses #include "paths.h" where it should use #include
<paths.h>. Can you check your sys/syslog.h?
We can fix this by renaming paths.h to bfpaths.h, which I'd like to
avoid in case it's something that can be fixed by configuration.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
More information about the Bogofilter
mailing list