Raised This Month: $ Target: $400
 0% 

[SOLVED] Undefined symbol


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Infra
Senior Member
Join Date: Aug 2004
Location: California
Old 04-13-2006 , 03:32   [SOLVED] Undefined symbol
Reply With Quote #1

Has anybody run into the problem with the compiler with the error: "undefined symbol", where the "symbol" (function) actually does exist in the file? Is it required for the called function to be above the caller function in the file (like in C)?
__________________
--Infra
Infra is offline
Send a message via AIM to Infra
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-13-2006 , 04:46  
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=26363
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-13-2006 , 15:22  
Reply With Quote #3

Do you use the latest version of AMXX (compiler)?
VEN is offline
Infra
Senior Member
Join Date: Aug 2004
Location: California
Old 04-13-2006 , 18:06  
Reply With Quote #4

Posted the code

forgot it earlier, thanks v3x...
__________________
--Infra
Infra is offline
Send a message via AIM to Infra
Infra
Senior Member
Join Date: Aug 2004
Location: California
Old 04-14-2006 , 05:28  
Reply With Quote #5

Found the problem...was due to an extra curly brace on one of the lines, causing all functions below it to become "undefined"...
__________________
--Infra
Infra is offline
Send a message via AIM to Infra
Reply



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

Forum Jump


All times are GMT -4. The time now is 05:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode