Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: Linker errors

Reply
Thread Tools

Re: Linker errors

 
 
Victor Bazarov
Guest
Posts: n/a
 
      09-15-2012
On 9/14/2012 12:56 PM, areej wrote:
> Hello all I have many errors with my linker can any one answer me how to solve them ????this is sample
> cl : Command line warning D9024 : unrecognized source file type 'C:\Users\new\op_models\first\firosim.project\firo sim-cosim1.dev32.i0.si.a', object file assumed
>
> Creating library C:\Users\new\op_models\firs \firosim.project\firosim-cosim1.dev32.i0.lib and object C:\Users\new\op_models\first\firosim.project\firos im-cosim1.dev32.i0.exp
> LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
> firosim-cosim1.dev32.i0.si.a(ecc_zero_err_bgutil.dev32.i0. ps.obj) : error LNK2019: unresolved external symbol _oms_rr_info_update referenced in function _ecc_zero_err_bgutil
> firosim-cosim1.dev32.i0.si.a(dpt_txdel_bgutil.dev32.i0.ps. obj) : error LNK2001:unresolved external symbol _oms_rr_info_update


Warnings are valid, I suppose, but seem not to really affect the
outcome, at least in your case. But you also have one unresolved symbol
that means you need to supply the object file where that symbol is
located so the linker can establish the connection. The name of that
symbol (_oms_rr_info_update) suggests that it's an 'extern "C"' function
that in the source code appears as 'oms_rr_info_update' (that is,
without the leading underscore). Perhaps it's your own function that is
located in a module (.c or .cpp) that you forgot to provide in the
command line to your compiler...

Generally speaking linker errors are off-topic here since most of those
are OS- and compiler-specific. Consider posting to the newsgroup that
deals with your compiler/toolset/OS.

V
--
I do not respond to top-posted replies, please don't ask
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Novice Linker Errors GammaJoe C++ 2 07-13-2004 05:16 PM
linker errors when I use template friends? John Harrison C++ 10 05-18-2004 05:32 AM
Errors, errors, errors Mark Goldin ASP .Net 2 01-17-2004 08:05 PM
linker errors: LNK2005 dullboy C++ 1 01-15-2004 09:04 AM
Linker Errors MiniDisc_2k2 C++ 2 07-05-2003 11:19 AM



Advertisments