Hi, while compiling osg I've got an error. Why

Code:

[ 13%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/WriteFile.obj
[ 13%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/XmlParser.obj
Linking CXX shared library ..\..\bin\libosgDB.dll
Creating library file: ..\..\lib\libosgDB.dll.a
e:/soft/hack/codeblocks10.05/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe:
 <unknown-file>:0: syntax error
Warning: .drectve `-export:T.5690 ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/trees.obj):(.text[_gen_codes]+0x7):
 undefined reference to `__security_cookie'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/trees.obj):(.text[_gen_codes]+0x6d):
 undefined reference to `...@__security_check_cookie@4'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/crc32.obj):(.text[_crc32_combine]+0xa):
 undefined reference to `__security_cookie'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/crc32.obj):(.text[_crc32_combine]+0x25):
 undefined reference to `...@__security_check_cookie@4'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/crc32.obj):(.text[_crc32_combine]+0xe7):
 undefined reference to `...@__security_check_cookie@4'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/inftrees.obj):(.text[_inflate_table]+0xa):
 undefined reference to `__security_cookie'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/inftrees.obj):(.text[_inflate_table]+0xd7):
 undefined reference to `...@__security_check_cookie@4'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/inftrees.obj):(.text[_inflate_table]+0x1e5):
 undefined reference to `...@__security_check_cookie@4'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/inftrees.obj):(.text[_inflate_table]+0x262):
 undefined reference to `...@__security_check_cookie@4'
E:\Soft\Libraries\3rdParty\lib\zlib.lib(./Win32_LIB_Release/inftrees.obj):(.text[_inflate_table]+0x4a8):
 undefined reference to `...@__security_check_cookie@4'
collect2: ld returned 1 exit status
mingw32-make.exe[2]: *** [bin/libosgDB.dll] Error 1
mingw32-make.exe[1]: *** [src/osgDB/CMakeFiles/osgDB.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2




Thank you!

Cheers,
John [Question]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33027#33027





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to