473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

What does this error message mean?: undefined reference to_Error

17
I'm trying to compile a program in C and i get this error i've never seen before. When i click on the error it just highlights the last brace of my program. the compiler i'm using is lcc-win32
Aug 3 '08 #1
5 2209
weaknessforcats
9,208 Expert Mod 8TB
When you get a compiler error, it's just at the place where the compiler knew it was in trouble. The actual error could be at an earlier point in the code. Look upwards and see if you can see anything.

It looks like the symbol to_Error is used but node defined or declared.
Aug 3 '08 #2
gpraghuram
1,275 Expert 1GB
First isolate whether its a compilation error or a linking error.
First check whether you can compile the program.
Then try to link and see.


Raghu
Aug 4 '08 #3
JosAH
11,448 Expert 8TB
I'm trying to compile a program in C and i get this error i've never seen before. When i click on the error it just highlights the last brace of my program. the compiler i'm using is lcc-win32
Well, don't search for something that isn't there: that to_Error thing isn't defined.
The solution is simple: define it somewhere because it is first used. Compiler
messages are not just there to panic the user, i.e. those messages are supposed
to be read and understood. And of course your compiler could only issue that
message after it had read the entire text, it isn't psychic.

kind regards,

Jos
Aug 4 '08 #4
ab12
17
Well, don't search for something that isn't there: that to_Error thing isn't defined.
The solution is simple: define it somewhere because it is first used. Compiler
messages are not just there to panic the user, i.e. those messages are supposed
to be read and understood. And of course your compiler could only issue that
message after it had read the entire text, it isn't psychic.

kind regards,

Jos
I don't use "to_Error" anywhere in the program. I've never heard of it. my program is a simple one that just tells you whether your input string is a palindrome or not. how can i just define something when i don't know what it is? My program is pretty straightforward and i haven't tried anything unusual to the other programs i write.
Aug 4 '08 #5
JosAH
11,448 Expert 8TB
I don't use "to_Error" anywhere in the program. I've never heard of it. my program is a simple one that just tells you whether your input string is a palindrome or not. how can i just define something when i don't know what it is? My program is pretty straightforward and i haven't tried anything unusual to the other programs i write.
At least somewhere in the header files it pops up. Your error was probably a
linker error? Something definitely saw a symbol to_Error and it didn't see its
definition. Check your manuals or show the relevant code (in the correct code
tags please). That message didn't pop up for nothing.

kind regards,

Jos
Aug 4 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Steve Richter | last post by:
What does the "." mean in the following sql script stmts? use GO if exists (select * from dbo.sysobjects where id = object_id(N'.') and OBJECTPROPERTY(id,N'IsUserTable') = 1) drop table ....
3
by: RobertTG | last post by:
Someone please translate the code below into English... Particularly the indicated line Thanks function attachComment() { var aForms = document.getElementsByTagName("FORM"); for (var i = 0;...
0
by: jaydfischer | last post by:
Could not load type from assembly Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. This message appears about 8 times for each class in the project (20 classes) I just started getting...
58
by: Larry David | last post by:
Ok, first of all, let's get the obvious stuff out of the way. I'm an idiot. So please indulge me for a moment. Consider it an act of "community service".... What does "64bit" mean to your friendly...
9
by: ziman137 | last post by:
Hi all, The results from following codes got me a bit confused. #include <stdio.h> #include <iostream> using namespace std; struct A {
1
by: jonathan184 | last post by:
Hi I amtrying to move over a website to another server. On the old hosting the site works fine. but when i transferred the site i am getting this error: Description: An error occurred during...
92
by: Heinrich Pumpernickel | last post by:
what does this warning mean ? #include <stdio.h> int main() { long l = 100; printf("l is %li\n", l * 10L);
45
by: loudking | last post by:
Hello, all I don't quite understand what does ((time_t)-1) mean when I execute "man 2 time" RETURN VALUE On success, the value of time in seconds since the Epoch is retu rned. On error,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.