I made more progress. I finally got rid of the multiple definitions of FRC_userClassFactory() error. The way I got rid of it is that since I firmly believe it is the build environment that screwed me up, I created the Line Follower example project. It compiled perfectly. Then I compared the its .wrproject file with my own .wrproject file and did some minor fixes to make them as similar as possible. That works. But don't ask me which change fixed it. It's seems a black box to me. But now I still have one last error:
Code:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\make21408.sh: %l: command not found
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [Logomotion/NonDebug/Logomotion.out] Error 127
Build Failed in Project 'Logomotion' (Process Exit Value was 2): 2011-01-20 23:41:19 (Elapsed Time: 00:03)
It looks like it cannot find a "make21408.sh" file in my temp directory. I assume this is some sort of shell script generated by WorkBench but it's not there. Any suggestions?