compile trouble

Joeri Belis joeri.belis at nollekens.be
Tue Nov 5 16:34:04 CET 2002


I am running into trouble while compiling bogofilter.
Has this something to do with the BerkeleyDB.4.1 libraries that it can not
find?

Here is the error part of make and make check

/tmp/bogo/bogofilter-0.7.6/lexer.c:5144: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[2]: *** [bogofilter] Error 1
make[2]: Leaving directory `/tmp/bogo/bogofilter-0.7.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/bogo/bogofilter-0.7.6'
make: *** [all] Error 2

[root at linuxnol:/tmp/bogo/bogofilter-0.7.6]#make check
Making check in .
make[1]: Entering directory `/tmp/bogo/bogofilter-0.7.6'
gcc  -g  -L/usr/local/BerkeleyDB.4.1/lib  -o bogofilter  bogofilter.o main.o
lexer.o datastore_db.o wordhash.o wordlists.o xmalloc.o xstrdup.o
ebug.o  -lm  -ldb-4
lexer.o: In function `yy_flex_alloc':
/tmp/bogo/bogofilter-0.7.6/lexer.c:5144: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[1]: *** [bogofilter] Error 1
make[1]: Leaving directory `/tmp/bogo/bogofilter-0.7.6'
make: *** [check-recursive] Error 1

Thanks for any feedback,
Joeri






More information about the Bogofilter mailing list