It seems you have set "SCONSFLAGS". Please unset it then retry and upload the log.
Regards, Caiwen > -----Original Message----- > From: iotivity-dev-bounces at lists.iotivity.org > [mailto:iotivity-dev-bounces at lists.iotivity.org] On Behalf Of Drasko > DRASKOVIC > Sent: Wednesday, January 28, 2015 10:01 PM > To: iotivity-dev at lists.iotivity.org > Subject: [dev] Build Fails on Linux > > Hi all, > I have a build that's breaking on my Debian machine. > > I think that some SCons parsing removes `gcc` leaving only "o" as a > command (probably "o" as an "output file" option passed to GCC). > > Would somebody know this one off the shelf, or I will have to dig into the > build scripts? > > BR, > Drasko > > > drasko at Hegel:~/iotivity$ git status > On branch master > Your branch is up-to-date with 'origin/master'. > nothing to commit, working directory clean > drasko at Hegel:~/iotivity$ scons > scons: Reading SConscript files ... > Checking for C library boost_program_options... (cached) yes Checking for > C library boost_program_options... (cached) yes Checking for C library > boost_program_options... (cached) yes Checking for C library > boost_program_options... (cached) yes Checking for C library > boost_program_options... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes Checking for C library > boost_thread... (cached) yes Checking for C library boost_system... > (cached) yes Checking for C library boost_thread... (cached) yes Checking > for C library boost_system... (cached) yes > scons: done reading SConscript files. > scons: Building targets ... > scons: building associated VariantDir targets: out/linux/x86_64/release > gcc -o out/linux/x86_64/release/extlibs/cjson/cJSON.o -c -std=c99 -Wall > -fPIC -Os -m64 -DNDEBUG -DWITH_POSIX > -Iout/linux/x86_64/release/extlibs/cjson -Iextlibs/cjson > -Iout/linux/x86_64/release/resource/csdk/ocsocket/include > -Iresource/csdk/ocsocket/include > -Iout/linux/x86_64/release/resource/csdk/logger/include > -Iresource/csdk/logger/include > -Iout/linux/x86_64/release/resource/csdk/ocrandom/include > -Iresource/csdk/ocrandom/include > -Iout/linux/x86_64/release/resource/csdk/ocmalloc/include > -Iresource/csdk/ocmalloc/include > -Iout/linux/x86_64/release/resource/csdk/libcoap > -Iresource/csdk/libcoap > -Iout/linux/x86_64/release/resource/csdk/occoap/include > -Iresource/csdk/occoap/include > -Iout/linux/x86_64/release/resource/csdk/stack/include > -Iresource/csdk/stack/include > -Iout/linux/x86_64/release/resource/csdk/stack/include/internal > -Iresource/csdk/stack/include/internal > -Iout/linux/x86_64/release/resource/oc_logger/include > -Iresource/oc_logger/include -Iextlibs/cereal/include > extlibs/cjson/cJSON.c gcc -o > out/linux/x86_64/release/extlibs/cjson/cJSON.os -c -std=c99 -Wall -fPIC > -Os -m64 -fPIC -DNDEBUG -DWITH_POSIX > -Iout/linux/x86_64/release/extlibs/cjson -Iextlibs/cjson > -Iout/linux/x86_64/release/resource/csdk/ocsocket/include > -Iresource/csdk/ocsocket/include > -Iout/linux/x86_64/release/resource/csdk/logger/include > -Iresource/csdk/logger/include > -Iout/linux/x86_64/release/resource/csdk/ocrandom/include > -Iresource/csdk/ocrandom/include > -Iout/linux/x86_64/release/resource/csdk/ocmalloc/include > -Iresource/csdk/ocmalloc/include > -Iout/linux/x86_64/release/resource/csdk/libcoap > -Iresource/csdk/libcoap > -Iout/linux/x86_64/release/resource/csdk/occoap/include > -Iresource/csdk/occoap/include > -Iout/linux/x86_64/release/resource/csdk/stack/include > -Iresource/csdk/stack/include > -Iout/linux/x86_64/release/resource/csdk/stack/include/internal > -Iresource/csdk/stack/include/internal > -Iout/linux/x86_64/release/resource/oc_logger/include > -Iresource/oc_logger/include -Iextlibs/cereal/include > extlibs/cjson/cJSON.c o > out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/ > DiscomfortIndexSensor/src/DiscomfortIndexSensor.os > -c -std=c++0x -Wall -DLINUX -pthread -Os -m64 -fPIC -fPIC -DNDEBUG > -Iextlibs/cereal/include -Iresource -Iresource/include > -Iresource/oc_logger/include -Iresource/csdk/stack/include > -Iresource/csdk/ocsocket/include -Iresource/csdk/ocrandom/include > -Iresource/csdk/logger/include > -Iout/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugi > n/DiscomfortIndexSensor/include > -Iservice/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/i > nclude > -Iout/linux/x86_64/release/service/soft-sensor-manager/SSMCore/src/SS > MInterface > -Iservice/soft-sensor-manager/SSMCore/src/SSMInterface > service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/sr > c/DiscomfortIndexSensor.cpp > sh: 1: o: not found > o > out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/ > DiscomfortIndexSensor/src/SysTimer.os > -c -std=c++0x -Wall -DLINUX -pthread -Os -m64 -fPIC -fPIC -DNDEBUG > -Iextlibs/cereal/include -Iresource -Iresource/include > -Iresource/oc_logger/include -Iresource/csdk/stack/include > -Iresource/csdk/ocsocket/include -Iresource/csdk/ocrandom/include > -Iresource/csdk/logger/include > -Iout/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugi > n/DiscomfortIndexSensor/include > -Iservice/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/i > nclude > -Iout/linux/x86_64/release/service/soft-sensor-manager/SSMCore/src/SS > MInterface > -Iservice/soft-sensor-manager/SSMCore/src/SSMInterface > service/soft-sensor-manager/SoftSensorPlugin/DiscomfortIndexSensor/sr > c/SysTimer.cpp > sh: 1: o: not found > o > out/linux/x86_64/release/service/soft-sensor-manager/libDiscomfortInde > xSensor.so > -s -m64 -shared > out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/ > DiscomfortIndexSensor/src/DiscomfortIndexSensor.os > out/linux/x86_64/release/service/soft-sensor-manager/SoftSensorPlugin/ > DiscomfortIndexSensor/src/SysTimer.os > -Lout/linux/x86_64/release -L. -lboost_thread -lboost_system > sh: 1: o: not found > Install file: > "out/linux/x86_64/release/service/soft-sensor-manager/libDiscomfortInd > exSensor.so" > as "out/linux/x86_64/release/libDiscomfortIndexSensor.so" > scons: *** [out/linux/x86_64/release/libDiscomfortIndexSensor.so] > out/linux/x86_64/release/service/soft-sensor-manager/libDiscomfortInde > xSensor.so: > No such file or directory > scons: building terminated because of errors. > drasko at Hegel:~/iotivity$ > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev
