I am trying to build vpopmail-5.4.33 on OpenBSD 5.0 (32 bit) but there
is an error I am getting and I can't find any solutions to this. I would
appreciate some help on this. The error looks like this:

gcc -I. -I/usr/local/include/mysql  -I.    -fPIC  -c -o
libvpopmail_a-conf.o `test -f 'conf.c' || echo './'`conf.c
gcc -I. -I/usr/local/include/mysql  -I.    -fPIC  -c -o
libvpopmail_a-ippp.o `test -f 'ippp.c' || echo './'`ippp.c
rm -f libvpopmail.a
ar cru libvpopmail.a libvpopmail_a-vpopmail.o libvpopmail_a-md5.o
libvpopmail_a-bigdir.o libvpopmail_a-vauth.o libvpopmail_a-file_lock.o
libvpopmail_a-vpalias.o libvpopmail_a-seek.o libvpopmail_a-vlimits.o
libvpopmail_a-maildirquota.o libvpopmail_a-vutil.o
libvpopmail_a-vlistlib.o libvpopmail_a-backfill.o libvpopmail_a-client.o
libvpopmail_a-conf.o libvpopmail_a-ippp.o cdb/*.o
ranlib libvpopmail.a
gcc -I. -I/usr/local/include/mysql  -I.      -c vchkpw.c
gcc -I. -I/usr/local/include/mysql  -I.      -c md5.c
gcc -I. -I/usr/local/include/mysql  -I.      -c hmac_md5.c
gcc     -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -Xlinker -R
-Xlinker /usr/local/lib -L/usr/local/lib  -lmysqlclient -lz -lm
libvpopmail.a(libvpopmail_a-vpopmail.o)(.text+0x8c86): In function
: warning: vsprintf() is often misused, please use vsnprintf()
libvpopmail.a(libvpopmail_a-vpopmail.o)(.text+0x4144): In function
: warning: strcpy() is almost always misused, please use strlcpy()
vchkpw.o(.text+0x212): In function `main':
: warning: sprintf() is often misused, please use snprintf()
libvpopmail.a(libvpopmail_a-vpopmail.o)(.text+0x8583): In function
: warning: strcat() is almost always misused, please use strlcat()
libvpopmail.a(libvpopmail_a-client.o)(.text+0xc84): In function
: undefined reference to `__bswap_64'
libvpopmail.a(libvpopmail_a-client.o)(.text+0xcb4): In function
: undefined reference to `__bswap_64'
collect2: ld returned 1 exit status
gmake[2]: *** [vchkpw] Error 1
gmake[2]: Leaving directory `/usr/local/src/vpopmail-5.4.33'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/vpopmail-5.4.33'
gmake: *** [all] Error 2



Reply via email to