help with linking needed

Ralf Juengling juenglin at cse.ogi.edu
Thu Nov 20 23:07:09 CST 2003


I have successfully compiled sources of a Windows application, but
when starting up, it tries to locate and link to a windows dll
to access some C library functions:

...
err:module:import_dll No implementation for cw3230.DLL._strlen imported
from L"Z:\\local\\builts\\phaeaco-20031119\\src\\memview\\memview.exe",
setting to 0xdeadbeef
err:module:import_dll No implementation for cw3230.DLL._strncpy imported
from L"Z:\\local\\builts\\phaeaco-20031119\\src\\memview\\memview.exe",
setting to 0xdeadbeef
err:module:import_dll No implementation for cw3230.DLL._strtok imported
from L"Z:\\local\\builts\\phaeaco-20031119\\src\\memview\\memview.exe",
setting to 0xdeadbeef
err:module:import_dll No implementation for cw3230.DLL._tolower imported
from L"Z:\\local\\builts\\phaeaco-20031119\\src\\memview\\memview.exe",
setting to 0xdeadbeef
err:module:import_dll No implementation for cw3230.DLL._toupper imported
from L"Z:\\local\\builts\\phaeaco-20031119\\src\\memview\\memview.exe",
setting to 0xdeadbeef
err:module:LdrInitializeThunk Main exe initialization failed, status
c0000135

First of all: Where does the name "cw3230.DLL" come from -- Wine didn't
install such a dll on my system?
Second, all these functions seem to be C library functions and I want
to link against the library available on my linux system. So I added
'c' to LIBRARIES in the Makefile.in created by winemaker. But this
didn't make any difference.

I hope somebody can introduce me to secrets of simultaneously linking
against Winelib & Unix dynamic libraries..

Ralf


-- 
Ralf Juengling <juenglin at cse.ogi.edu>




More information about the wine-devel mailing list