471,066 Members | 1,164 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

error LNK2001: unresolved external symbol _errno

hi guys,
As you can understand from the subject the problem is the:
error LNK2001: unresolved external symbol _errno
Whats so wierd is that when i build the project "A" alone it works
with no errors but when I build a project that has a dependency on
project "A" that project fails with this error that accurs while
building project "A".
I will be grateful if you can help,
Thanks in advance,
Faith
Nov 14 '05 #1
2 8450
On 2 Mar 2004 00:12:19 -0800
si********@hotmail.com (Faith) wrote:
hi guys,
As you can understand from the subject the problem is the:
error LNK2001: unresolved external symbol _errno
Whats so wierd is that when i build the project "A" alone it works
with no errors but when I build a project that has a dependency on
project "A" that project fails with this error that accurs while
building project "A".
I will be grateful if you can help,


This sounds like a problem with your specific implementation so you
would be better off asking in a group dedicated to your
OS/compiler/library combination. We don't deal with specific
implementations here.
--
Flash Gordon
Paid to be a Geek & a Senior Software Developer
Although my email address says spam, it is real and I read it.
Nov 14 '05 #2
si********@hotmail.com (Faith) writes:
As you can understand from the subject the problem is the:
error LNK2001: unresolved external symbol _errno
Whats so wierd is that when i build the project "A" alone it works
with no errors but when I build a project that has a dependency on
project "A" that project fails with this error that accurs while
building project "A".


Check that there isn't some explicit definition of `errno'
anywhere, e.g. `extern int errno;'. You can't do that because
errno isn't necessarily a variable. Instead, #include <errno.h>.
--
"It wouldn't be a new C standard if it didn't give a
new meaning to the word `static'."
--Peter Seebach on C99
Nov 14 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by yanwan | last post: by
2 posts views Thread by Helen | last post: by
2 posts views Thread by Mary | last post: by
4 posts views Thread by Sanjay Kumar | last post: by
1 post views Thread by developer | last post: by
6 posts views Thread by sadegh | last post: by
1 post views Thread by mahricky | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.