4 Nov 2003 01:10
java-fam-0.1 problem
Wolfgang Hoschek <whoschek <at> lbl.gov>
2003-11-04 00:10:39 GMT
2003-11-04 00:10:39 GMT
Hi,
I just tried to build java-fam-0.1 on redhat-9.0 (which ships with fam).
Seems to work (see attached out file [had to add "include/linux" to get
it to work]). Upon running it, i get the following:
[doggy /tmp/tmp2/java-fam-0.1] ./run-example.sh .
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/tmp/tmp2/java-fam-0.1/src/c/libjavafam.so:
/tmp/tmp2/java-fam-0.1/src/c/libjavafam.so: undefined symbol: FAMOpen2
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.arosii.io.fam.FAM.<clinit>(FAM.java:94)
at DirectoryMonitor.start(DirectoryMonitor.java:61)
at DirectoryMonitor.main(DirectoryMonitor.java:118)
I tried this against the fam included in RH9.0 and fam-2.6.10, both to
no avail. Not being a great C/C++ wizard, I'd be thankful for any advice...
Wolfgang.
Buildfile: build.xml prepare-build: build-javac:(Continue reading)
RSS Feed