On Tue, 5 Oct 2004, Alasdair Allan wrote:
> Ah! No, my bad! I really should have been getting this error,
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /work/starlink/java/lib/i386/libKAPPA.so: /lib/libc.so.6: version
> `GLIBC_2.3' not found (required by /work/starlink/java/lib/i386/libjniast.so)
You still running RH7.3?
> I'd mucked up the build for jniKAPPA. However, I can't seem to get jniast
> to do a build-native,
>
> execute_mk_script:
> [mkdir] Created dir: /work/starlink/java/source/jniast/build/lib/i386
> [echo] java.home=/software/development/java/jdk-1.4.1_02/jre
> [exec] mk: Environment variables defined for ix86_Linux system
> [exec] make -e shared
> [exec] gcc -I. -I/stardev/local/include -I/software/development/java/jdk-1.4.1_02/jre/../include -I/software/development/java/jdk-1.4.1_02/jre/../include/linux -I/stardev/include -O -c jniast.c
> [exec] In file included from jniast.c:32:
> [exec] jniast.h:53: parse error before `AstDSBSpecFrame'
AstDSBSpecFrame, is quite new so it looks like your version of AST is out
of date. Point this build at your CVS installation (use the stardev.add
property), or try updating /stardev (expect David put AST with these DSB
enhancements into /classic, but that's a guess, however if you're running
7.3 that will not help).
> [exec] jniast.h:53: warning: no semicolon at end of struct or union
> [exec] jniast.h:73: parse error before `}'
> [exec] jniast.h:73: warning: data definition has no type or storage class
> [exec] jniast.h:96: parse error before `jniastGetPointerField'
> [exec] jniast.h:96: warning: data definition has no type or storage class
> [exec] jniast.h:97: parse error before `AstPointer'
> [exec] jniast.c:206: parse error before `jniastGetPointerField'
> [exec] jniast.c: In function `jniastGetPointerField':
> [exec] jniast.c:224: parse error before `pointer'
> [exec] jniast.c:225: `pointer' undeclared (first use in this function)
> [exec] jniast.c:225: (Each undeclared identifier is reported only once
> [exec] jniast.c:225: for each function it appears in.)
> [exec] jniast.c: At top level:
> [exec] jniast.c:232: parse error before `AstPointer'
> [exec] jniast.c: In function `jniastSetPointerField':
> [exec] jniast.c:257: parse error before `old'
> [exec] jniast.c:258: `env' undeclared (first use in this function)
> [exec] jniast.c:259: `old' undeclared (first use in this function)
> [exec] jniast.c:259: `object' undeclared (first use in this function)
> [exec] jniast.c:272: `pointer' undeclared (first use in this function)
> [exec] jniast.c: In function `jniastMakeObject':
> [exec] jniast.c:315: parse error before `pointer'
> [exec] jniast.c:365: `pointer' undeclared (first use in this function)
> [exec] make: *** [jniast.o] Error 1
Peter.
|