[Devel] compiler errors in CVS head in tlsops module
Ron Winacott
ronw at somanetworks.com
Tue Jun 6 22:00:22 CEST 2006
Is anyone else seeing these errors? I did a CVS update (anonymous) and
make clean, followed by make and I get the following errors building
the tlsops module:
make[2]: Entering directory
`/export/ws/ssp-dev/gate/src/packages/openser-1.1/modules/tlsops'
Compiling tls_select.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -m486
-malign-loops=4 -DNAME='"openser"' -DVERSION='"1.1.0-pre2-notls"'
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 2.96"' -D__CPU_i386
-D__OS_linux -D__SMP_no -DCFG_DIR='"/usr/etc/openser/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS
-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_SIGIO_RT -DHAVE_SELECT -c tls_select.c -o
tls_select.o
tls_select.c: In function `tlsops_alt':
tls_select.c:583: union has no member named `iPAddress'
tls_select.c:585: union has no member named `iPAddress'
make[2]: Leaving directory
`/export/ws/ssp-dev/gate/src/packages/openser-1.1/modules/tlsops'
The code lines in question are : (from tls_select.c)
...
case GEN_IPADD:
ip.len = nm->d.iPAddress->length; <- HERE
ip.af = (ip.len == 16) ? AF_INET6 : AF_INET;
memcpy(ip.u.addr, nm->d.iPAddress->data, ip.len); <- HERE
text.s = ip_addr2a(&ip);
...
it is not a big deal, because I am not using this module, but I hate
to see compiler errors (and warnings, but that is another story) and
yes I know I am using an OLD compiler.
Thanks,
ronw
--
Ron Winacott - SOMA Networks, Inc.
+1-416-348-1580
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://openser.org/pipermail/devel/attachments/20060606/f1287bc0/attachment.pgp
More information about the Devel
mailing list