This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

building a AM3352 project using GNU, don't understand the errors or warnings

Other Parts Discussed in Thread: AM3352, SYSBIOS

so i am using the TI-RTOS SDK to try and add SDCard access using the DMA and FATFS, and using the NDK

i found both of those projects separately and i linked in all the appropriate linker/include/predified symbols from those projects. i think so anyway.

i am migrating a project that was on a 6748 DSP using the TI compiler. this is my first experience with the GNU compiler and ARM

so when i try to compile i get a lot of warnings that i don't understand and a lot of errors i don't understand.

some of the the errors are:

Description Resource Path Location Type
error: ./AM3352_Clock.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_eCAP.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_GPIO.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_I2C.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_LCDC.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_McASP.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_Pinmux.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_RTC.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_SPI.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_UART.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AM3352_WatchDogTimer.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AnsweringMachine.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./AudioAndDataProcessing.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./CaptionExtAnsMach.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./CodecAIC3106.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Conversation.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Eth_OTWSockets.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Eth_UVTSockets.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Ethernet.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./FlashMem.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./main.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Menu.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./PaintDisplay.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./PhoneBook.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./SDCard.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./SNVRam.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Test.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Uti_CID.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./UTI_Clock.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./UTI_Idle.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./UTI_Nimu.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Uti_OTW.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./UTI_Task.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./UTI_Utilities.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./UVTProtocol.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./WiFi_GS2100MIE_Driver.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./WiFi_SYSBIOS.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: ./Windows.o uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-__atexit.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-__call_atexit.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-abort.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-atexit.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-atoi.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-atol.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-closer.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-ctype_.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-errno.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-exit.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-fclose.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-fflush.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-findfp.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-fini.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-fwalk.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-impure.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-init.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-lseekr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-memchr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-memcmp.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-memcpy.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-memmove.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-memset.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-readr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-reent.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-signal.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-signalr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-stdio.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-stpcpy.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strcasecmp.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strcat.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strchr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strcmp.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strcpy.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strlen.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strncat.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strncmp.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strncpy.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strrchr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strstr.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strtok_r.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strtok.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-strtol.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-tirtos_validate.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libc.a(lib_a-writer.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\librdimon.a(rdimon-_kill.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/bios_6_46_00_23/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\librdimon.a(rdimon-syscalls.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:/ti/pdk_am335x_1_0_3/packages/ti/starterware/binary/soc/lib/am335x-evm/a8/release/gcc\libsoc.a(am335x_control.o) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\boot.aa8fg(startup.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Assert.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Core-label.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Core-mem.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Core-params.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Core-smem.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Error.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Gate.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Log.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(LoggerBuf.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Memory.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Registry.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(Startup.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem
error: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa8fg(SysMin.oa8fg) uses VFP register arguments, Model840i 3352.out does not Model840i 3352 C/C++ Problem

and some of the warnings are:

argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] UTI_Task.c /Model840i 3352 line 1695 C/C++ Problem
argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] UTI_Task.c /Model840i 3352 line 4218 C/C++ Problem
assignment makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 1558 C/C++ Problem
assignment makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 6063 C/C++ Problem
cast to pointer from integer of different size [-Wint-to-pointer-cast] Windows.h /Model840i 3352/Include line 206 C/C++ Problem
comparison between pointer and integer UTI_Task.c /Model840i 3352 line 1628 C/C++ Problem
comparison between pointer and integer UTI_Task.c /Model840i 3352 line 2249 C/C++ Problem
comparison between pointer and integer UTI_Task.c /Model840i 3352 line 2694 C/C++ Problem
comparison between pointer and integer UTI_Task.c /Model840i 3352 line 5912 C/C++ Problem
comparison between pointer and integer UTI_Task.c /Model840i 3352 line 6065 C/C++ Problem
enumeration value 'AM_MESSAGE_DONE' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'AM_MESSAGE_DONE' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'ANSWERING_MACHINE_ANSWER' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'ANSWERING_MACHINE_ANSWER' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_CAPTION' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_CAPTION' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DOWN' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DOWN' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF0' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF0' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF1' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF1' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF2' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF2' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF3' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF3' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF4' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF4' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF5' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF5' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF6' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF6' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF7' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF7' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF8' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF8' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMF9' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMF9' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMFLB' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMFLB' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_DTMFST' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_DTMFST' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_FLASH' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_FLASH' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_MEM1' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_MEM2' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_MEM3' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_MEM4' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_MEM4' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_MUTE' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_MUTE' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_NO' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_NO' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_NULL' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_NULL' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_REDIAL' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_REDIAL' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_TONE' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_TONE' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_UP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_VOLDN' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_VOLDN' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_VOLUP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'BUT_VOLUP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'BUT_YES' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'CALL_LOST_HANG_UP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'CALL_LOST_HANG_UP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'FAR_END_DISCONNECT' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'FAR_END_DISCONNECT' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'HANDSET_OFFHOOK' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'HANDSET_OFFHOOK' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'HANDSET_ONHOOK' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'HANDSET_ONHOOK' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'INITIATE_DIAL_HOME' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'INITIATE_DIAL_HOME' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'LEAVE_WIFI_SETUP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'LEAVE_WIFI_SETUP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'REGISTRATION_MODE_RESP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'REGISTRATION_MODE_RESP' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'RING_EVENT_OFF' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'RING_EVENT_OFF' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'RING_EVENT_ON' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'RING_EVENT_ON' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'RINGING_HAS_ENDED' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'RINGING_HAS_ENDED' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
enumeration value 'WIFI_TIMEOUT' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 3594 C/C++ Problem
enumeration value 'WIFI_TIMEOUT' not handled in switch [-Wswitch] UTI_Task.c /Model840i 3352 line 4773 C/C++ Problem
implicit declaration of function 'ltoa' [-Wimplicit-function-declaration] UTI_Task.c /Model840i 3352 line 1384 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 823 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 1322 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 1382 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 1432 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 1695 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 1717 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 2251 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 2358 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 2562 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 2564 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 2898 C/C++ Problem
passing argument 2 of 'memset' makes integer from pointer without a cast UTI_Task.c /Model840i 3352 line 2899 C/C++ Problem

there seems to be a whole new set of rules for the GNU compiler vs the TI compiler

is there a document that describes migrating from a ti compiler to a GNU compiler?

for example i get the warning:

Description Resource Path Location Type
comparison between pointer and integer UTI_Task.c /Model840i 3352 line 1628 C/C++ Problem

for this line of code:

while ( NewRegCmd.WindText[i] != NULL )

which compares an element of an array with NULL. i don't understand why this isn't allowed

i apparently need to make a lot of changes to the code to make it work. is there a migration guide for taking a project from a TI compiler to a GNU compiler?

  • so i think i found out the VFP errors (using "hard" in the floating point option) but now i have a new set of errors:

    Description Resource Path Location Type
    first defined here Model840i 3352 line 0, external location: c:\ti\ccsv6\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\lib\gcc\arm-none-eabi\4.9.3\fpu\crtbegin.o C/C++ Problem
    first defined here Model840i 3352 line 0, external location: c:\ti\ccsv6\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\lib\gcc\arm-none-eabi\4.9.3\fpu\crti.o C/C++ Problem
    gmake: *** [Model840i 3352.out] Error 1 Model840i 3352 C/C++ Problem
    gmake: Target 'all' not remade because of errors. Model840i 3352 C/C++ Problem
    Model840i 3352.out section `.stack' will not fit in region `OCMC_SRAM' Model840i 3352 C/C++ Problem
    more undefined references to `f_open' follow Uti_OTW.c /Model840i 3352 line 2139 C/C++ Problem
    more undefined references to `ltoa' follow AnsweringMachine.c /Model840i 3352 line 509 C/C++ Problem
    more undefined references to `ltoa' follow Eth_UVTSockets.c /Model840i 3352 line 432 C/C++ Problem
    more undefined references to `ltoa' follow UTI_Task.c /Model840i 3352 line 3020 C/C++ Problem
    multiple definition of `_fini' Model840i 3352 line 94, external location: C:\ti\bios_6_46_00_23\packages\gnu\targets\arm\rtsv7A\startup.c C/C++ Problem
    recipe for target 'Model840i 3352.out' failed makefile /Model840i 3352/Debug__GNU line 187 C/C++ Problem
    region `OCMC_SRAM' overflowed by 61440 bytes Model840i 3352 C/C++ Problem
    undefined reference to `CpswEmacInit' UTI_Nimu.c /Model840i 3352 line 90 C/C++ Problem
    undefined reference to `edma3init' SDCard.c /Model840i 3352 line 144 C/C++ Problem
    undefined reference to `f_close' AnsweringMachine.c /Model840i 3352 line 785 C/C++ Problem
    undefined reference to `f_close' AnsweringMachine.c /Model840i 3352 line 836 C/C++ Problem
    undefined reference to `f_close' AnsweringMachine.c /Model840i 3352 line 911 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 297 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 628 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 750 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 839 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 888 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 940 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 1003 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 1155 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 1179 C/C++ Problem
    undefined reference to `f_close' SDCard.c /Model840i 3352 line 1220 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 499 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 1330 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 1364 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 1413 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 1462 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 1809 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 1828 C/C++ Problem
    undefined reference to `f_close' Uti_OTW.c /Model840i 3352 line 2388 C/C++ Problem
    undefined reference to `f_lseek' SDCard.c /Model840i 3352 line 881 C/C++ Problem
    undefined reference to `f_lseek' SDCard.c /Model840i 3352 line 931 C/C++ Problem
    undefined reference to `f_lseek' SDCard.c /Model840i 3352 line 987 C/C++ Problem
    undefined reference to `f_mkdir' SDCard.c /Model840i 3352 line 304 C/C++ Problem
    undefined reference to `f_mkdir' SDCard.c /Model840i 3352 line 761 C/C++ Problem
    undefined reference to `f_mkfs' SDCard.c /Model840i 3352 line 282 C/C++ Problem
    undefined reference to `f_open' SDCard.c /Model840i 3352 line 288 C/C++ Problem
    undefined reference to `f_open' SDCard.c /Model840i 3352 line 353 C/C++ Problem
    undefined reference to `f_open' SDCard.c /Model840i 3352 line 624 C/C++ Problem
    undefined reference to `f_open' SDCard.c /Model840i 3352 line 743 C/C++ Problem
    undefined reference to `f_open' SDCard.c /Model840i 3352 line 1150 C/C++ Problem
    undefined reference to `f_open' SDCard.c /Model840i 3352 line 1214 C/C++ Problem
    undefined reference to `f_open' Uti_OTW.c /Model840i 3352 line 1852 C/C++ Problem
    undefined reference to `f_open' Uti_OTW.c /Model840i 3352 line 1913 C/C++ Problem
    undefined reference to `f_open' Uti_OTW.c /Model840i 3352 line 1956 C/C++ Problem
    undefined reference to `f_open' Uti_OTW.c /Model840i 3352 line 2020 C/C++ Problem
    undefined reference to `f_open' Uti_OTW.c /Model840i 3352 line 2090 C/C++ Problem
    undefined reference to `f_opendir' SDCard.c /Model840i 3352 line 500 C/C++ Problem
    undefined reference to `f_opendir' SDCard.c /Model840i 3352 line 572 C/C++ Problem
    undefined reference to `f_opendir' SDCard.c /Model840i 3352 line 665 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 883 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 933 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 935 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 989 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 991 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 993 C/C++ Problem
    undefined reference to `f_putc' SDCard.c /Model840i 3352 line 995 C/C++ Problem
    undefined reference to `f_puts' SDCard.c /Model840i 3352 line 293 C/C++ Problem
    undefined reference to `f_read' AnsweringMachine.c /Model840i 3352 line 832 C/C++ Problem
    undefined reference to `f_read' AnsweringMachine.c /Model840i 3352 line 907 C/C++ Problem
    undefined reference to `f_read' SDCard.c /Model840i 3352 line 745 C/C++ Problem
    undefined reference to `f_read' SDCard.c /Model840i 3352 line 1154 C/C++ Problem
    undefined reference to `f_read' Uti_OTW.c /Model840i 3352 line 2352 C/C++ Problem
    undefined reference to `f_readdir' SDCard.c /Model840i 3352 line 505 C/C++ Problem
    undefined reference to `f_readdir' SDCard.c /Model840i 3352 line 577 C/C++ Problem
    undefined reference to `f_readdir' SDCard.c /Model840i 3352 line 670 C/C++ Problem
    undefined reference to `f_rename' SDCard.c /Model840i 3352 line 1203 C/C++ Problem
    undefined reference to `f_rename' SDCard.c /Model840i 3352 line 1208 C/C++ Problem
    undefined reference to `f_stat' SDCard.c /Model840i 3352 line 1196 C/C++ Problem
    undefined reference to `f_unlink' SDCard.c /Model840i 3352 line 211 C/C++ Problem
    undefined reference to `f_unlink' SDCard.c /Model840i 3352 line 394 C/C++ Problem
    undefined reference to `f_unlink' SDCard.c /Model840i 3352 line 531 C/C++ Problem
    undefined reference to `f_unlink' SDCard.c /Model840i 3352 line 1200 C/C++ Problem
    undefined reference to `f_write' AnsweringMachine.c /Model840i 3352 line 780 C/C++ Problem
    undefined reference to `f_write' SDCard.c /Model840i 3352 line 835 C/C++ Problem
    undefined reference to `f_write' SDCard.c /Model840i 3352 line 1217 C/C++ Problem
    undefined reference to `f_write' Uti_OTW.c /Model840i 3352 line 1274 C/C++ Problem
    undefined reference to `f_write' Uti_OTW.c /Model840i 3352 line 1800 C/C++ Problem
    undefined reference to `f_write' Uti_OTW.c /Model840i 3352 line 1819 C/C++ Problem
    undefined reference to `FATFS_init' SDCard.c /Model840i 3352 line 149 C/C++ Problem
    undefined reference to `FATFS_open' SDCard.c /Model840i 3352 line 151 C/C++ Problem
    undefined reference to `ltoa' AM3352_RTC.c /Model840i 3352 line 429 C/C++ Problem
    undefined reference to `ltoa' AM3352_RTC.c /Model840i 3352 line 431 C/C++ Problem
    undefined reference to `ltoa' AM3352_RTC.c /Model840i 3352 line 435 C/C++ Problem
    undefined reference to `ltoa' AM3352_RTC.c /Model840i 3352 line 437 C/C++ Problem
    undefined reference to `ltoa' AM3352_RTC.c /Model840i 3352 line 440 C/C++ Problem
    undefined reference to `ltoa' AnsweringMachine.c /Model840i 3352 line 824 C/C++ Problem
    undefined reference to `ltoa' Eth_OTWSockets.c /Model840i 3352 line 187 C/C++ Problem
    undefined reference to `ltoa' Eth_OTWSockets.c /Model840i 3352 line 285 C/C++ Problem
    undefined reference to `ltoa' Eth_OTWSockets.c /Model840i 3352 line 440 C/C++ Problem
    undefined reference to `ltoa' Eth_OTWSockets.c /Model840i 3352 line 466 C/C++ Problem
    undefined reference to `ltoa' Eth_UVTSockets.c /Model840i 3352 line 213 C/C++ Problem
    undefined reference to `ltoa' SDCard.c /Model840i 3352 line 424 C/C++ Problem
    undefined reference to `ltoa' SDCard.c /Model840i 3352 line 798 C/C++ Problem
    undefined reference to `ltoa' SDCard.c /Model840i 3352 line 876 C/C++ Problem


    our previous code used the FATFS calls directly because they were 10x more efficient than the c options when using the 6748. so all the code i have is based on that. does this mean that i cannot use the FATFS calls directly or do i simply have to link in a library? however seeing that the edma3init is not found either i am thinking there is a linking problem

    also why doesn't "ltoa" work?

    and i don't understand the "first defined here" errors

    is there a library i should be linking in to get the ti compiler c library back or am i going to have to modify my code to work out these 1100+ warnings that get created when switching to the new compiler?

  • so i am starting to understand why i can't figure this out

    the example projects are a collection of files that are linked files that are from projects where these linking errors are already resolved. my project shouldn't be based on these projects unless i want to build ONLY SDK pre-written files which are useless to me

    so i am trying to find the right libraries to link into my project but that presents me with more linking errors with every library i add OR i can't even add a library even though i have the file name and path correct

    i am really struggling with which libraries to link and how to link them (or more generally how to set up a project that i can actually build)

    FYI i am trying to use the resources at processors.wiki.ti.com/.../Processor_SDK_RTOS_Software_Developer_Guide but it isn't much help
  • I can't help you with most of these errors, but I can tell you that ltoa is not provided by the TI RTS, because it is not a standard C function. You'll either need to change the code to use sprintf, or add your own implementation of the ltoa function.
  • well "ltoa" was supported in the TI compiler which is why it was in there. this is why i asked if there is a migration guide between the TI compiler and the GNU compiler
  • Well, that's a bit of a surprise to me, I really didn't think it was in the TI library.... Okay, take the source code for ltoa from ltoa.c the lib/src directory of the installed TI compiler and drop it into your project.

    Sorry, I don't know of any such migration guide specific to TI and GCC.
  • So here are the libraries i am trying to include:

    EDMA3 drv and rm - edma link error resolved but still fail due to MMCSD link issues

    MMCSD library - now fails because of "DebugP" "HwiP_" "osal_malloc" and "SemaphoreP_" routines - no explaination on what these routines are or how to include them

    PDK NIMU library - clears emac init link error but now fails to link because of EMAC routines and something called "DebugP"

    include the EMAC library - fails now because of "ENETPHY_" routines so which library do i need now?  i thought the NIMU library was supposed to have all this stuff? there is nothing in the networking portion of the developer's guide page about needing to include other libraries besides NIMU

    i feel like every time i add a library i get twice as many linking errors as i did previously.  the SDK is supposed to make things easy so what am i missing?

  • i am at 22 errors. i've cleared up the warnings.

    i really would like some direction as to what additional libraries in need to include to get this to work or what routines i have to make:
    Description Resource Path Location Type
    undefined reference to `_ENETPHY_UserAccessRead' Model840i 3352 line 876, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `_ENETPHY_UserAccessRead' Model840i 3352 line 881, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `_ENETPHY_UserAccessRead' Model840i 3352 line 894, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `_ENETPHY_UserAccessWrite' Model840i 3352 line 873, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `_ENETPHY_UserAccessWrite' Model840i 3352 line 891, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `_ENETPHY_UserAccessWrite' Model840i 3352 line 897, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_GetDuplex' Model840i 3352 line 1202, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_GetLinked' Model840i 3352 line 1190, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_GetLoopback' Model840i 3352 line 1186, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_GetPhyNum' Model840i 3352 line 1212, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_GetSpeed' Model840i 3352 line 1205, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_Init' Model840i 3352 line 1976, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_SetPhyMode' Model840i 3352 line 1374, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_cpsw.c C/C++ Problem
    undefined reference to `ENETPHY_Tic' Model840i 3352 line 764, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_drv_v4.c C/C++ Problem
    undefined reference to `EVMMACAddrGet' Model840i 3352 line 374, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\nimu-rtos\01.00.00.03A-r0.4.tisdk-int1\build\ti\transport\ndk\nimu\src\v4\cpsw_nimu_eth.c C/C++ Problem
    undefined reference to `f_mkfs' SDCard.c /Model840i 3352 line 282 C/C++ Problem
    undefined reference to `Osal_malloc' Model840i 3352 line 537, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_drv_v4.c C/C++ Problem
    undefined reference to `Osal_malloc' Model840i 3352 line 541, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\emac-lld-rtos\01.00.03.02-r0.3.tisdk-int0\build\ti\drv\emac\src\v4\emac_drv_v4.c C/C++ Problem
    undefined reference to `Osal_TaskCreate' Model840i 3352 line 142, external location: \home\gtbldadm\processor-sdk-rtos-krogoth-build\build-CORTEX_1\arago-tmp-external-linaro-toolchain\work\am335x_evm-linux-gnueabi\nimu-rtos\01.00.00.03A-r0.4.tisdk-int1\build\ti\transport\ndk\nimu\src\v4\cpsw_nimu_eth.c C/C++ Problem

    i included the fatfs library but it still says "f_mkfs" is undefined, in included the osal library but it says "osal_taskcreate' and 'osal_malloc' is undefined so i don't know what to do about that. i've really hit a wall for what to do about these linking issues
  • so i just took the files i needed from the evm board project. i don't know if this is what i am supposed to do or not but it cleared up my linking error except for the fatfs one

    i see there is an option for the f_mkfs routine in the fatfs config file ffconf.h which is off by default

    as a side note i can't seem to rebuild fatfs. i get an error every time:
    C:\ti\pdk_am335x_1_0_3\packages>gmake fatfs
    gmake -C ./ti/fs/fatfs all
    gmake[1]: Entering directory `C:/ti/pdk_am335x_1_0_3/packages/ti/fs/fatfs'
    makefile:33: /ti/build/Rules.make: No such file or directory
    gmake[1]: *** No rule to make target `/ti/build/Rules.make'. Stop.
    gmake[1]: Leaving directory `C:/ti/pdk_am335x_1_0_3/packages/ti/fs/fatfs'
    gmake: *** [fatfs] Error 2

    if i cannot or chose not to rebuild fatfs what are my other options for formatting/reformatting my partition? i guess i could post that in another forum since this post is getting crickets.