Gentoo Archives: gentoo-user

From: Willie Wong <wwong@×××××××××.EDU>
To: gentoo-user@l.g.o
Subject: [gentoo-user] missing (not really) jni.h
Date: Wed, 20 Aug 2008 14:55:47
Message-Id: 20080820145716.GA10706@princeton.edu
1 Hi list:
2
3 python-updater wants to rebuild beecrypt.
4 dev-libs/beecrypt-4.1.2-r1 fails to compile with a bunch of errors
5 related to javaglue.h and javaglue.c, I think I traced the error
6 back to where it appears in the log
7
8 -----snip log------------
9 mkdir .libs
10 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../.. -D_LARGEFILE_SOURCE -D_F
11 ILE_OFFSET_BITS=64 -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE -DOPTIMIZE_SSE2
12 -march=pentium4 -O2 -pipe -DNDEBUG -fomit-frame-pointer -Wa,--noexecstack -c ja
13 vaglue.c -fPIC -DPIC -o .libs/javaglue.o
14 In file included from javaglue.c:21:
15 javaglue.h:2:17: jni.h: No such file or directory
16 In file included from javaglue.c:21:
17 javaglue.h:42: error: syntax error before "jlong"
18 javaglue.h:43: error: syntax error before '*' token
19 javaglue.h:43: warning: data definition has no type or storage class
20 javaglue.h:50: error: syntax error before "jlong"
21 javaglue.h:51: error: syntax error before '*' token
22 javaglue.h:51: warning: data definition has no type or storage class
23 javaglue.h:58: error: syntax error before "jlong"
24 javaglue.h:59: error: syntax error before '*' token
25 javaglue.h:59: warning: data definition has no type or storage class
26 javaglue.h:66: error: syntax error before "void"
27 javaglue.h:67: error: syntax error before '*' token
28 javaglue.h:67: warning: data definition has no type or storage class
29 javaglue.h:74: error: syntax error before "void"
30 -----unsnip log------------
31
32 but jni.h does appear on the system at
33 /opt/sun-jdk-1.5.0.16/include/jni.h
34
35 Thoughts?
36
37 Willie
38 --
39 "So what you have here is a highly nonlinear system of partial differential
40 equations in two variables. But, if you sub in 0 for both angles you can prove
41 conclusively that two attached rods will, in fact, hang."
42 ~DeathMech, S. Sondhi. P-town PHY 205
43 Sortir en Pantoufles: up 621 days, 13:29