GCC 3.3 MingW Crossed-Native Build Fails on fastjar

Ranjit Mathew rmathew@hotmail.com
Sun Feb 16 02:51: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.)

BTW, if you're using 3.3/3.4, this should no longer be necessary for
MinGW as the GCC specs file itself adds -lmingwex. You *are* using the
3.3 cross-compiler to build the crossed native compiler, right?
Ranjit.
-- 
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, 
INDIA. Web: http://ranjitmathew.tripod.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /