[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] undefined reference to `_imp__FindAtomA'
From: Frank Hrebabetzky <frank () photonita ! com ! br>
Date: 2009-01-27 21:06:07
Message-ID: 497F773F.9030701 () photonita ! com ! br
[Download RAW message or body]
JonY wrote:
> On 1/28/2009 00:50, Frank Hrebabetzky wrote:
>> gcc -shared -o sx11if.dll sx11if.o -Wl,--out-implib,libsx11if.a \
>> -L/c/WINDOWS/system32 -lSX11
>> Creating library file: libsx11if.a
>>
>> c:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.5/libgcc.a(w32-shared-ptr.o):(.text+0x31):
>> undefined reference to `_imp__GetAtomNameA@12'
>>
>> c:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.5/libgcc.a(w32-shared-ptr.o):(.text+0x159):
>> undefined reference to `_imp__FindAtomA@4'
>>
>> c:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.5/libgcc.a(w32-shared-ptr.o):(.text+0x2b1):
>> undefined reference to `_imp__AddAtomA@4'
>>
>> c:/Programs/MinGW/bin/../lib/gcc/mingw32/3.4.5/libgcc.a(w32-shared-ptr.o):(.text+0x2d2):
>> undefined reference to `_imp__FindAtomA@4'
>
> Hi,
> Are you sure you want "-L/c/WINDOWS/system32"? Try removing that part.
>
I copied SX11.dll from c/WINDOWS/system32 to my project directory and so
I could remove the corresponding -L option. It links without error now.
Thanks.
--
Frank Hrebabetzky Tel. (48) 3239 2258
Photonita Ltda. http://www.photonita.com.br
Brazil
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
_______________________________________________
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.
Most annoying abuses are:
1) Top posting
2) HTML/MIME encoded mail
3) Improper quoting
4) Improper trimming
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic