Hi all,

I am working with opensolaris and I am trying create a shared native library 
via using make but I am getting the following error--

make -f /Makefile.SunOS debug
javah -jni SerialPort
javah -jni SerialInputStream
javah -jni SerialOutputStream
gcc -mno-app-regs -DSUN -DPOSIX_DEV_LOCK -I/usr/java/include  
-I/usr/java/include/solaris -I/test/as232/Bs232 -I. -g -DENABLE_CC_SHTDN  -c 
/test/as232/Bs232/lib232so.c
cc1: error: invalid option `no-app-regs'
*** Error code 1
make: Fatal error: Command failed for target `lib232so.o'

ERROR: Buildrs232lib failed!

As I check the gcc option "mno-app-regs" and found out it is specific with 
solaris sparc option.So could you please tell me the appropriate option for 
opensolaris.

Thanks in Advance...
-- 
This message posted from opensolaris.org

Reply via email to