James Kosin wrote: > ~ SPARC Options > ~ --------------------- > ~ -pthreads > ~ Add support for multithreading using the POSIX threads library. > ~ This option sets flags for both the preprocessor and > linker. This > ~ option does not affect the thread safety of object code produced > ~ by the compiler or that of libraries supplied with it. > > ~ IBM RS/6000 and PowerPC Options > ~ --------------------- > ~ -pthread > ~ Adds support for multithreading with the pthreads library. This > ~ option sets flags for both the preprocessor and linker. >
If I leave it lpthread here is what I get: configure: error: C compiler cannot create executables See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/security/clamav/work/clamav-0.93/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls In the config.log: configure:3491: gcc34 -O -pipe -I/usr/local/include -L/usr/local/lib -lpthread conftest.c >&5 /usr/libexec/elf/ld: cannot find -lpthread collect2: ld returned 1 exit status I found that either using pthread or removing the .else PTHREAD_LIBS check in the Makefile made things work. If the check for PTHREAD_LIBS is removed it uses pthread by default. Steven _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html