Go to Post As usual, I mistakenly look for a technical solution to a social problem. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-19-2010, 12:48 AM
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Need help with "Undefined symbol" error

I am new to the forum and this is the first year we use Wind River as a development platform. We used LabView last year.
Upon following the instructions very carefully on installing Wind River, loading all updates, reflashing the firmware of the cRIO to v19 etc. We are at the point of loading the sample "DefaultRobot" program to the robot and try things out. We successfully compiled the code and downloaded it to the robot but it doesn't work. Here is the details.
- Before we even fired up Wind River workbench, we fired up the Classmate PC (Driver station), set up all the configurations include team number. We saw the Communication light went green and so was the Stop Button light. But the Robot Code light remained RED. Also the Volts displayed --.-- (and yes we checked the jumper on the Analog bumper to make sure it is on reporting voltage instead of another analog channel).
- Since the Robot Code light is RED, we decided to fire up Wind River Workbench, compile some code and load it to the robot.
- After successfully downloaded the code, the driver station "Robot Code" light is still RED. So we decided to follow the instruction to reboot the robot anyway and see if the code gets activated. BTW, we also connected a null modem cable to the cRIO and saw the boot activities on the Terminal console.
- During boot, the terminal console showed a lot of "Undefined symbol" error and said the program failed to load. I attached some of the output below.
Code:
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A14tAnalogTrigger26writeS
ourceSelect_AveragedEbPi.
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A6tAlarm16writeTriggerTim
eEjPi.
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A3tAI19readConfig_ScanSiz
eEPi.
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A8tEncoder11kNumSystemsE.

(unloading partially loaded module FRC_UserProgram.out)
...FRC_UserProgram failed to load.
task 0x1d633c8 (t2) deleted: errno=0 (0) status=0 (0)
- We even abandoned the sample program and wrote our own SimpleRobot code just in case the sample was linking something that we do not have but we got the same result.

Since this is our first time to use Wind River, I am sure it is something simple possibly a configuration issue of Wind River. We'd appreciate if somebody would give us a pointer on what could be wrong with our config.

BTW, I did search for previous threads and found some describing the same issue but was from last year and never saw any sort of conclusions to those threads.

Thanks.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP - Link Error "Will Not Fit Section" 8520PIC de_ Programming 5 03-19-2008 11:33 AM
"Code Error" with RegisterRepeatingTimer d235j Programming 4 02-27-2008 09:51 PM
error : "There were linking errors!"....help please ProgrammerMike Programming 3 02-21-2008 08:59 AM
Help with error please ? could not find definition of symbol 'Serial_Char_Callback' gemccnp Programming 1 02-19-2005 09:28 PM
Printf symbol undefined? Help schenkin Programming 3 02-08-2005 04:14 PM


All times are GMT -5. The time now is 10:53 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi