[Devel] compiler errors in CVS head in tlsops module

Ron Winacott ronw at somanetworks.com
Wed Jun 7 15:53:40 CEST 2006


Hi Bogdan,
	Because we are running OpenSER on an embedded hardware system, with 
an older version of glibc/kernel, the version of openssl is also 
older. (that also explains the OLD compiler I am forced to use at 
this time)

openssl-devel-0.9.6b-8 and openssl-0.9.6b-8 is what we are currently 
using. We are moving to the latest glibc and compiler reall soon now 
so if the problem is the openssl version, it will all go away in a 
matter of weeks as soon as we finish the product development tool 
chain upgrade. 

Thanks for letting me know what the problem is.

ronw


On Wednesday 07 June 2006 09:39, Bogdan-Andrei Iancu wrote:
> Hi Ron,
>
> it's not a compiler problem, but on openssl one - the GENERAL_NAME
> changed in time (members were renamed). What version of the devel
> files you have?
>
> regards,
> bogdan
>
> Ron Winacott wrote:
> >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
> >
> >
> >------------------------------------------------------------------
> >------
> >
> >_______________________________________________
> >Devel mailing list
> >Devel at openser.org
> >http://openser.org/cgi-bin/mailman/listinfo/devel

-- 
Ron Winacott - SOMA Networks, Inc.
Work: 1-416-348-1580 - ronw at somanetworks.com
Home: 1-905-433-8913 - karwin at gmail.com
Cell: 1-905-431-1587
---
The scientists of today think deeply instead of clearly. One must be 
sane to think clearly, but one can think deeply and be quite insane.
 - Nikola Tesla
-------------- 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/20060607/c1ccb12e/attachment.pgp


More information about the Devel mailing list