]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commit
Remove inline from non-static functions
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 19 Aug 2014 17:13:05 +0000 (19:13 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 19 Aug 2014 17:16:17 +0000 (19:16 +0200)
commit0c177f2548e1608953ad55e17d0d7fbdd7aa4e18
treea6348b3efcded92496aef70a8e72a4777d4e1700
parent20d5e0573b67e9b46af271f0b0793c743e711cd9
Remove inline from non-static functions

It seems that the compiler/CCS is somehow buggy when it sees non-static
inline functions, because the build is successful on desktop computers
but not buildbot's server. This change solves the buildbot failure. The
error message was:

Building target: rpp-test-sw.out
Invoking: ARM Linker
"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -g --gcc --diag_warning=225 --display_error_number --enum_type=packed -z -m"rpp-test-sw.map" -i"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/lib" -i"/opt/ti/ccsv5/tools/compiler/arm_5.0.1/include" --reread_libs --warn_sections --display_error_number --rom_model --be32 -o "rpp-test-sw.out"  "./cmdproc/src/i2str.obj" "./cmdproc/src/cmdproc_utils.obj" "./cmdproc/src/cmdproc_run.obj" "./cmdproc/src/cmdproc_io_tisci.obj" "./cmdproc/src/cmdproc_io_std_line.obj" "./cmdproc/src/cmdproc_io_line.obj" "./cmdproc/src/cmdproc_io.obj" "./cmdproc/src/cmdproc_freertos_tms570.obj" "./cmdproc/src/cmdproc.obj" "./commands/main.obj" "./commands/cmd_vbat.obj" "./commands/cmd_spi.obj" "./commands/cmd_sdram.obj" "./commands/cmd_port.obj" "./commands/cmd_pin.obj" "./commands/cmd_netstats.obj" "./commands/cmd_nc.obj" "./commands/cmd_motor_example.obj" "./commands/cmd_lout.obj" "./commands/cmd_lin.obj" "./commands/cmd_hout.obj" "./commands/cmd_hbr.obj" "./commands/cmd_fray.obj" "./commands/cmd_fr_basic_test.obj" "./commands/cmd_emac.obj" "./commands/cmd_din.obj" "./commands/cmd_dac.obj" "./commands/cmd_can.obj" "./commands/cmd_adc.obj" "./commands/cmd.obj" -l"/home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp/TMS570LS313xFlashLnk.cmd" -l"/home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp-lib.lib" -l"rtsv7R4_T_be_v3D16_eabi.lib"
<Linking>

 undefined        first referenced
  symbol              in file
 ---------        ----------------
 sys_mutex_lock   /home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp-lib.lib<mem.obj>
 sys_mutex_unlock /home/rpp/buildbot/slave/test-sw-lib-head/build/rpp-lib/rpp-lib.lib<mem.obj>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "rpp-test-sw.out" not built
src/arch/sys_arch.c