-
Notifications
You must be signed in to change notification settings - Fork 108
Raspberry Pi 3 (Host & Target being the same) - make install - failed #2315
Comments
I just performed the native build on Pi3, the result is sucessed. I am using " make alldefconfig; make". It seems to me that some dependency libs are missing ? |
Hi yongli, AR build/stage/shared/libsolettashared.a LD build/soletta_sysroot/usr/lib/libsoletta.so In function ‘__fread_alias’, inlined from ‘sol_memmap_impl_write_raw’ at ./src/lib/io/sol-memmap-storage-impl-linux.c:135:15: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:290:2: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer return __fread_chk (__ptr, __bos0 (__ptr), __size, __n, __stream); ^ /tmp/ccjHvC1j.ltrans7.ltrans.o: In function sol_lwm2m_security_add_full.lto_priv.1216': ccjHvC1j.ltrans7.o:(.text+0x30e8): undefined reference tosol_socket_dtls_set_credentials_callbacks' ccjHvC1j.ltrans7.o:(.text+0x3180): undefined reference to sol_socket_dtls_set_credentials_callbacks' /tmp/ccjHvC1j.ltrans9.ltrans.o: In functionsol_socket_ip_new': ccjHvC1j.ltrans9.o:(.text+0x44c8): undefined reference to sol_socket_default_dtls_new' /tmp/ccjHvC1j.ltrans24.ltrans.o: In functionsol_shutdown': ccjHvC1j.ltrans24.o:(.text+0x2a30): undefined reference to sol_oic_server_shutdown' /tmp/ccjHvC1j.ltrans24.ltrans.o: In functionsol_init': ccjHvC1j.ltrans24.o:(.text+0x33ec): undefined reference to `sol_oic_server_shutdown' collect2: error: ld returned 1 exit status tools/build/Makefile.rules:399: recipe for target 'build/soletta_sysroot/usr/lib/libsoletta.so' failed make: *** [build/soletta_sysroot/usr/lib/libsoletta.so] Error 1 Can you please help me out.... |
Or could you please help me the things for the "y or n" options while doing make install such that it properly installs.... |
@mkharibalaji When I execute the "make alldefconfig" command, but I did not get these selection options. |
@yongli3 When I execute "make install" i am getting the error and the selection options. |
Hi @mkharibalaji thanks for reporting the problem, i'll check it (have some guesses about the problem). Could you please run |
Task Description
Running 'make install' within Raspberry Pi 3 command line,the build is failing.
Dependencies
Issue Description
pi@raspberrypi:~/soletta $ make install
GEN ./build/soletta_sysroot/usr/share//soletta//flow//aliases//50-default.json
Alias file saved at ./build/soletta_sysroot/usr/share//soletta//flow//aliases//50-default.json
GEN include/generated/sol_config.h
*
*
*
*
JavaScript flow metatype (FLOW_METATYPE_JAVASCRIPT) M/n/y/? y
*
*
Node type: accelerometer (FLOW_NODE_TYPE_ACCELEROMETER) [N/m/y] n
Node type: aio (FLOW_NODE_TYPE_AIO) [Y/n/m] y
Node type: am2315 (FLOW_NODE_TYPE_AM2315) [M/n/y] m
Node type: app (FLOW_NODE_TYPE_APP) [Y/n/m] y
Node type: boolean (FLOW_NODE_TYPE_BOOLEAN) [Y/n/m] y
Node type: byte (FLOW_NODE_TYPE_BYTE) [Y/n/m] y
Node type: calamari (FLOW_NODE_TYPE_CALAMARI) [M/n/y] m
Node type: color (FLOW_NODE_TYPE_COLOR) [Y/n/m] y
Node type: compass (FLOW_NODE_TYPE_COMPASS) [M/n/y] m
Node type: console (FLOW_NODE_TYPE_CONSOLE) [Y/n/m] y
Node type: constant (FLOW_NODE_TYPE_CONSTANT) [Y/n/m] y
Node type: converter (FLOW_NODE_TYPE_CONVERTER) [Y/n/m/?] y
Node type: evdev (FLOW_NODE_TYPE_EVDEV) [M/n/y] m
Node type: file (FLOW_NODE_TYPE_FILE) [M/n/y] m
Node type: filter-repeated (FLOW_NODE_TYPE_FILTER_REPEATED) [Y/n/m] y
Node type: float (FLOW_NODE_TYPE_FLOAT) [Y/n/m] y
Node type: form (FLOW_NODE_TYPE_FORM) [M/n/y/?] m
Node type: format (FLOW_NODE_TYPE_FORMAT) [M/n/y/?] m
Node type: gpio (FLOW_NODE_TYPE_GPIO) [Y/n/m] y
Node type: grove (FLOW_NODE_TYPE_GROVE) [M/n/y] m
Node type: gyroscope (FLOW_NODE_TYPE_GYROSCOPE) [N/m/y] n
Node type: hc-sr04 (FLOW_NODE_TYPE_HC_SR04) [N/m/y] n
Node type: iio (FLOW_NODE_TYPE_IIO) [M/n/y] m
Node type: int (FLOW_NODE_TYPE_INT) [Y/n/m] y
Node type: jhd1313m1 (FLOW_NODE_TYPE_JHD1313M1) [M/n/y] m
Node type: json (FLOW_NODE_TYPE_JSON) [M/n/y/?] m
Node type: keyboard (FLOW_NODE_TYPE_KEYBOARD) [M/n/y] m
Node type: led 7 segments (FLOW_NODE_TYPE_LED_7SEG) [Y/n/m] y
Node type: led-strip (FLOW_NODE_TYPE_LED_STRIP) [M/n/y] m
Node type: lsm9ds0 (FLOW_NODE_TYPE_LSM9DS0) [N/m/y] n
Node type: magnetometer (FLOW_NODE_TYPE_MAGNETOMETER) [N/m/y] n
Node type: max31855 (FLOW_NODE_TYPE_MAX31855) [N/m/y] n
Node type: network (FLOW_NODE_TYPE_NETWORK) [M/n/y] m
Node type: oic (FLOW_NODE_TYPE_OIC) M/n/y y
Node type: persistence (FLOW_NODE_TYPE_PERSISTENCE) [M/n/y] m
Node type: piezo-speaker (FLOW_NODE_TYPE_PIEZO_SPEAKER) [M/n/y] m
Node type: platform (FLOW_NODE_TYPE_PLATFORM) [Y/n/m] y
Node type: power-supply (FLOW_NODE_TYPE_POWER_SUPPLY) [M/n/y/?] m
Node type: process (FLOW_NODE_TYPE_PROCESS) [M/n/y] m
Node type: pwm (FLOW_NODE_TYPE_PWM) [Y/n/m] y
Node type: random (FLOW_NODE_TYPE_RANDOM) [Y/n/m] y
Node type: robotics (FLOW_NODE_TYPE_ROBOTICS) [N/m/y/?] n
Node type: servo-motor (FLOW_NODE_TYPE_SERVO_MOTOR) [M/n/y] m
Node type: si114x (FLOW_NODE_TYPE_SI114X) [N/m/y] n
Node type: string (FLOW_NODE_TYPE_STRING) [Y/n/m/?] y
Node type: stts751 (FLOW_NODE_TYPE_STTS751) [N/m/y] n
Node type: switcher (FLOW_NODE_TYPE_SWITCHER) [Y/n/m] y
Node type: temperature (FLOW_NODE_TYPE_TEMPERATURE) [Y/n/m] y
Node type: test (FLOW_NODE_TYPE_TEST) [M/n/y] m
Node type: timer (FLOW_NODE_TYPE_TIMER) [Y/n/m] y
Node type: timestamp (FLOW_NODE_TYPE_TIMESTAMP) [Y/n/m] y
Node type: trigonometry (FLOW_NODE_TYPE_TRIGONOMETRY) [Y/n/m] y
Node type: unix-socket (FLOW_NODE_TYPE_UNIX_SOCKET) [M/n/y] m
Node type: update (FLOW_NODE_TYPE_UPDATE) [M/n/y/?] m
Node type: wallclock (FLOW_NODE_TYPE_WALLCLOCK) [Y/n/m] y
*
*
Network (NETWORK) [Y/n/?] y
Enable DTLS (Datagram Transport Layer Security) support (DTLS) N/y/? y
Enable some DTLS extra features used by OIC (DTLS_EXTRAS) N/y/? y
CoAP (COAP) [Y/n/?] y
OIC (OIC) Y/n/? y
*
*
OIC_SERVER_COMPAT_1_0 (OIC_SERVER_COMPAT_1_0) N/y/? y
OIC_SERVER_MANUFACTURER_NAME (OIC_SERVER_MANUFACTURER_NAME) Soletta y
OIC_SERVER_MANUFACTURER_URL (OIC_SERVER_MANUFACTURER_URL) https://soletta-project.org y
OIC_SERVER_MODEL_NUMBER (OIC_SERVER_MODEL_NUMBER) Unknown y
OIC_SERVER_MANUFACTURE_DATE (OIC_SERVER_MANUFACTURE_DATE) 2015-01-01
OIC_SERVER_PLATFORM_VERSION (OIC_SERVER_PLATFORM_VERSION) Unknown
OIC_SERVER_HARDWARE_VERSION (OIC_SERVER_HARDWARE_VERSION) Unknown
OIC_SERVER_FIRMWARE_VERSION (OIC_SERVER_FIRMWARE_VERSION) Unknown
OIC_SERVER_SUPPORT_URL (OIC_SERVER_SUPPORT_URL) Unknown
OIC_SERVER_DEVICE_NAME (OIC_SERVER_DEVICE_NAME) Unknown
HTTP Common (HTTP) [Y/n] y
Mavlink (MAVLINK) Y/n/? y
LWM2M (LWM2M) [Y/n/?] y
*
*
CoAP samples (COAP_SAMPLES) [Y/n] y
CoAP client/server samples (COAP_CLIENT_SERVER_SAMPLES) [Y/n] y
OIC samples (OIC_SAMPLES) Y/n y
LWM2M samples (LWM2M_SAMPLES) [Y/n] y
Common samples (COMMON_SAMPLES) [Y/n] y
Linux Micro Init (LINUX_MICRO_INIT_SAMPLE) [Y/n] y
Platform Simple (PLATFORM_SIMPLE_SAMPLE) [Y/n] y
UART (UART_SAMPLE) [Y/n] y
Cryptography & Signatures Samples (CRYPTO_SAMPLES) [Y/n] y
Message Digest (Hash) samples (MESSAGE_DIGEST_SAMPLE) [Y/n] y
HTTP samples (HTTP_SAMPLES) [Y/n] y
Mavlink samples (MAVLINK_SAMPLES) Y/n y
Basic mavlink sample (MAVLINK_BASIC) Y/n/? y
Goto location sample (MAVLINK_GOTO) Y/n/? y
Network samples (NETWORK_SAMPLES) [Y/n] y
Network status (NETWORK_STATUS_SAMPLE) [Y/n] y
Echo server (ECHO_SERVER_SAMPLE) [Y/n] y
Echo client (ECHO_CLIENT_SAMPLE) [Y/n] y
Flow samples (FLOW_SAMPLES) [Y/n] y
Design patterns samples (DESIGN_PATTERN_SAMPLES) [Y/n] y
*
*
arena (TEST_ARENA) [Y/n] y
memdesc (TEST_MEMDESC) [Y/n] y
buffer (TEST_BUFFER) [Y/n] y
coap (TEST_COAP) [Y/n] y
fbp (TEST_FBP) [Y/n] y
fbp scanner (TEST_FBP_SCANNER) [Y/n] y
flow (TEST_FLOW) [Y/n] y
flow builder (TEST_FLOW_BUILDER) [Y/n] y
flow parser (TEST_FLOW_PARSER) [Y/n] y
javascript (TEST_JAVASCRIPT) Y/n y
mainloop (TEST_MAINLOOP) [Y/n] y
mainloop linux (TEST_MAINLOOP_LINUX) [Y/n] y
mainloop implementation (TEST_MAINLOOP_IMPLEMENTATION) [Y/n] y
mainloop threads (TEST_MAINLOOP_THREADS) [Y/n] y
mainloop threads sol run (TEST_MAINLOOP_THREADS_SOL_RUN) [Y/n] y
monitors (TEST_MONITORS) [Y/n] y
str-slice (TEST_STR_SLICE) [Y/n] y
str-split (TEST_STR_SPLIT) [Y/n] y
str-table (TEST_STR_TABLE) [Y/n] y
vector (TEST_VECTOR) [Y/n] y
list (TEST_LIST) [Y/n] y
json (TEST_JSON) [Y/n] y
util (TEST_UTIL) [Y/n] y
util-file (TEST_UTIL_FILE) [Y/n] y
composed-type (TEST_COMPOSED_TYPE) [Y/n] y
crypto message-digest (TEST_MESSAGE_DIGEST) [Y/n] y
Memmap persistence API (TEST_PERSISTENCE_MEMMAP) [Y/n] y
http (TEST_HTTP) [Y/n] y
Certificate API (TEST_CERTIFICATE) [Y/n] y
lwm2m (TEST_LWM2M) [Y/n] y
GEN build/stage/bin/cpp/headers.cc
GEN build/soletta_sysroot/usr/lib//pkgconfig/soletta.pc
GEN build/stage/samples/flow/c-api/custom-node-types-gen.h
INST build/soletta_sysroot/usr/bin/sol-oic-gen.py
INST build/soletta_sysroot/usr/bin/sol-flow-node-type-validate.py
CC build/stage/lib/flow/sol-flow-node-options.o
CC build/stage/lib/flow/sol-flow-packet.o
CC build/stage/lib/flow/sol-flow-simple-c-type.o
CC build/stage/lib/flow/sol-flow-single.o
CC build/stage/lib/flow/sol-flow-static.o
CC build/stage/lib/flow/sol-flow.o
CC build/stage/lib/flow/sol-flow-parser.o
CC build/stage/lib/flow/sol-flow-composed.o
CC build/stage/lib/flow/sol-flow-resolver.o
CC build/stage/lib/flow/sol-flow-builder.o
CC build/stage/lib/flow/sol-flow-modules.o
CC build/stage/lib/flow/sol-flow-parser-dynamic.o
CC build/stage/lib/flow/sol-flow-resolver-conffile.o
CC build/stage/lib/datatypes/sol-arena.o
CC build/stage/lib/datatypes/sol-buffer.o
CC build/stage/lib/datatypes/sol-memdesc.o
CC build/stage/lib/datatypes/sol-str-slice.o
CC build/stage/lib/datatypes/sol-str-table.o
CC build/stage/lib/datatypes/sol-vector.o
CC build/stage/lib/comms/sol-comms.o
CC build/stage/lib/comms/sol-socket.o
CC build/stage/lib/comms/sol-network-impl-linux.o
CC build/stage/lib/comms/sol-network-util-impl-linux.o
CC build/stage/lib/comms/sol-socket-impl-linux.o
CC build/stage/lib/comms/coap.o
CC build/stage/lib/comms/sol-coap.o
CC build/stage/lib/comms/sol-http-common.o
CC build/stage/lib/comms/sol-lwm2m-common.o
CC build/stage/lib/comms/sol-lwm2m-client.o
./src/lib/comms/sol-lwm2m-client.c: In function ‘handle_resource’:
./src/lib/comms/sol-lwm2m-client.c:1546:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
uint8_t obs = 1;
^
CC build/stage/lib/comms/sol-lwm2m-server.o
CC build/stage/lib/comms/sol-lwm2m-bs-server.o
./src/lib/comms/sol-lwm2m-bs-server.c: In function ‘extract_bootstrap_client_info’:
./src/lib/comms/sol-lwm2m-bs-server.c:96:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct sol_str_slice key, value;
^
CC build/stage/lib/comms/sol-lwm2m-security.o
In file included from ./build/soletta_sysroot/usr/include/soletta/sol-util.h:21:0,
from ./src/lib/common/sol-util-internal.h:24,
from ./src/lib/comms/sol-lwm2m-security.c:22:
./src/lib/comms/sol-lwm2m-security.c: In function ‘get_id_from_client’:
./build/soletta_sysroot/usr/include/soletta/sol-buffer.h:204:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
uint8_t name_ ## storage[(size_)] = { 0 };
^
./src/lib/comms/sol-lwm2m-security.c:192:5: note: in expansion of macro ‘SOL_BUFFER_DECLARE_STATIC’
SOL_BUFFER_DECLARE_STATIC(addr_str, SOL_NETWORK_INET_ADDR_STR_LEN);
^
CC build/stage/lib/crypto/sol-crypto.o
CC build/stage/lib/crypto/sol-message-digest-common.o
CC build/stage/lib/crypto/sol-message-digest-impl-linux-kcapi.o
CC build/stage/lib/parsers/sol-json.o
CC build/stage/lib/common/sol-blob.o
CC build/stage/lib/common/sol-mainloop.o
CC build/stage/lib/common/sol-platform.o
CC build/stage/lib/common/sol-types.o
CC build/stage/lib/common/sol-util.o
CC build/stage/lib/common/sol-mainloop-common.o
CC build/stage/lib/common/sol-mainloop-impl-posix.o
CC build/stage/lib/common/sol-platform-impl-linux-micro.o
CC build/stage/lib/common/sol-platform-linux-common.o
CC build/stage/lib/common/sol-file-reader.o
CC build/stage/lib/common/sol-util-impl-linux.o
CC build/stage/lib/common/sol-board-detect.o
CC build/stage/lib/common/sol-pin-mux.o
CC build/stage/lib/common/sol-certificate-impl-linux.o
CC build/stage/lib/common/sol-update.o
CC build/stage/lib/common/sol-util-file.o
CC build/stage/lib/common/sol-power-supply-impl-linux.o
CC build/stage/lib/common/sol-log.o
CC build/stage/lib/common/sol-log-impl-linux.o
CC build/stage/lib/common/sol-worker-thread.o
CC build/stage/lib/common/sol-worker-thread-impl-posix.o
CC build/stage/lib/io/sol-aio-common.o
CC build/stage/lib/io/sol-aio-impl-linux.o
CC build/stage/lib/io/sol-gpio-common.o
CC build/stage/lib/io/sol-gpio-impl-linux.o
CC build/stage/lib/io/sol-pwm-common.o
CC build/stage/lib/io/sol-pwm-impl-linux.o
CC build/stage/lib/io/sol-uart-common.o
CC build/stage/lib/io/sol-uart-impl-linux.o
CC build/stage/lib/io/sol-i2c-common.o
CC build/stage/lib/io/sol-i2c-impl-linux.o
CC build/stage/lib/io/sol-spi-common.o
CC build/stage/lib/io/sol-spi-impl-linux.o
CC build/stage/lib/io/sol-iio.o
./src/lib/io/sol-iio.c: In function ‘set_channel_enabled’:
./src/lib/io/sol-iio.c:388:5: warning: format not a string literal and no format arguments [-Wformat-security]
if (check_file_existence(path)) {
^
./src/lib/io/sol-iio.c: In function ‘get_mount_matrix’:
./src/lib/io/sol-iio.c:660:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
result = craft_filename_path(path, sizeof(path), base, device->device_id);
^
CC build/stage/lib/io/sol-fs-storage.o
CC build/stage/lib/io/sol-efivarfs-storage.o
CC build/stage/lib/io/sol-memmap-storage.o
CC build/stage/lib/io/sol-memmap-storage-impl-linux.o
CC build/stage/shared/sol-modules.o
CC build/stage/shared/sol-monitors.o
CC build/stage/shared/sol-random.o
CC build/stage/shared/sol-fbp-graph.o
CC build/stage/shared/sol-fbp-internal-scanner.o
CC build/stage/shared/sol-fbp-parser.o
CC build/stage/shared/sol-fbp-internal-log.o
CC build/stage/shared/sol-conffile.o
CC build/stage/shared/sol-lib-loader.o
CC build/stage/modules/flow/filter-repeated/filter-repeated.o
CC build/stage/modules/flow/aio/aio.o
CC build/stage/modules/flow/int/int.o
CC build/stage/modules/flow/color/color.o
CC build/stage/modules/flow/platform/platform.o
CC build/stage/modules/flow/trigonometry/trigonometry.o
CC build/stage/modules/flow/pwm/pwm.o
CC build/stage/modules/flow/led-7seg/led-7seg.o
CC build/stage/modules/flow/temperature/temperature.o
CC build/stage/modules/flow/timestamp/timestamp.o
CC build/stage/modules/flow/console/console.o
CC build/stage/modules/flow/float/float.o
CC build/stage/modules/flow/boolean/boolean.o
CC build/stage/modules/flow/random/random.o
CC build/stage/modules/flow/gpio/gpio.o
CC build/stage/modules/flow/constant/constant.o
CC build/stage/modules/flow/switcher/switcher.o
CC build/stage/modules/flow/converter/converter.o
CC build/stage/modules/flow/app/app.o
CC build/stage/modules/flow/wallclock/wallclock.o
CC build/stage/modules/flow/timer/timer.o
CC build/stage/modules/flow/byte/byte.o
CC build/stage/modules/flow/string/string-uuid.o
CC build/stage/modules/flow/string/string-common.o
CC build/stage/modules/flow/string/string-ascii.o
CC build/stage/modules/flow/string/string-replace-ascii.o
AR build/stage/shared/libsolettashared.a
LD build/soletta_sysroot/usr/lib/libsoletta.so
In function ‘__fread_alias’,
inlined from ‘sol_memmap_impl_write_raw’ at ./src/lib/io/sol-memmap-storage-impl-linux.c:135:15:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:290:2: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
return __fread_chk (__ptr, __bos0 (__ptr), __size, __n, __stream);
^
/tmp/ccjHvC1j.ltrans7.ltrans.o: In function
sol_lwm2m_security_add_full.lto_priv.1216': ccjHvC1j.ltrans7.o:(.text+0x30e8): undefined reference to
sol_socket_dtls_set_credentials_callbacks'ccjHvC1j.ltrans7.o:(.text+0x3180): undefined reference to
sol_socket_dtls_set_credentials_callbacks' /tmp/ccjHvC1j.ltrans9.ltrans.o: In function
sol_socket_ip_new':ccjHvC1j.ltrans9.o:(.text+0x44c8): undefined reference to
sol_socket_default_dtls_new' /tmp/ccjHvC1j.ltrans24.ltrans.o: In function
sol_shutdown':ccjHvC1j.ltrans24.o:(.text+0x2a30): undefined reference to
sol_oic_server_shutdown' /tmp/ccjHvC1j.ltrans24.ltrans.o: In function
sol_init':ccjHvC1j.ltrans24.o:(.text+0x33ec): undefined reference to `sol_oic_server_shutdown'
collect2: error: ld returned 1 exit status
tools/build/Makefile.rules:399: recipe for target 'build/soletta_sysroot/usr/lib/libsoletta.so' failed
make: *** [build/soletta_sysroot/usr/lib/libsoletta.so] Error 1
Steps to reproduce
Board information
Host OS and architecture: Linux raspberrypi 4.1.18-v7+ #846 SMP Thu Feb 25 14:22:53 GMT 2016 armv7l GNU/Linux
Target OS and platform: Linux raspberrypi 4.1.18-v7+ #846 SMP Thu Feb 25 14:22:53 GMT 2016 armv7l GNU/Linux
Logs
The text was updated successfully, but these errors were encountered: