You can have a try with:

arm-linux-gnueabihf-ld -> arm-linux-gnueabihf-g++


Regards,
Caiwen

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of anilkumar kolli
Sent: Wednesday, March 25, 2015 10:52 PM
To: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] iotivity-0.9.0 build for ARM, _start not defined


Hi IoT:

I am facing the error shown below
---------------------------------

arm-linux-gnueabihf-ld -o 
out/linux/armeabi-v7a/release/service/soft-sensor-manager/libDiscomfortIndexSensor.so
 --sysroot=/usr -s -shared 
out/linux/armeabi-v7a/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/DiscomfortIndexSensor.os
 
out/linux/armeabi-v7a/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/SysTimer.os
 
-L/home/spanidea/anilk/iot/yacto/raspberrypi/poky/raspberrypi/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/openssl/1.0.1k-r0/image/usr/lib
 -L/home/spanidea/anilk/iot/IoTivity/build_boost/lib 
-L/usr/arm-linux-gnueabihf/lib -Lout/linux/armeabi-v7a/release -L. -lstdc++ 
-lboost_thread -lboost_system
out/linux/armeabi-v7a/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/DiscomfortIndexSensor.os:
 In function `_GLOBAL__sub_I_DiscomfortIndexSensor.cpp':
DiscomfortIndexSensor.cpp:(.text.startup+0x30): undefined reference to 
`__dso_handle'
out/linux/armeabi-v7a/release/service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/src/SysTimer.os:
 In function `_GLOBAL__sub_I_SysTimer.cpp':
SysTimer.cpp:(.text.startup+0x30): undefined reference to `__dso_handle'
scons: *** 
[out/linux/armeabi-v7a/release/service/soft-sensor-manager/libDiscomfortIndexSensor.so]
 Error 1
scons: building terminated because of errors.
    It looks like pure c++ error, I am new to c++.
    Kindly Provide some help to solve this.


Thanks ,
Anil Kolli,
9886-595-440.


On 25 March 2015 at 17:47, anilkumar kolli <kollianil2009 at 
gmail.com<mailto:kollianil2009 at gmail.com>> wrote:
Hi IoT,
Build procedure followed:
1. I have downloaded 'iotivity-0.9.0.tar.gz'.
2. For extlibs/ - I cross built 'boost' for 'arm'
3. I added these boost 'LIB PATH' to 'build_common/linux/SConscript'
4. In config.log file, it has checked '37' configs passed, I attached 
config.log here.

Problem:
 There is one warning 'arm-linux-gnueabi-ld: warning: cannot find entry symbol 
_start; defaulting to 00008214'
Is this a tool chain issue or do I need to configure something else in IoTivity 
stack?

Thanks ,
Anil Kolli,
9886-595-440.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150326/a983a05a/attachment.html>

Reply via email to