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'"
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.
Trying to build this file with make gives an error message like " ..Too many rules ."
Any suggestions ?
Regards.
-Ulhas