[Serusers] Compile Problems

Darren Nay dnay at libertyisp.com
Thu Feb 12 19:51:15 CET 2004


Hey All,

One last question for today.  :)

I've downloaded the latest stable CVS release of 0_8_12.  I've done this in order to get the t_relay_to_tcp functionality (as per my previous email).

However, I am now getting compile errors with the latest version that I did not get with the earlier version.

Error details are below.  Any suggestions?

root:/export/home/dnay/sip_router # make
gcc -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultrasparc      -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c action.c -o action.o
gcc -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultrasparc      -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c crc.c -o crc.o
gcc -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultrasparc      -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c data_lump.c -o data_lump.o
gcc -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultrasparc      -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c data_lump_rpl.c -o data_lump_rpl.o
gcc -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultrasparc      -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.3"' -D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -c dprint.c -o dprint.o
dprint.c:45: error: `LOG_AUTHPRIV' undeclared here (not in a function)
dprint.c:45: error: initializer element is not constant
dprint.c:45: error: (near initialization for `int_fac[1]')
dprint.c:46: error: `LOG_FTP' undeclared here (not in a function)
dprint.c:46: error: initializer element is not constant
dprint.c:46: error: (near initialization for `int_fac[4]')
make: *** [dprint.o] Error 1

Thanks,
Darren Nay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040212/233d2b9e/attachment.htm>


More information about the sr-users mailing list