[OpenSER-Devel] Head up: perl module fails to build with perl 5.10

Julien BLACHE jb at jblache.org
Thu Feb 21 19:58:33 CET 2008


Hi,

Heads up for anyone interested in the perl module: it looks like it
doesn't build with perl 5.10.

I haven't looked into it yet, anybody's free to beat me to it.

Build log from OpenSER 1.3.0:

Compiling perl.c
gcc -fPIC -DPIC -Wall -g -O2 -g -Wcast-align -DMOD_NAME='"perl"'    -DNAME='"openser"' -DVERSION='"1.3.0-notls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 4.2.3"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT `perl -MExtUtils::Embed -e ccopts` -c perl.c -o perl.o
perl.c: In function 'mod_init':
perl.c:325: error: 'argc' undeclared (first use in this function)
perl.c:325: error: (Each undeclared identifier is reported only once
perl.c:325: error: for each function it appears in.)
perl.c:325: error: 'argv' undeclared (first use in this function)
make[2]: *** [perl.o] Error 1
make[2]: Leaving directory `/build/niko/openser-1.3.0/modules/perl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/build/niko/openser-1.3.0'
make: *** [build-stamp] Error 2

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the Devel mailing list