On Thu, 18 Oct 2001, Ulhas Samant wrote:
> We could build the GGI on Solaris
> However we get the following errors while building GGI demos.
> " 
>  cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include 
>-I/usr1/ulhas/GGILIBS/libgii-0.8.1/include  -I/usr1/ulha
> s/GGILIBS/libgii-0.8.1/include  -I/usr1/ulhas/GGILIBS/libgii-0.8.1/include  -g 
>-I/usr1/ulhas/GGILIBS/libgii
> -0.8.1/include -D_REENTRANT -D_THREAD_SAFE -c wrap.c
> "wrap.c", line 59: undefined symbol: socklen_t
> "wrap.c", line 59: syntax error before or at: len
> "wrap.c", line 75: warning: argument #2 is incompatible with prototype:
>         prototype: pointer to struct sockaddr {ushort sa_family, array[14] of char 
>sa_data} : "/usr/include
> /sys/socket.h", line 295
>         argument : pointer to const struct sockaddr {ushort sa_family, array[14] of 
>char sa_data}
> "wrap.c", line 83: undefined symbol: bufsize
> "wrap.c", line 91: undefined symbol: text
> "wrap.c", line 91: warning: improper pointer/integer combination: arg #1
> "wrap.c", line 93: warning: improper pointer/integer combination: arg #1
> "wrap.c", line 105: warning: improper pointer/integer combination: arg #1
> "wrap.c", line 107: warning: improper pointer/integer combination: arg #1
> "wrap.c", line 119: undefined symbol: len
> "wrap.c", line 126: cannot recover from previous errors
> cc: acomp failed for wrap.c
> *** Error code 2
> make: Fatal error: Command failed for target `wrap.o'
> Current working directory /usr1/ulhas/GGILIBS/libggi-2.0.1/programs/demos
> *** Error code 1
> make: Fatal error: Command failed for target `install-recursive'
> Current working directory /usr1/ulhas/GGILIBS/libggi-2.0.1/programs/demos
> *** Error code 1
> make: Fatal error: Command failed for target `install-recursive'
> Current working directory /usr1/ulhas/GGILIBS/libggi-2.0.1/programs
> *** Error code 1
> make: Fatal error: Command failed for target `install-recursive'"

There are apparently differences in Solaris's network libraries.  If
you cannot figure out what includes/libs to put into the Makefile.am/autoconf
to detect this, then I'd disable building that demo entirely. 
(Note whenever a Makefile.am is edited, ./autogen must be run and
the source tree must be reconfigured/rebuilt.

> We also tried to run the utilities like monitest
> $ ./monitest
> LibGGI: couldn't open /usr/local/etc/ggi/libggi.conf.
> unable to initialize LibGGI, exiting.

Because The demos stopped the install, this file was not installed.
Take the libggi.conf file from the GGI source and copy it into
/usr/local/etc/ggi/ by hand, then try the demos again (I would
recommend programs/demos/stars to try first.)

--
Brian

Reply via email to