GCC 3.3 MingW Crossed-Native Build Fails on fastjar
Ranjit Mathew
rmathew@hotmail.com
Sat Feb 15 01:24:00 GMT 2003
> The build fails on fastjar with the following unresolved symbols:
>> jartool.o(.text+0x12ed):jartool.c: undefined reference to `opendir'
> jartool.o(.text+0x14b0):jartool.c: undefined reference to `readdir'
> jartool.o(.text+0x153a):jartool.c: undefined reference to `closedir'
These are defined in the MinGW extra library libmingwex.a - you need
to add -lmingwex to $LIBS in fastjar's configure script when it detects
MinGW. If you have my GCJ 3.2 patches handy, just look for the part
where it says "$LIBS = $LIBS -lregex -lmingwex" and "extrapolate" it
to your current snapshot. (You don't need -lregex now.)
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore,
INDIA. Web: http://ranjitmathew.tripod.com/
More information about the Java
mailing list