On Sunday, February 9, 2003, at 03:30 AM, Gennadiy Rozental wrote:
Hi,It looks to me like the C library is not getting linked into the executable. There are several possible versions of the C library which might meet the need (some of them listed in the error messages).
Could somebody shed some light on what may be the cause of the following
link errors issued by metrowerks compiler in Boost.Test unit tests:
### mwld Linker Error:
# Undefined symbol: '__declspec(dllimport) _getenv (__imp__getenv)'
# referenced from '_main' in cpp_main.cpp:61
(libboost_prg_exec_monitor.lib)
# referenced from '_main' in cpp_main.cpp:71
(libboost_prg_exec_monitor.lib)
### mwld Linker Error:
# Note: symbol '_getenv' found in 'MSL_C_x86.lib';
# your project may need MSL_All-DLL_{x86,3DNow,MSE}[_D].lib instead
### mwld Linker Error:
# Undefined symbol: '__declspec(dllimport) _strcmp (__imp__strcmp)'
# referenced from '_main' in cpp_main.cpp:62
(libboost_prg_exec_monitor.lib)
# referenced from '_main' in cpp_main.cpp:72
(libboost_prg_exec_monitor.lib)
### mwld Linker Error:
# Note: symbol '_strcmp' found in 'MSL_C_x86.lib';
# your project may need MSL_All-DLL_{x86,3DNow,MSE}[_D].lib instead
Can you list the libraries that are being linked in? From that I can probably make a better suggestion.
-Howard
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost