When
I try to compile gnokii-0.5.8, in the VC++ in release mode,
have the following errors:
Build
Log
--------------------Configuration: gnokii - Win32
Release--------------------
Command
Lines
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP75.tmp"
with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
/nologo /subsystem:console /incremental:no /pdb:"Release/gnokii.pdb"
/machine:I386 /out:"Release/gnokii.exe"
".\Release\compat.obj"
".\Release\getopt.obj"
".\Release\gnokii.obj"
".\Release\snprintf.obj"
".\Release\libgnokii.lib"
]
Creating
command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP75.tmp"
Output
Window
Linking...
LIBC.lib(crt0dat.obj) : error LNK2005: __cinit already
defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005:
_exit already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) :
error LNK2005: __exit already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __cexit
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: __c_exit already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __C_Exit_Done
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: __C_Termination_Done already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __exitflag
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: __wpgmptr already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __pgmptr
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: ___winitenv already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __wenviron
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: ___initenv already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __environ
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: ___wargv already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: ___argv
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: ___argc already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __winminor
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: __winmajor already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __winver
already defined in LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error
LNK2005: __osver already defined in
LIBCMT.lib(crt0dat.obj)
LIBC.lib(crt0dat.obj) : error LNK2005: __umaskval
already defined in LIBCMT.lib(crt0dat.obj)
LINK : warning LNK4098: defaultlib
"LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
gnokii.obj
: error LNK2001: unresolved external symbol _gn_cfg_info
gnokii.obj : error
LNK2001: unresolved external symbol _gn_elog_handler
Release/gnokii.exe :
fatal error LNK1120: 2 unresolved externals
Error executing
link.exe.
Results
gnokii.exe - 25 error(s), 1 warning(s)
what
I am to make badly, help me.
Tanks.
Ricardo
Freitas