Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: spamfiltering

Hi Jerry,

On Mon, 5 Jan 2009, Jerry Heyman wrote:
I am running it on an Amiga with an 060, so 128 megs of ram. I did
download the latest package source and I still get this error:

cc -O2 -m68060 -Wall -Wmissing-prototypes -Wmissing-declarations
-Wl,-R/usr/local/lib -o dspam dspam.o read_config.o config_api.o daemon.o
client.o agent_shared.o -pthread

This is your problem.  it should be -lpthread

./.libs/libdspam.a -L/usr/pkgsrc/mail/dspam/work/.buildlink/lib -lm
daemon.o: In function `daemon_listen':
daemon.c:(.text+0x1798): undefined reference to `pthread_attr_init'
daemon.c:(.text+0x17a6): undefined reference to
daemon.c:(.text+0x1a1e): undefined reference to `pthread_create'
daemon.c:(.text+0x1b50): undefined reference to `pthread_attr_init'
daemon.c:(.text+0x1b5e): undefined reference to
*** Error code 1

These symbols should all be defined in libpthread, which will be
correctly linked in if you alter your link line to -lpthread

How would I do this?

Best Regards,

Home | Main Index | Thread Index | Old Index