Title: RE: [Ethereal-dev] link error (win32 MSVC)
See RE: [Ethereal-dev] RE: Help please, compiling 0.9.7 from 2002/11/12, it's exactly the same error. It helps if you put MSVC or win32 or something descriptive like that in the subject line.
=======================================================================================
Hi,
I tried to build Ethereal with MSVC++ for the first time and it has
generated the following errors:
(ethereal-2002-11-12.tar.gz)
...
Linking ethereal.exe
link @D:\DOCUME~1\akos\LOCALS~1\Temp\nma00284.
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in
LIBC.lib(isctype.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in
LIBC.lib(malloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in
LIBC.lib(free.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in
LIBC.lib(strncpy.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in
LIBC.lib(strncmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in
LIBC.lib(strchr.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in
LIBC.lib(crt0dat.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _getenv already defined in
LIBC.lib(getenv.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __open already defined in
LIBC.lib(open.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __close already defined in
LIBC.lib(close.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __get_osfhandle already defined in
LIBC.lib(osfinfo.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in
LIBC.lib(realloc.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strdup already defined in
LIBC.lib(strdup.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in
LIBC.lib(memmove.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower already defined in
LIBC.lib(tolower.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __read already defined in
LIBC.lib(read.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __write already defined in
LIBC.lib(write.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __lseek already defined in
LIBC.lib(lseek.obj)
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : fatal error LNK1207: incompatible PDB format in
"C:\ethereal-win32\ethereal.pdb"; delete and rebuild
Any suggestions?
Best regards,
Akos