Compilation problem with bogofilter-0.10.1.3 - tests still fail.

Nick Simicich njs at scifi.squawk.com
Fri Jan 31 05:52:34 CET 2003


At 03:53 AM 2003-01-31 +0100, Matthias Andree wrote:

>Matthias Andree <matthias.andree at gmx.de> writes:
>
> > What OS and version is this?
> >
> > Do you have a stdint.h header?
> >
> > Does your system define u_int32_t in some header?
>
>Nevermind, please try the current CVS or this snapshot tarball:
>
>bogofilter-0.10.1.3-20030131T0250Z.cvs.tar.gz
>
>find it at:
>
>http://mandree.home.pages.de/bogofilter/

Fails to compile:

[root at scifi bogofilter-0.10.1.3.cvs]# make
make  all-recursive
make[1]: Entering directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs'
Making all in dcdflib
make[2]: Entering directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs/
dcdflib'
Making all in src
make[3]: Entering directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs/
dcdflib/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs/d
cdflib/src'
make[3]: Entering directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs/
dcdflib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs/d
cdflib'
make[2]: Leaving directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs/d
cdflib'
Making all in .
make[2]: Entering directory 
`/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs'
source='globals.c' object='globals.o' libtool=no \
depfile='.deps/globals.Po' tmpdepfile='.deps/globals.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.  -I./dcdflib/doc 
-I/root/bogofilter/db-4.1.24/bu
ild_unix/  -DBOGOFILTER -g -O2  -Wall -W -Wstrict-prototypes 
-Wmissing-prototype
s -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Waggreg
ate-return -Wmissing-declarations -Wnested-externs -ggdb -fno-common 
-Wchar-subs
cripts -Wcomment -Wimplicit -Wreturn-type -c `test -f 'globals.c' || echo 
'./'`g
lobals.c
In file included from globals.c:13:
system.h:73: parse error before `uint32_t'
system.h:73: warning: data definition has no type or storage class
make[2]: *** [globals.o] Error 1
make[2]: Leaving directory `/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/spool/news/bogofilter/bogofilter-0.10.1.3.cvs'
make: *** [all] Error 2
[root at scifi bogofilter-0.10.1.3.cvs]#


The md5sum matches, so the download went well.  Line 73 is the

typedef u_int32_t uint32_t;

line.

Changing that line to

typedef unsigned int uint32_t;

Makes the compilation work.  Something wrong with the way you arrived at 
that, I think.

Do you want copies of the directories, or something else?  Compilation is 
still running as I send this in.

--
SPAM: Trademark for spiced, chopped ham manufactured by Hormel.
spam: Unsolicited, Bulk E-mail, where e-mail can be interpreted generally 
to mean electronic messages designed to be read by an individual, and it 
can include Usenet, SMS, AIM, etc.  But if it is not all three of 
Unsolicited, Bulk, and E-mail, it simply is not spam. Misusing the term 
plays into the hands of the spammers, since it causes confusion, and 
spammers thrive on  confusion. Spam is not speech, it is an action, like 
theft, or vandalism. If you were not confused, would you patronize a spammer?
Nick Simicich - njs at scifi.squawk.com - http://scifi.squawk.com/njs.html
Stop by and light up the world!



More information about the Bogofilter mailing list