Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HDF4 Compilation Error
libtool: link: gcc -Os -fomit-frame-pointer -O3 -fomit-frame-pointer -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -o ctest0 ctest0.o -Wl,--as-needed -Wl,-O1 -Wl,--sort-common /home/edd/dev/aports/community/hdf4/src/hdf-4.2.15/mfhdf/xdr/.libs/libxdr.a ../../mfhdf/libsrc/.libs/libmfhdf.a ../../hdf/src/.libs/libdf.a -ljpeg -lz
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(array.o): in function `xdr_NC_array':
array.c:(.text+0xabd): undefined reference to `xdr_enum'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xada): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xbc3): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xc83): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xd2b): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xd3b): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_numrecs':
cdf.c:(.text+0x39f3): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_cdf':
cdf.c:(.text+0x3b0e): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_NC_fill':
cdf.c:(.text+0x4423): undefined reference to `xdr_bytes'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cdf.c:(.text+0x449b): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cdf.c:(.text+0x44ab): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cdf.c:(.text+0x44c3): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_numrecs':
cdf.c:(.text+0x3a27): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(dim.o): in function `xdr_NC_dim':
dim.c:(.text+0x7d1): undefined reference to `xdr_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(string.o): in function `xdr_NC_string':
string.c:(.text+0x434): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x476): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x48b): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x504): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x524): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(var.o): in function `xdr_NC_var':
var.c:(.text+0xdb4): undefined reference to `xdr_enum'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: var.c:(.text+0xdce): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: var.c:(.text+0xe09): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCvbyte':
putget.c:(.text+0x314): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x39b): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x3ec): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCvshort':
putget.c:(.text+0x490): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x526): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o):putget.c:(.text+0x58c): more undefined references to `xdr_opaque' follow
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCvdata':
putget.c:(.text+0x7db): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x823): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x833): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x859): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCv1data':
putget.c:(.text+0x6a1): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x6b9): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x6d1): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(sharray.o): in function `NCxdr_shortsb':
sharray.c:(.text+0x435): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(sharray.o): in function `NCxdr_shortsb.constprop.0':
sharray.c:(.text+0x9df): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(iarray.o): in function `xdr_NC_iarray':
iarray.c:(.text+0x135): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: iarray.c:(.text+0x15b): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: iarray.c:(.text+0x1a4): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: iarray.c:(.text+0x1f3): undefined reference to `xdr_int'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1215: ftest0] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_numrecs':
cdf.c:(.text+0x39f3): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_cdf':
cdf.c:(.text+0x3b0e): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_NC_fill':
cdf.c:(.text+0x4423): undefined reference to `xdr_bytes'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cdf.c:(.text+0x449b): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cdf.c:(.text+0x44ab): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: cdf.c:(.text+0x44c3): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(cdf.o): in function `xdr_numrecs':
cdf.c:(.text+0x3a27): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(dim.o): in function `xdr_NC_dim':
dim.c:(.text+0x7d1): undefined reference to `xdr_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(string.o): in function `xdr_NC_string':
string.c:(.text+0x434): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x476): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x48b): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x504): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: string.c:(.text+0x524): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(var.o): in function `xdr_NC_var':
var.c:(.text+0xdb4): undefined reference to `xdr_enum'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: var.c:(.text+0xdce): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: var.c:(.text+0xe09): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(array.o): in function `xdr_NC_array':
array.c:(.text+0xabd): undefined reference to `xdr_enum'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xada): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xbc3): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xc83): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xd2b): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: array.c:(.text+0xd3b): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCvbyte':
putget.c:(.text+0x314): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x39b): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x3ec): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCvshort':
putget.c:(.text+0x490): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x526): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o):putget.c:(.text+0x58c): more undefined references to `xdr_opaque' follow
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCvdata':
putget.c:(.text+0x7db): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x823): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x833): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x859): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(putget.o): in function `xdr_NCv1data':
putget.c:(.text+0x6a1): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x6b9): undefined reference to `xdr_float'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: putget.c:(.text+0x6d1): undefined reference to `xdr_double'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(sharray.o): in function `NCxdr_shortsb':
sharray.c:(.text+0x435): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(sharray.o): in function `NCxdr_shortsb.constprop.0':
sharray.c:(.text+0x9df): undefined reference to `xdr_opaque'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../../mfhdf/libsrc/.libs/libmfhdf.a(iarray.o): in function `xdr_NC_iarray':
iarray.c:(.text+0x135): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: iarray.c:(.text+0x15b): undefined reference to `xdr_int'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: iarray.c:(.text+0x1a4): undefined reference to `xdr_u_long'
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: iarray.c:(.text+0x1f3): undefined reference to `xdr_int'
collect2: error: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment