Hi all,

I'm trying to build 3.9.1-RC1 on OpenBSD -current.

Here's my configure script:
env AUTOMAKE_VERSION="1.9"
env AUTOCONF_VERSION="2.63"
./autogen.sh

env AUTOMAKE_VERSION="1.9"
env AUTOCONF_VERSION="2.63"
./configure \
   --with-dspam-home=/var/dspam \
   --with-dspam-home-owner=_dspam \
   --with-dspam-home-group=_dspam \
   --with-dspam-home-mode=0755 \
   --with-dspam-owner=root \
   --with-dspam-group=bin \
   --with-dspam-mode=0555 \
   --enable-long-usernames \
   --with-storage-driver=pgsql_drv \
   --with-pgsql-includes=/usr/local/include/postgresql \
   --with-pgsql-libraries=/usr/local/lib \
   --enable-virtual-users \
   --enable-daemon \
   --enable-syslog

I am getting the following error, regardless of whether I --enable or 
--disable syslog:

gmake[3]: Entering directory `/tmp/dspam-3.9.1-RC1/src'
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall 
-Wmissing-prototypes -Wmissing-declarations  -L/usr/local/lib      -o 
dspam dspam.o read_config.o config_api.o daemon.o client.o 
agent_shared.o -lm libdspam.la -lm -pthread   -lpq  -lm -pthread
gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o 
.libs/dspam dspam.o read_config.o config_api.o daemon.o client.o 
agent_shared.o -pthread -pthread  -L/usr/local/lib -L./.libs -ldspam 
-lpq -lm  -Wl,-rpath,/usr/local/lib
dspam.o(.text+0x7ba7): In function `process_users':
/tmp/dspam-3.9.1-RC1/src/dspam.c:1685: warning: strcpy() is almost 
always misused, please use strlcpy()
dspam.o(.text+0x1eba): In function `add_xdspam_headers':
/tmp/dspam-3.9.1-RC1/src/dspam.c:3369: warning: sprintf() is often 
misused, please use snprintf()
/usr/local/lib/libdspam.so.7.0: warning: strcat() is almost always 
misused, please use strlcat()
dspam.o(.text+0x84be): In function `main':
/tmp/dspam-3.9.1-RC1/src/dspam.c:128: undefined reference to `__syslog_lock'
dspam.o(.text+0x8551):/tmp/dspam-3.9.1-RC1/src/dspam.c:312: undefined 
reference to `__syslog_lock'
dspam.o(.text+0x8688):/tmp/dspam-3.9.1-RC1/src/dspam.c:190: undefined 
reference to `__syslog_lock'
collect2: ld returned 1 exit status

Thanks,

Jeff Ross

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to