On Thu, August 21, 2008 20:10, Betti wrote: > Hello Chris, > > >>I'm trying to setup the latest nightly build (20080820), but spamdrop > >>keeps spitting out the parsed message to stderr (I know about the -p > >>switch, but it's turned off). DEBUG isn't defined in the Makefile. > >>So far I can locate it, it happens during parse_message(). > > >>Do I miss something? > > Please do a "make clean all", and try again. I verified the latest nightly > build, and it has no such a problem. The phenomenon may occur if > you issue "make" again, after a complete build when the spamtest > utility is compiled. Then you will use some object files again, which > are already recompiled with the -DDEBUG option.
Thanks for your quick and helpful reply. Your suggestions pointed me in the right direction. I didn't re- installed it and used always the just recompiled binary in the source tree. Now I reinstalled completely (maybe the installed library was debug- enabled), and it works as expected. One thing I see during my fixing here is, that spamtest (which includes parser.c) will always be compiled with -DDEBUG enabled. This target (test) will be made after spamdrop, so I guess the objects are getting overwritten. Does this makes any sense?!? ;) And btw. I removed these definitions before the last 'make clean all'. Ciao Chris