Shridhar,

I do not have any Solaris 10 machines.  Any chance you could get me
access to one to resolve the Solaris issues in trunk?

Regards
-steve


On Mon, 2008-03-03 at 16:35 +0530, Shridhar Sahukar wrote:
> Hello Steve,
> 
> I was trying to run openais-0.82 (Trunk) on Solaris 10 and I came
> across many issues in Makefiles and also in code base.
> 
> I removed some of the options in Makefile and also did other
> modifications and was able to get the compilation go through for lib,
> lcr and other directories.
> 
> While compiling in exec directory, I am getting following error
> message. It appears that the logsys.c file has been renamedh to
> print.c in whitetank and also there are many modifications to it.
> 
> Here I am finding that the symbols are not being defined anywhere. I
> did a grep and could not find the symbol definitions anywhere. Also I
> am getting other warning messages also. Please find the errors and
> warning below. I am also attaching the diff file so that you can look
> at the makefile changes I have made.
> 
> Please look into this and let me know how to go about it.
> 
> Regards,
> Shridhar
> 
> 
> Compile warnings/errors:
> 
> gcc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_SOLARIS -D_REENTRANT
> -DHAVE_GETPEERUCRED -DHAVE_SCANDIR -DHAVE_ALPHASORT -I../include -fPIC
> -fPIC -c -o totemsrp.o totemsrp.c
> totemsrp.c: In function `token_retransmit':
> totemsrp.c:2448: warning: assignment from incompatible pointer type
> totemsrp.c: In function `token_send':
> totemsrp.c:2534: warning: assignment from incompatible pointer type
> totemsrp.c: In function `token_hold_cancel_send':
> totemsrp.c:2565: warning: assignment from incompatible pointer type
> totemsrp.c:2568: warning: assignment from incompatible pointer type
> totemsrp.c: In function `memb_state_commit_token_send':
> totemsrp.c:2677: warning: assignment from incompatible pointer type
> totemsrp.c: In function `memb_join_message_send':
> totemsrp.c:2795: warning: assignment from incompatible pointer type
> totemsrp.c:2797: warning: assignment from incompatible pointer type
> totemsrp.c:2804: warning: assignment from incompatible pointer type
> totemsrp.c: In function `memb_merge_detect_transmit':
> totemsrp.c:2831: warning: assignment from incompatible pointer type
> totemsrp.c:2834: warning: assignment from incompatible pointer type
> totemsrp.c: In function `messages_deliver_to_app':
> totemsrp.c:3469: warning: assignment from incompatible pointer type
> totemsrp.c: In function `message_handler_memb_join':
> totemsrp.c:3908: warning: implicit declaration of function `alloca'
> gcc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_SOLARIS -D_REENTRANT
> -DHAVE_GETPEERUCRED -DHAVE_SCANDIR -DHAVE_ALPHASORT -I../include -fPIC
> -fPIC -c -o totemmrp.o totemmrp.c
> gcc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_SOLARIS -D_REENTRANT
> -DHAVE_GETPEERUCRED -DHAVE_SCANDIR -DHAVE_ALPHASORT -I../include -fPIC
> -fPIC -c -o totempg.o totempg.c
> gcc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_SOLARIS -D_REENTRANT
> -DHAVE_GETPEERUCRED -DHAVE_SCANDIR -DHAVE_ALPHASORT -I../include -fPIC
> -fPIC -c -o crypto.o crypto.c
> gcc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_SOLARIS -D_REENTRANT
> -DHAVE_GETPEERUCRED -DHAVE_SCANDIR -DHAVE_ALPHASORT -I../include -fPIC
> -fPIC -c -o wthread.o wthread.c
> ar -rc libtotem_pg.a aispoll.o totemip.o totemnet.o totemrrp.o
> totemsrp.o totemmrp.o totempg.o crypto.o wthread.o
> gcc   -lpthread -Wl  -lnsl -lsocket -lrt -shared -Wl aispoll.o
> totemip.o totemnet.o totemrrp.o totemsrp.o totemmrp.o totempg.o
> crypto.o wthread.o -o libtotem_pg.so.2.0.0
> gcc  -O3 -Wall -fomit-frame-pointer -DOPENAIS_SOLARIS -D_REENTRANT
> -DHAVE_GETPEERUCRED -DHAVE_SCANDIR -DHAVE_ALPHASORT -I../include -fPIC
> -c -o logsys.o logsys.c
> logsys.c: In function `logsys_facility_id_get':
> logsys.c:135: error: `facilitynames' undeclared (first use in this
> function)
> logsys.c:135: error: (Each undeclared identifier is reported only once
> logsys.c:135: error: for each function it appears in.)
> logsys.c: In function `logsys_priority_id_get':
> logsys.c:147: error: `prioritynames' undeclared (first use in this
> function)
> logsys.c: In function `logsys_priority_name_get':
> logsys.c:159: error: `prioritynames' undeclared (first use in this
> function)
> gmake[1]: *** [logsys.o] Error 1
> gmake[1]: Leaving directory `/ssahukar/openais-0.82/exec'
> gmake: *** [all] Error 2
> 
> 

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to