Comment 3 for bug 239765

Revision history for this message
Sveinung Kvilhaugsvik (kvilhaugsvik) wrote :

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.