[Openvas-discuss] ids_send.c:670: error: structure has no member named `s6_addr32'

Felix Wolfsteller felix.wolfsteller at intevation.de
Tue Jun 15 18:43:32 CEST 2010


I remember doing something like
#define	s6_addr32	_S6_un._S6_u32

I am pretty sure that you will have to adjust the code in other places, too.
Please confirm and share other insights/patches regarding compilation  
on Solaris.

hth.

-- felix


Quoting Hans MAYER <mayer at iiasa.ac.at>:

>
> Dear all,
>
> I tried to compile openvas-libraries-3.0.5 on Solaris 5.10 with gcc  
> version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
>
> The ./configure step is fine, but when I try to compile I run into  
> an error, see below
> Any ideas what I can do ?
>
> Kind regards
> Hans
>
>
>
> gmake[3]: Entering directory  
> `/opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc'
> /usr/local/bin/cmake -E cmake_progress_report  
> /opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc/CMakeFiles  
> 7
> [  1%] Building C object CMakeFiles/openvas_misc_shared.dir/ids_send.c.o
> /usr/sfw/bin/gcc  -pipe -Dopenvas_misc_shared_EXPORTS -Wall -fPIC -g  
> -Wall -fPIC -fPIC  
> -I/opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc/../include -I/opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc/../base   -DOPENVAS_USERS_DIR=\"/usr/local/var/lib/openvas/users/\" -DOPENVAS_STATE_DIR=\"/usr/local/var/lib/openvas\" -DONF_DIR=\"/usr/local/etc/openvas\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -o CMakeFiles/openvas_misc_shared.dir/ids_send.c.o   -c  
> /opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc/ids_send.c
> /opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc/ids_send.c: In function  
> `ids_open_sock_tcp':
> /opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc/ids_send.c:670: error: structure has no member named  
> `s6_addr32'
> gmake[3]: *** [CMakeFiles/openvas_misc_shared.dir/ids_send.c.o] Error 1
> gmake[3]: Leaving directory  
> `/opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc'
> gmake[2]: *** [CMakeFiles/openvas_misc_shared.dir/all] Error 2
> gmake[2]: Leaving directory  
> `/opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory  
> `/opt/usr/mayer/src/sol10_sparc/openvas_305/openvas-libraries-3.0.5/misc'
> gmake: *** [all] Error 2
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the Openvas-discuss mailing list