compile trouble

Narayanasamy, Senthil (Exchange) senthil at bear.com
Tue Nov 5 16:49:55 CET 2002


Just comment out 

#define malloc rpl_malloc 

line in config.h and do a make

Regards,
senthil



>-----Original Message-----
>From: Jim [mailto:jim at jtackett.com]
>Sent: Tuesday, November 05, 2002 10:44 AM
>To: Bogofilter ML
>Subject: RE: compile trouble
>
>
>I had a simular ./configure error.  It complained about not 
>being able to
>find the BerkeleyDB libraries, even after installed BerkeleyDB 
>4.0.  So I
>added the path option and it still complained.  I posted my error and
>problem on Sourceforge for someone to help me and I never got 
>a response.
>http://sourceforge.net/tracker/?group_id=62265&atid=499998
>
>Good luck!
>
>> -----Original Message-----
>> From: Joeri Belis [mailto:joeri.belis at nollekens.be]
>> Sent: Tuesday, November 05, 2002 10:34 AM
>> To: bogofilter at aotto.com
>> Subject: compile trouble
>>
>>
>> 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
>
>
>---------------------------------------------------------------------
>FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
>To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
>For summary digest subscription: bogofilter-digest-subscribe at aotto.com
>For more commands, e-mail: bogofilter-help at aotto.com
>


****************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************





More information about the Bogofilter mailing list