Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123757

Forum Post: RE: StarterWare USB Bulk device programming problems

$
0
0

Hi Rajasekaran,

Thank you very much for your response.

I add the armv5 and omapl138 paths in ARM compiler include options. Also, I add the system_config\armv5\omapl138, which include the source code, in the ARM linker file search path. But the compilation errors are still there.

The build log is as follwing:

**** Build of configuration Debug for project StarterWare_USB ****

 

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/tms470_4.9.1/bin/cl470" -mv5e --code_state=32 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/tms470_4.9.1/include" --include_path="C:/ti/StarterWare_1_10_03_03/system_config/armv5/omapl138" --include_path="C:/ti/OMAPL138_StarterWare_1_10_03_03/include/hw" --include_path="C:/ti/OMAPL138_StarterWare_1_10_03_03/include/armv5/omapl138" --include_path="C:/ti/OMAPL138_StarterWare_1_10_03_03/include/armv5" --include_path="C:/ti/OMAPL138_StarterWare_1_10_03_03" --include_path="C:/ti/OMAPL138_StarterWare_1_10_03_03/usblib/include" --include_path="C:/ti/OMAPL138_StarterWare_1_10_03_03/include" --define=omapl138 --define=omapl137 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="main.pp"  "../main.c"
"C:/ti/OMAPL138_StarterWare_1_10_03_03/usblib/include/usblib.h", line 89: warning #36-D: #warn The packed attribute is not supported by this version of the TI ARM CGT.       Please upgrade to version 5.x or use an alternate toolchain instead.
"../main.c", line 89: warning #145-D: a value of type "unsigned long (*)(void *, unsigned long, unsigned long, void *)" cannot be used to initialize an entity of type "tUSBCallback"
"../main.c", line 91: warning #145-D: a value of type "unsigned long (*)(void *, unsigned long, unsigned long, void *)" cannot be used to initialize an entity of type "tUSBCallback"
'Finished building: ../main.c'
' '
'Building target: StarterWare_USB.out'
'Invoking: ARM Linker'
"C:/ti/ccsv5/tools/compiler/tms470_4.9.1/bin/cl470" -mv5e --code_state=32 --abi=eabi -me -g --define=omapl138 --define=omapl137 --diag_warning=225 --display_error_number -z --stack_size=0x800 -m"StarterWare_USB.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/tms470_4.9.1/lib" -i"C:/ti/OMAPL138_StarterWare_1_10_03_03/include/armv5/omapl138" -i"C:/ti/ccsv5/tools/compiler/tms470_4.9.1/include" -i"C:/ti/OMAPL138_StarterWare_1_10_03_03/system_config/armv5/omapl138" --reread_libs --warn_sections --display_error_number --rom_model -o "StarterWare_USB.out"  "./main.obj" -l"libc.a" "../OMAPL138.cmd"
<Linking>

 undefined                 first referenced
  symbol                       in file    
 ---------                 ----------------
 IntAINTCInit              ./main.obj     
 IntChannelSet             ./main.obj     
 IntGlobalEnable           ./main.obj     
 IntIRQEnable              ./main.obj      
 IntMasterIRQEnable        ./main.obj     
 IntRegister               ./main.obj     
 IntSystemEnable           ./main.obj     
 USB0DeviceIntHandler      ./main.obj     
 USBDBulkInit              ./main.obj     
 USBDBulkPacketRead        ./main.obj     
 USBDBulkRxPacketAvailable ./main.obj     

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "StarterWare_USB.out" not
   built

>> Compilation failure
gmake: *** [StarterWare_USB.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Any suggestion is very welcome!

Jian


Viewing all articles
Browse latest Browse all 123757

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>