[Devel] compiler errors in CVS head in tlsops module
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jun 7 15:44:28 CEST 2006
Ron,
I did some digging on the openssl cvs - the `iPAddress' member was added
in December 2000...Do you have an older version ????
regards,
bogdan
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
>>
>>
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list