Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > An Link Error

Reply
Thread Tools

An Link Error

 
 
kevin0608@gmail.com
Guest
Posts: n/a
 
      12-31-2005
when i using the VS 2005 , There is an Link Error like this:

------------------------------------------------------------------------------------
Compiling...
test.c
Linking...
LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib'

---------------------------------------------------------------------------------------
who knows why?

 
Reply With Quote
 
 
 
 
Flash Gordon
Guest
Posts: n/a
 
      12-31-2005
wrote:
> when i using the VS 2005 , There is an Link Error like this:
>
> ------------------------------------------------------------------------------------
> Compiling...
> test.c
> Linking...
> LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib'
>
> ---------------------------------------------------------------------------------------
> who knows why?


<OT>
Probably because you are telling it to use something called OLDNAMES.lib
which it cannot open for some reason, possibly due to it not existing.
</OT>

How to drive specific tools is very much system specific, if the manuals
and help system are not good enough you will have to ask in a group
dedicated to your implementation.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
 
Reply With Quote
 
 
 
 
Pradyut
Guest
Posts: n/a
 
      12-31-2005
try renaming the file .cpp

--
Pradyut
http://pradyut.tk
http://groups.yahoo.com/group/d_dom/
http://groups-beta.google.com/group/oop_programming
India
<> wrote in message
news: oups.com...
> when i using the VS 2005 , There is an Link Error like this:
>
> ------------------------------------------------------------------------------------
> Compiling...
> test.c
> Linking...
> LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib'
>
> ---------------------------------------------------------------------------------------
> who knows why?
>



 
Reply With Quote
 
Pradyut
Guest
Posts: n/a
 
      12-31-2005
try renaming the file .cpp

--
Pradyut
http://pradyut.tk
http://groups.yahoo.com/group/d_dom/
http://groups-beta.google.com/group/oop_programming
India
<> wrote in message
news: oups.com...
> when i using the VS 2005 , There is an Link Error like this:
>
> ------------------------------------------------------------------------------------
> Compiling...
> test.c
> Linking...
> LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib'
>
> ---------------------------------------------------------------------------------------
> who knows why?
>




 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      01-01-2006
Pradyut said:

> try renaming the file .cpp


That's a very unwise suggestion indeed, since it will cause some compilers
to compile the source using C++ rules rather than C rules. If the OP wanted
C++ rules, he'd have asked in comp.lang.c++ rather than here.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
 
Reply With Quote
 
kevin
Guest
Posts: n/a
 
      01-01-2006
Hello Pradyut:
Please tell me why renaming the file name to .cpp,I am afraid maybe
another problem will occured.

 
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
Is D-Link DSL-604T same as D-Link DSL-604+ ? norm Wireless Networking 6 11-18-2005 10:25 AM
RE: Link Link Link =?Utf-8?B?REw=?= Windows 64bit 0 05-17-2005 12:15 PM
Re: Link Link Link DANGER WILL ROBINSON!!! Kevin Spencer ASP .Net 0 05-17-2005 10:41 AM
Single FE Link for State/Link PIX Failover Matthew Melbourne Cisco 2 01-10-2005 06:58 PM
D-LINK DWL-AG650 doesn't work with WinXP - Zero Configuration Service (WZCSVC) / D-Link AirXpert nearly works Johannes Rosenstock Wireless Networking 0 08-27-2004 11:49 PM



Advertisments