ld: fatal: file .libs/libglib-2.0.exp: unknown file type

Laviticus Stone laviticus@tptp.cc
Thu Dec 2 00:34:00 GMT 2010


On 12/ 1/10 07:29 PM, Jonathan Wakely wrote:
> On 2 December 2010 00:10, Laviticus Stone wrote:
>> On 12/ 1/10 06:34 PM, Jonathan Wakely wrote:
>>
>> On 1 December 2010 23:20, Laviticus Stone<laviticus@tptp.cc>  wrote:
>>
>> -Wl,-retain-symbols-file -Wl,.libs/libglib-2.0.exp -o
>>
>> Should that be -Wl,--retain-symbols-file with two dashes not one?
>>
>> Maybe even -Wl,--retain-symbols-file=.libs/libglib-2.0.exp ?
>>
>> Also I read this on google:
>>
>> Jan 31, 2003 ... Presently, if you specify an -export-symbols file, libtool
>> converts it into a -Wl,-retain-symbols-file argument to $CC.
>> This is libtool creating this line.
>
> ok, sorry for the noise

i'm stumped here. the command seems to be correct, although, why the 
file type is unknown is beyond me. it's just a flat ascii file with 
symbols in it.

njm



More information about the Gcc-help mailing list