[Pkg-db-devel] Bug#430043: Bug#430043: db4.5: FTBFS with gcc-4.2: Cannot find jni.h

Clint Adams schizo at debian.org
Thu Jun 21 23:10:02 UTC 2007


On Thu, Jun 21, 2007 at 06:26:51PM -0400, Daniel Schepler wrote:
> ...
> /bin/sh ./libtool --mode=compile gcc -c -I. -I../dist/.. -I/usr/include/tcl8.4 -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2  -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c
>  gcc -c -I. -I../dist/.. -I/usr/include/tcl8.4 -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2 -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c  -fPIC -DPIC -o .libs/db_java_wrap.o
> ../dist/../libdb_java/db_java_wrap.c:123:17: error: jni.h: No such file or directory
> ../dist/../libdb_java/db_java_wrap.c:147: error: expected ')' before '*' token
> ../dist/../libdb_java/db_java_wrap.c:196: error: expected ')' before '*' token
> ...
> ../dist/../libdb_java/db_java_wrap.c:9582: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
> make[1]: *** [db_java_wrap.lo] Error 1
> make[1]: Leaving directory `/tmp/buildd/db4.5-4.5.20/obj'
> make: *** [build] Error 2
> 
> All the other db4.* packages use -I/usr/lib/jvm/java-gcj/include, and they
> compile fine in the same chroot.

Wanna test and send a patch?




More information about the Pkg-db-devel mailing list