#4 gmake modules fails on OpenBSD 4.0

Pixel K.

here is the complete log :

$ ./configure
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... i386-unknown-openbsd4.0
checking host system type... i386-unknown-openbsd4.0
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for getopt_long in -lgnugetopt... no
checking for stat... yes
checking for lstat... yes
checking for chmod... yes
checking for open... yes
checking for dlopen... yes
checking for BIO_new in -lcrypto... yes
checking for SSL_shutdown in -lssl... yes
checking for perl... /usr/bin/perl
checking for perl_alloc in -lperl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating znc-config
config.status: creating modules/Makefile
$ gmake all
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o String.o String.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Csocket.o Csocket.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o main.o main.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o znc.o znc.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o User.o User.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o IRCSock.o IRCSock.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Client.o Client.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o DCCBounce.o DCCBounce.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o DCCSock.o DCCSock.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Chan.o Chan.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Nick.o Nick.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Server.o Server.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Modules.o Modules.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o MD5.o MD5.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Buffer.o Buffer.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Utils.o Utils.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o FileUtils.o FileUtils.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o HTTPSock.o HTTPSock.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -c -o Template.o Template.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -Wl,--export-dynamic -o znc String.o Csocket.o main.o znc.o User.o IRCSock.o Client.o DCCBounce.o DCCSock.o Chan.o Nick.o Server.o Modules.o MD5.o Buffer.o Utils.o FileUtils.o HTTPSock.o Template.o -lssl -lcrypto
Utils.o(.text+0x655): In function `CUtils::GetLongIP(CString const&)':
: warning: strcpy() is almost always misused, please use strlcpy()
MD5.o(.text+0xd65): In function `CMD5::MakeHash(char const*, unsigned long)':
: warning: sprintf() is often misused, please use snprintf()
gmake[1]: Entering directory `/home/pk/znc-0.047/modules'
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o autoattach.o autoattach.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o autoop.o autoop.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o away.o away.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o awaynick.o awaynick.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o chansaver.o chansaver.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o crypt.o crypt.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o email.o email.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o imapauth.o imapauth.cpp
g++ -D_GNU_SOURCE -fPIC -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -D_MODDIR_=\"/usr/local/libexec/znc\" -I.. -c -o modperl.o modperl.cpp -DHAVE_PERL `/usr/bin/perl -MExtUtils::Embed -e perl_inc`
modperl.cpp:498: error: syntax error before `__attribute__'
modperl.cpp:500: error: register name not specified for `SV**mark'
modperl.cpp:500: error: `sp' was not declared in this scope
modperl.cpp:501: error: syntax error before `if'
modperl.cpp:1:1: unterminated #ifdef
gmake[1]: *** [modperl.o] Error 1
gmake[1]: Leaving directory `/home/pk/znc-0.047/modules'
gmake: *** [modules] Error 2


  • Psychon

    Psychon - 2007-07-06

    Logged In: YES
    Originator: NO

    problem fixed in the bug report

  • Psychon

    Psychon - 2007-07-06
    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks