Web lists-archives.org

Re: [Mingw-users] Linker error while compiling coin3d




JonY wrote:
> John Pye wrote:
>   
>> Hi all
>>
>> Was wondering if this is a known problem. I downloaded and unpacked an 
>> (unmodified) copy of the Coin 2.5.0 tarball from http://www.coin3d.org 
>> and ran the following commands:
>>
>> ./configure --prefix=/c/PROGRA~1/Coin-2.5.0
>> make
>>
>> and I got a 'internal error, aborting' from the linker (see below).
>>
>> This is with ld 2.16.91 20060119. I recently installed the gcc 
>> 4.2.1-sjlj packages on the same system, so I wonder if this problem 
>> could have arisen from that, or whether, alternatively, I have found a 
>> genuine bug in the MinGW linker?
>>
>> Cheers
>> JP
>>
>>
>> c:\MinGW\mingw32\bin\ld.exe: BFD 2.16.91 20060119 internal error, 
>> aborting at ../../src/bfd/coffcode.h line 842 in handle_COMDAT
>>
>> c:\MinGW\mingw32\bin\ld.exe: Please report this bug.
>>
>> make[3]: *** [libCoin.la] Error 1
>> make[3]: Leaving directory `/home/john/Coin-2.5.0/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/john/Coin-2.5.0/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/john/Coin-2.5.0'
>> make: *** [all] Error 2
>>
>> john@SQUEAK2 ~/Coin-2.5.0
>> $ ld -v
>> GNU ld version 2.16.91 20060119
>>
>>     
>
> Hi,
> have you tried using the newer binutils? version 2.16 is very old, do 
> update it. The newer binutils-2.18.50-20080109 can be found on MinGW's 
> Sourceforge files download area.
>   
Hi JonY

Strangely, I tried again and it worked. Not sure what happenend here, 
but I'm happy, anyway. Possibly installing Qt (open source) may have 
changed my configuration.

Anyway, FWIW I now have binaries of Coin3D and SoQt that can be used 
with MinGW (GCC 3.4.5) at the following location, perhaps they may be of 
use to someone.
http://ascendwiki.cheme.cmu.edu/Binary_installers_for_Coin3d_and_SoQt_on_MinGW

Cheers
JP


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

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