ERRORS: rpm.spec

Elan Ruusamäe glen at pld-linux.org
Tue Jan 10 17:35:11 CET 2017


On 10.01.2017 18:28, Jeffrey Johnson wrote:
> Add —without-java to configure will disable no matter what the default is.

./rpmio/Makefile.am compiles rpmjni.cc with no conditions. at least 5.4.15

and seems the gcc error is outside of WITH_JNIEMBED cpp defines.

and --without-java seems to be already active:

./config.h:1369:/* #undef WITH_JNIEMBED */

skipping rpmjni.cc from makefile of course yields linking error:
./.libs/librpmio.so: undefined reference to `_rpmjniI'
./.libs/librpmio.so: undefined reference to `_rpmjniPool'
collect2: error: ld returned 1 exit status


-- 
glen



More information about the pld-devel-en mailing list