[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] MinGW, MSYS and c++/c complier
From:       Ralf Wildenhues <Ralf.Wildenhues () gmx ! de>
Date:       2010-05-28 6:58:19
Message-ID: 20100528065819.GA23161 () gmx ! de
[Download RAW message or body]

Hello Dobrescu,

* Dobrescu Mihai wrote on Wed, May 26, 2010 at 02:54:06PM CEST:
> Due to long build log, I have taken the same issue, but from the
> ilmbase of OpenExr project:
> 
> $ make
[...]
> /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2    -o libHalf.la -rpath \
> /mingw/lib -version-info 6:0:0 -no-undefined half.lo  -lpthread g++ -shared \
> -nostdlib m:/development/installed/msys/1.0/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../dllcrt2.o \
> m:/development/installed/msys/1.0/mingw/bin/../lib/gcc/mingw32/4.4.0/crtbegin.o  \
> .libs/half.o  -lpthread \
> -Lm:/development/installed/msys/1.0/mingw/bin/../lib/gcc/mingw32/4.4.0 \
> -Lm:/development/installed/msys/1.0/mingw/bin/../lib/gcc \
> -Lm:/development/installed/msys/1.0/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/lib \
> -Lm:/development/installed/msys/1.0/mingw/bin/../lib/gcc/mingw32/4.4.0/../../.. \
> /mingw/lib/gcc/mingw32/4.4.0/libstdc++_s.a -lmingw32 -lgcc_s -lgcc -lmoldname \
> -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc_s -lgcc \
> -lmoldname -lmingwex -lmsvcrt \
> m:/development/installed/msys/1.0/mingw/bin/../lib/gcc/mingw32/4.4.0/crtend.o  -o \
> .libs/libHalf-6.dll -Wl,--image-base=0x10000000 \
> -Wl,--out-implib,.libs/libHalf.dll.a Creating library file: .libs/libHalf.dll.a
> .libs/half.o:half.cpp:(.eh_frame+0x11): undefined reference to \
>                 `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> make[2]: *** [libHalf.la] Error 1
> make[2]: Leaving directory \
> `/m/Development/Projects/luminance_hdr/deps/ilmbase/build/Half'

Can you show the output of

../libtool --version

ls -l m:/development/installed/msys/1.0/mingw/{lib,bin}/mingw/lib/gcc/mingw32/4.4.0/libstdc++*


and for any *.la files in that list, show its contents?

This might be a Libtool or a GCC bug, and if it takes more time to
investigate, we might want to move to a more appropriate mailing list
later.

Thanks,
Ralf

------------------------------------------------------------------------------

_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may \
cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic