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!
I am unable to find out the exact cause of error.
So Please take a look on it and help me to fix it.
Thanks in Advance...