compilation error: Undefined reference to strncmpW

Peter Lemenkov petro at mail.ru
Mon Jan 16 04:55:58 CST 2006


Hello, All!

=============================

../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./shlwapi.spec 
assoc.o clist.o istream.o msgbox.o ordinal.o path.o reg.o regstream.o 
shlwapi_main.o stopwatch.o string.o thread.o url.o wsprintf.o  shlwapi.res 
-o shlwapi.dll.so -L../../dlls -L../../dlls/oleaut32 -L../../dlls/ole32 
-L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 
-L../../dlls/kernel32 -L../../dlls/ntdll -loleaut32 -lole32 -luser32 
-lgdi32 -ladvapi32 -lkernel32 -lntdll -Wb,-doleaut32 -L../../libs/wine 
-lwine -luuid -L../../libs/unicode -lwine_unicode -L../../libs/port 
-lwine_port
string.o: In function 
`StrStrW':/home/petro/work/projects/wine/dlls/shlwapi/string.c:531: 
undefined reference to `strncmpW'
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [shlwapi.dll.so] Error 2
make[2]: Leaving directory `/home/petro/work/projects/wine/dlls/shlwapi'
make[1]: *** [shlwapi] Error 2
make[1]: Leaving directory `/home/petro/work/projects/wine/dlls'
make: *** [dlls] Error 2
[petro at Petro wine]$

============================

-- 
With best regards, Peter Lemenkov.





More information about the wine-devel mailing list