ble_promixity 137 compile error issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ble_promixity 137 compile error issue

183 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by AMIWallace on Mon Feb 16 04:44:21 MST 2015
Hi,

I checked out the ble_promixity 137 sample project from branches 222->v1.0.6-released 145-> examples 137->ble 137 through SVN, when I tried to compile the project code there are errors as follow:

Invoking: MCU C++ Linker
arm-none-eabi-c++ -nostdlib -L"C:\Users\Changuniong\Documents\LPCXpresso_7.6.2_326\workspace\uCXpresso.BLE\lib" -Xlinker -Map="ble_proximity.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "nano11uxx.ld" -L "C:\Users\Changuniong\Documents\LPCXpresso_7.6.2_326\workspace\uCXpresso.BLE\linkscripts" -o "ble_proximity.axf"  ./src/main.o ./src/tone.o   -luCXpresso.BLE
./src/main.o: In function `_ZN11myProximityD4Ev':
main.cpp:(.text._ZN11myProximityD4Ev[_ZN11myProximityD5Ev]+0x2e): undefined reference to `bleProximity::~bleProximity()'
./src/main.o: In function `main':
main.cpp:(.text.startup.main+0x9c): undefined reference to `bleProximity::bleProximity(bleSerial&)'
main.cpp:(.text.startup.main+0x184): undefined reference to `bleProximity::sendEvent(unsigned char)'
./src/main.o:(.rodata._ZTC11myProximity0_12bleProximity[_ZTV11myProximity]+0x20): undefined reference to `bleProximity::onAlert(unsigned char)'
./src/main.o:(.rodata._ZTC11myProximity0_12bleProximity[_ZTV11myProximity]+0x24): undefined reference to `bleProximity::onLinkLoss(unsigned char)'
./src/main.o:(.rodata._ZTC11myProximity0_12bleProximity[_ZTV11myProximity]+0x28): undefined reference to `bleProximity::sendEvent(unsigned char)'
./src/main.o:(.rodata._ZTC11myProximity0_12bleProximity[_ZTV11myProximity]+0x2c): undefined reference to `bleProximity::setTxPowerLevel(signed char)'
./src/main.o:(.rodata._ZTC11myProximity0_12bleProximity[_ZTV11myProximity]+0x30): undefined reference to `bleProximity::isAvailable()'
./src/main.o:(.rodata._ZTV11myProximity[_ZTV11myProximity]+0x28): undefined reference to `bleProximity::sendEvent(unsigned char)'
./src/main.o:(.rodata._ZTV11myProximity[_ZTV11myProximity]+0x2c): undefined reference to `bleProximity::setTxPowerLevel(signed char)'
./src/main.o:(.rodata._ZTV11myProximity[_ZTV11myProximity]+0x30): undefined reference to `bleProximity::isAvailable()'
collect2.exe: error: ld returned 1 exit status
make: *** [ble_proximity.axf] Error 1

It seems that the bleProximity missed, is there any suggestion about the solution of this problem
0 Kudos
Reply
0 Replies