> Hi, my name is Junke
> I'm using BEA tuxedo on solaris9, but I am facing the problem as following :
> 
> CC      -c -g -I/export/home/oracle9i/product/9206/precomp/public  
-I/export/home/ocs/bea/tuxedo9.0/include  -ltux -lbuft -lfml32 -lengine 
-lpthread -lnsl simpserv.c
> "simpserv.c", line 38: Warning: String literal converted to char* in formal 
argument 1 in call to userlog(char*, ...).
> 1 Warning(s) detected.
> buildserver -o simpserv -f simpserv.o -s TOUPPER;       
> ld: fatal: file simpserv.o: wrong ELF class: ELFCLASS32
> ld: fatal: File processing errors. No output written to simpserv
> CMDTUX_CAT:1832: ERROR: can't execute cc -xarch=v9 -w  -mt  -I$TUXDIR/include 
                                           ^^^^^^^^^

-o simpserv BS-6a20.c  -L${TUXDIR}/lib simpserv.o  -ltux -lbuft   -lfml -lfml32 
-lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket 
> 
> the server information is :
> SunOS ocssid 5.9 Generic_112233-10 sun4u sparc SUNW,Sun-Fire-V490
> and Tuxedo9.0
> Could you plz let me know how to resolve it?

See above. If you're building a 64bit app, and that's what your linker
command says, -xarch=v9, then you need to compile the simpserv.c source
file with -xarch=v9 as well. You can't link 32bit and 64bit object files
together on Solaris.

Best regards,
FrankH.


> thanks a lot
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org

--------------------------------------------------------------------------
If anything's worth doing, do it with all your heart.   The Buddha
Wheresoever you go, go with all your heart.             Confucius
Whatever you do, do it with all your heart.             St.Paul, Col 3:23
--------------------------------------------------------------------------

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to