Port-atari archive

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

Re: spamfiltering



Al - Image Hosting Services wrote:

> Hi Ignatios,
> 
> 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
> `pthread_attr_setdetachstate'
> 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
> `pthread_attr_setdetachstate'
> *** 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

jerry
-- 
Jerry Heyman, PhD      / IBM STG - HPC&BG ISV Support / "Software is the 
Technical Consultant  / IBM Solutions Enablement     / difference between
jheyman%us.ibm.com@localhost   /    919.543.5628 (t/l 441)    / hardware and 
reality"
http://ibm.com/servers/deepcomputing



Home | Main Index | Thread Index | Old Index