Undefined references

Robert Lunnon bobl at optushome.com.au
Wed Oct 5 05:50:24 CDT 2005

On Wednesday 05 October 2005 07:27, Robert Lunnon wrote:
> Under solaris I get some undefined references popping up from yesterdays
> cvs (that I'm not used to seeing).
> Undefined                       first referenced
>  symbol                             in file
> GetStartupInfoA                     ../../dlls/libwinecrt0.a(exe_main.o)
> GetModuleHandleA                    ../../dlls/libwinecrt0.a(exe_main.o)
> GetCommandLineA                     ../../dlls/libwinecrt0.a(exe_main.o)
> WinMain                             ../../dlls/libwinecrt0.a(exe_main.o)
> I'm used to seeing main  undefined in libraries (presumably because the
> abblications using the dlls define the symbol), but not this collection. 
> the wine executable fails with
> wine: failed to initialize: ld.so.1: wine: fatal: relocation error:
> file /opt/cfw/wine/lib/wine/ntdll.dll.so: symbol GetCommandLineA:
> referenced symbol not found
> Which seems to suggest it shouldn't be this way. Apparently there is a
> library that isn't being linked properly somewhere.
> Bob

Hmm, wierd, seems those symbols are contained in kernel32.dll.so but the 
dependency isn't declared in the other libraries, and kernel32 is loaded 
after ntdll (or not at all)


More information about the wine-devel mailing list