This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Problems with MSVC6.0
- From: Juan José Andrés Gutiérrez <jjangu at tid dot es>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 17 Jul 2002 12:55:07 +0100
- Subject: Problems with MSVC6.0
Hello,
I have problems to compile a X-Window program with Visual C++ 6.0. The
problem is that I convert the DLL libx11.dll and libxmuu.dll to
libx11.lib and libxmuu.lib the linker generate several errors:
libX11.lib(libX11.obj) : warning LNK4078: multiple
".edata" sections found with different attributes
(C0100000)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__calloc already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__cygwin_detach_dll already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__cygwin_internal already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__dll_dllcrt0 already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__fprintf already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__fputs already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005: __nm__free
already defined in libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__gethostname already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__malloc already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__realloc already defined in
libX11.lib(libX11.obj)
libXmuu.lib(libXmuu.obj) : error LNK2005:
__nm__strcmp already defined in
libX11.lib(libX11.obj)
Debug/xlsclients.exe : fatal error LNK1169: one or
more multiply defined symbols found
As I can use these DLL in a program written with Visual C++?
Thanks.