Re: [Jaffer-devel] jaffer and Solaris
Status: Alpha
Brought to you by:
mrallen
From: Stewart A. <st...@ne...> - 2003-02-21 22:18:37
|
AFAIK, you're the first to try. If you get it working, I'm more than happy to roll in the changes. While this is a simple change, it's easier for me if you can provide context diffs. Is 'SunOS' the string returned for the system property 'os.name'?? This is used by the library loader (with spaces stripped). For example, OS X returns 'Mac OS X' which is turned into 'MacOSX' and then loaded as 'libMacOSX.so" stewart Aslak Raanes wrote: > Hello, > > Has anyone managed to build the jaffer C-library for Solaris? > > I changed Makefile and OS_Server.c to: > ... > (I hope it is ok to send the file. The diff would be become nearly the > same size anyway) > > # /store/gnu/bin/make lib-SunOS > mkdir -p obj/lib > gcc -shared -o obj/lib/libSunOS.so src/lib/OS_Server.c -Isrc/lib \ > -I/usr/java/include \ > -I/usr/java/include\solaris \ > gcc: : No such file or directory > In file included from src/lib/OS_Server.h:2, > from src/lib/OS_Server.c:1: > /usr/java/include/jni.h:27: jni_md.h: No such file or directory > In file included from src/lib/OS_Server.c:12: > /usr/include/shadow.h:18: warning: `SHADOW' redefined > src/lib/OS_Server.c:11: warning: this is the location of the previous > definition > make: *** [lib-SunOS] Error 1 > |