468,301 Members | 1,459 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

Linker Errors with /CLR option

I have a MFC application developed using VC++ 5. Recently I ported that
to VC++ 7.1 and now I am trying to compile the MFC application with
/CLR under VC++ 7.1. And I get linker errors referring to one of the
libraries that the project uses. Without the /CLR, the project compiles
and runs well.

There is some library by name task.lib and the code refers to that lib,
in the linker step i get the following linker errors:-

Task.lib : error LNK2019: unresolved external symbol _write_stdout
referenced in function _main
Task.lib : error LNK2019: unresolved external symbol _read_stdin
referenced in function _main
Task.lib : error LNK2019: unresolved external symbol
_enable_signal_catcher referenced in function _main
Task.lib : error LNK2019: unresolved external symbol _keymatch
referenced in
function _parse_switches

I have searched the project for the symbols that i see in the errors.
It seems that the symbols are inside the lib, and with the /CLR option
it gives out the error.

Please help me in fixing the errors, and enlighten me what happens in
the dark.

Jan 26 '06 #1
0 1495

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by TGF | last post: by
12 posts views Thread by Fabio De Francesco | last post: by
3 posts views Thread by ralphsieminsky | last post: by
1 post views Thread by Felix | last post: by
2 posts views Thread by Oneironaut | last post: by
2 posts views Thread by Markus Dehmann | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.