When LDFLAGS="-Bsymbolic-functions -fpic -shared -lc" \ is added it don't have problem with ld any longer, but gives the error.
cc -g -O2 -fpic -Wall -Os -pedantic -std=c99 -Werror -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -c -o unix-java.o unix-java.c unix-java.c: In function 'Java_cx_ath_matthew_unix_UnixSocket_native_1getPID': unix-java.c:297: error: storage size of 'cr' isn't known cc1: warnings being treated as errors unix-java.c:297: error: unused variable 'cr' unix-java.c: In function 'Java_cx_ath_matthew_unix_UnixSocket_native_1getUID': unix-java.c:318: error: storage size of 'cr' isn't known unix-java.c:318: error: unused variable 'cr' unix-java.c: In function 'Java_cx_ath_matthew_unix_UnixSocket_native_1getGID': unix-java.c:339: error: storage size of 'cr' isn't known unix-java.c:339: error: unused variable 'cr' make[1]: *** [unix-java.o] Error 1 The same modification builds fine in sid. -- libmatthew-java 0.7.1-1 refuse to build https://bugs.launchpad.net/bugs/239765 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs