1.6.2-notls perl module not compiling on Centos

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

1.6.2-notls perl module not compiling on Centos

erik pepermans
Bericht
Hi,
 
When compiling the perl module on version 1.6.2-notls on Centos :
 
make prefix=/ all
 
I receive :
 
...
make[1]: Entering directory `/usr/src/opensips-1.6.2-notls/modules/perl'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls    -DNAME='"opensips"' -DVERSION='"1.6.2-notls"' -DARCH='"x86_64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes -DCFG_DIR='"//etc/opensips/"' -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 -Wno-unused -Wno-redundant-decls  -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -c -o opensipsxs.o opensipsxs.c
opensipsxs.c: In function âboot_OpenSIPSâ:
opensipsxs.c:2062: error: âPL_unitcheckavâ undeclared (first use in this function)
opensipsxs.c:2062: error: (Each undeclared identifier is reported only once
opensipsxs.c:2062: error: for each function it appears in.)
make[1]: Leaving directory `/usr/src/opensips-1.6.2-notls/modules/perl'
make: *** [modules] Error 2
Brgds
Erik
 

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: 1.6.2-notls perl module not compiling on Centos

Alan Frisch
1.6.2-tls compiles fine on my CentOS 5.3 Box.

On Thu, Mar 11, 2010 at 4:14 PM, erik pepermans <[hidden email]> wrote:

> Hi,
>
> When compiling the perl module on version 1.6.2-notls on Centos :
>
> make prefix=/ all
>
> I receive :
>
> ...
> make[1]: Entering directory `/usr/src/opensips-1.6.2-notls/modules/perl'
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona
> -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
> -DNAME='"opensips"' -DVERSION='"1.6.2-notls"' -DARCH='"x86_64"'
> -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_x86_64 -D__OS_linux
> -D__SMP_yes -DCFG_DIR='"//etc/opensips/"' -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 -Wno-unused -Wno-redundant-decls  -D_REENTRANT
> -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm
> -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -c -o opensipsxs.o
> opensipsxs.c
> opensipsxs.c: In function âboot_OpenSIPSâ:
> opensipsxs.c:2062: error: âPL_unitcheckavâ undeclared (first use in this
> function)
> opensipsxs.c:2062: error: (Each undeclared identifier is reported only once
> opensipsxs.c:2062: error: for each function it appears in.)
> make[1]: Leaving directory `/usr/src/opensips-1.6.2-notls/modules/perl'
> make: *** [modules] Error 2
> Brgds
> Erik
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: 1.6.2-notls perl module not compiling on Centos

erik pepermans
Yes, it works for me now as well, after having done 'make clean'

Thanks
Erik

-----Oorspronkelijk bericht-----
Van: [hidden email]
[mailto:[hidden email]] Namens Alan Frisch
Verzonden: vrijdag 12 maart 2010 11:05
Aan: OpenSIPS users mailling list
Onderwerp: Re: [OpenSIPS-Users] 1.6.2-notls perl module not compiling on
Centos


1.6.2-tls compiles fine on my CentOS 5.3 Box.

On Thu, Mar 11, 2010 at 4:14 PM, erik pepermans <[hidden email]> wrote:

> Hi,
>
> When compiling the perl module on version 1.6.2-notls on Centos :
>
> make prefix=/ all
>
> I receive :
>
> ...
> make[1]: Entering directory
> `/usr/src/opensips-1.6.2-notls/modules/perl'
> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona
> -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
> -DNAME='"opensips"' -DVERSION='"1.6.2-notls"' -DARCH='"x86_64"'
> -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_x86_64 -D__OS_linux
> -D__SMP_yes -DCFG_DIR='"//etc/opensips/"' -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 -Wno-unused -Wno-redundant-decls 
-D_REENTRANT
> -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm
> -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE  -c -o
opensipsxs.o
> opensipsxs.c
> opensipsxs.c: In function âboot_OpenSIPSâ:
> opensipsxs.c:2062: error: âPL_unitcheckavâ undeclared (first use in this
> function)
> opensipsxs.c:2062: error: (Each undeclared identifier is reported only
once

> opensipsxs.c:2062: error: for each function it appears in.)
> make[1]: Leaving directory `/usr/src/opensips-1.6.2-notls/modules/perl'
> make: *** [modules] Error 2
> Brgds
> Erik
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean. _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users