View Single Post
  #1   Spotlight this post!  
Unread 15-01-2007, 15:20
xrabohrok's Avatar
xrabohrok xrabohrok is offline
hunter of errors
FRC #1208 (The Metool Brigade)
Team Role: Programmer
 
Join Date: Jan 2006
Location: O'Fallon
Posts: 62
xrabohrok is an unknown quantity at this point
"extern" linking issues.

It's me and my silly errors again. This time it has to do with variable types.
This error originates from trying to use an "extern" variable extension to get data from the tracking.c file. This should theoretically work, but it doesn't.

I get an error that reads (abridged):
Fatal[151] -internal- populateExternalReferences() -symbol 'virtual_servo_tilt' is not an external reference.

I declare both instances of the variable in each file, I used a .h file to declare the variable, and I include the .h file in both .c files. (For the record, it's tracking.h).

You guys have been wonderfully patient with me, and I thank you people.
__________________
"It's programming's fault" may be a viable excuse for just about everything, except the robot falling apart.

It will 'cause it can!

constants aren't. variables won't.