• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rewrite fails to compile
#1
The latest rewrite code fails to compile.

Code:
[ 51%] Building C object CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o
/build/libs/pilight/storage/storage.c: In function 'config_values_update':
/build/libs/pilight/storage/storage.c:138:18: error: 'struct reason_code_sent_t' has no member named 'settings'
    if(strlen(data->settings) > 0) {
                  ^
/build/libs/pilight/storage/storage.c:139:20: error: 'struct reason_code_sent_t' has no member named 'settings'
     settings = data->settings;
                    ^
CMakeFiles/pilight.dir/build.make:3771: recipe for target 'CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o' failed
make[2]: *** [CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o] Error 1
CMakeFiles/Makefile2:130: recipe for target 'CMakeFiles/pilight.dir/all' failed
make[1]: *** [CMakeFiles/pilight.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

This is the complete output.

Code:
$ make
Scanning dependencies of target DSO
[  0%] Building C object CMakeFiles/DSO.dir/tests/libdso.c.o
[  0%] Built target DSO
Scanning dependencies of target dso_shared
Linking C shared library libdso.so
[  0%] Built target dso_shared
Scanning dependencies of target pilight
[  0%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/cipher_wrap.c.o
[  0%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/asn1parse.c.o
[  1%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/sha512.c.o
[  1%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/entropy.c.o
[  1%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ctr_drbg.c.o
[  2%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ecp.c.o
[  2%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ecjpake.c.o
[  2%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/xtea.c.o
[  3%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/rsa.c.o
[  3%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/version.c.o
[  3%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/timing.c.o
[  3%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pkcs11.c.o
[  4%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509_crl.c.o
[  4%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pem.c.o
[  4%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/oid.c.o
[  5%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/bignum.c.o
[  5%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/version_features.c.o
[  5%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/aes.c.o
[  6%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509_create.c.o
[  6%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/md4.c.o
[  6%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_tls.c.o
[  6%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_cache.c.o
[  7%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/havege.c.o
[  7%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/md.c.o
[  7%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/base64.c.o
[  8%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_srv.c.o
[  8%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509_crt.c.o
[  8%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/platform.c.o
[  9%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/arc4.c.o
[  9%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pkcs5.c.o
[  9%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/padlock.c.o
[  9%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_cli.c.o
[ 10%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ecp_curves.c.o
[ 10%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/des.c.o
[ 10%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/md_wrap.c.o
[ 11%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/blowfish.c.o
[ 11%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ccm.c.o
[ 11%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_cookie.c.o
[ 12%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/camellia.c.o
[ 12%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/memory_buffer_alloc.c.o
[ 12%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/hmac_drbg.c.o
[ 12%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_ciphersuites.c.o
[ 13%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/error.c.o
[ 13%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ecdsa.c.o
[ 13%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pk.c.o
[ 14%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509_csr.c.o
[ 14%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pkwrite.c.o
[ 14%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pkcs12.c.o
[ 15%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509write_crt.c.o
[ 15%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/gcm.c.o
[ 15%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/cipher.c.o
[ 16%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/md5.c.o
[ 16%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/dhm.c.o
[ 16%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/sha256.c.o
[ 16%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/net.c.o
[ 17%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/entropy_poll.c.o
[ 17%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509write_csr.c.o
[ 17%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ripemd160.c.o
[ 18%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/asn1write.c.o
[ 18%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/threading.c.o
[ 18%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pkparse.c.o
[ 19%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/x509.c.o
[ 19%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ssl_ticket.c.o
[ 19%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/md2.c.o
[ 19%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/aesni.c.o
[ 20%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/ecdh.c.o
[ 20%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/pk_wrap.c.o
[ 20%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/certs.c.o
[ 21%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/debug.c.o
[ 21%] Building C object CMakeFiles/pilight.dir/libs/mbedtls/sha1.c.o
[ 21%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/xunlong/orangepipc+.c.o
[ 22%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/solidrun/hummingboard_base_pro_dq.c.o
[ 22%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/solidrun/hummingboard_gate_edge_sdl.c.o
[ 22%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/solidrun/hummingboard_gate_edge_dq.c.o
[ 22%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/solidrun/hummingboard_base_pro_sdl.c.o
[ 23%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/raspberrypi/raspberrypi1b2.c.o
[ 23%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/raspberrypi/raspberrypi1b+.c.o
[ 23%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/raspberrypi/raspberrypi2.c.o
[ 24%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/raspberrypi/raspberrypi3.c.o
[ 24%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/raspberrypi/raspberrypizero.c.o
[ 24%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/raspberrypi/raspberrypi1b1.c.o
[ 25%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/platform.c.o
[ 25%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/hardkernel/odroidxu4.c.o
[ 25%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/hardkernel/odroidc1.c.o
[ 25%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/hardkernel/odroidc2.c.o
[ 26%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/lemaker/bananapi1.c.o
[ 26%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/lemaker/bananapim2.c.o
[ 26%] Building C object CMakeFiles/pilight.dir/libs/wiringx/platform/linksprite/pcduino1.c.o
[ 27%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/broadcom/2836.c.o
[ 27%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/broadcom/2835.c.o
[ 27%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/allwinner/h3.c.o
[ 28%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/allwinner/a10.c.o
[ 28%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/allwinner/a31s.c.o
[ 28%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/soc.c.o
[ 29%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/nxp/imx6sdlrm.c.o
[ 29%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/nxp/imx6dqrm.c.o
[ 29%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/samsung/exynos5422.c.o
[ 29%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/amlogic/s805.c.o
[ 30%] Building C object CMakeFiles/pilight.dir/libs/wiringx/soc/amlogic/s905.c.o
[ 30%] Building C object CMakeFiles/pilight.dir/libs/wiringx/wiringX.c.o
[ 30%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrbitbang.c.o
[ 31%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avr.c.o
[ 31%] Building C object CMakeFiles/pilight.dir/libs/avrdude/ser_posix.c.o
[ 31%] Building C object CMakeFiles/pilight.dir/libs/avrdude/fileio.c.o
[ 32%] Building C object CMakeFiles/pilight.dir/libs/avrdude/ser_win32.c.o
[ 32%] Building C object CMakeFiles/pilight.dir/libs/avrdude/pgm.c.o
[ 32%] Building C object CMakeFiles/pilight.dir/libs/avrdude/arduino.c.o
[ 32%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrgpio.c.o
[ 33%] Building C object CMakeFiles/pilight.dir/libs/avrdude/safemode.c.o
[ 33%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrpart.c.o
[ 33%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrconfig.c.o
[ 34%] Building C object CMakeFiles/pilight.dir/libs/avrdude/stk500.c.o
/build/libs/avrdude/stk500.c: In function 'stk500_initpgm':
/build/libs/avrdude/stk500.c:635:22: warning: assignment from incompatible pointer type [enabled by default]
  pgm->cmd            = stk500_cmd;
                      ^
[ 34%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrupd.c.o
[ 34%] Building C object CMakeFiles/pilight.dir/libs/libuv/threadpool.c.o
[ 35%] Building C object CMakeFiles/pilight.dir/libs/libuv/inet.c.o
[ 35%] Building C object CMakeFiles/pilight.dir/libs/libuv/version.c.o
[ 35%] Building C object CMakeFiles/pilight.dir/libs/libuv/fs-poll.c.o
[ 35%] Building C object CMakeFiles/pilight.dir/libs/libuv/uv-common.c.o
[ 36%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/signal.c.o
[ 36%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/linux-inotify.c.o
[ 36%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/loop.c.o
[ 37%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/loop-watcher.c.o
[ 37%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/process.c.o
[ 37%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/fs.c.o
[ 38%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/core.c.o
[ 38%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/poll.c.o
[ 38%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/udp.c.o
[ 38%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/async.c.o
[ 39%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/tty.c.o
[ 39%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/linux-core.c.o
[ 39%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/linux-syscalls.c.o
[ 40%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/tcp.c.o
[ 40%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/pthread-fixes.c.o
[ 40%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/getnameinfo.c.o
[ 41%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/stream.c.o
[ 41%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/dl.c.o
[ 41%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/proctitle.c.o
[ 41%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/pipe.c.o
[ 42%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/timer.c.o
[ 42%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/thread.c.o
[ 42%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/getaddrinfo.c.o
[ 43%] Building C object CMakeFiles/pilight.dir/libs/lirc/config_file.c.o
[ 43%] Building C object CMakeFiles/pilight.dir/libs/lirc/transmit.c.o
[ 43%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/socket.c.o
[ 44%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/pilight.c.o
[ 44%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/cast.c.o
[ 44%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/dso.c.o
[ 45%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/sha256cache.c.o
[ 45%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ssdp.c.o
[ 45%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/common.c.o
[ 45%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/datetime.c.o
[ 46%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/proc.c.o
[ 46%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/gc.c.o
[ 46%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/eventpool.c.o
[ 47%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/json.c.o
[ 47%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ntp.c.o
[ 47%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/CuTest.c.o
[ 48%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/log.c.o
[ 48%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/binary.c.o
[ 48%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/network.c.o
[ 48%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/webserver.c.o
[ 49%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/mem.c.o
[ 49%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/firmware.c.o
[ 49%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ssl.c.o
[ 50%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ping.c.o
[ 50%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/mail.c.o
[ 50%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/http.c.o
[ 51%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/options.c.o
[ 51%] Building C object CMakeFiles/pilight.dir/libs/pilight/storage/json.c.o
[ 51%] Building C object CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o
/build/libs/pilight/storage/storage.c: In function 'config_values_update':
/build/libs/pilight/storage/storage.c:138:18: error: 'struct reason_code_sent_t' has no member named 'settings'
    if(strlen(data->settings) > 0) {
                  ^
/build/libs/pilight/storage/storage.c:139:20: error: 'struct reason_code_sent_t' has no member named 'settings'
     settings = data->settings;
                    ^
CMakeFiles/pilight.dir/build.make:3771: recipe for target 'CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o' failed
make[2]: *** [CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o] Error 1
CMakeFiles/Makefile2:130: recipe for target 'CMakeFiles/pilight.dir/all' failed
make[1]: *** [CMakeFiles/pilight.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
 
Reply
  


Messages In This Thread
rewrite fails to compile - by ma-ca - 06-14-2017, 09:51 AM
RE: rewrite fails to compile - by curlymo - 06-14-2017, 05:33 PM
RE: rewrite fails to compile - by megusto - 07-23-2017, 05:36 PM
RE: rewrite fails to compile - by curlymo - 07-23-2017, 05:49 PM
rewrite fails to compile - by wseifert - 08-30-2017, 01:53 PM
RE: rewrite fails to compile - by curlymo - 08-30-2017, 05:56 PM
RE: rewrite fails to compile - by wseifert - 08-31-2017, 10:58 AM
RE: rewrite fails to compile - by curlymo - 08-31-2017, 05:59 PM
RE: rewrite fails to compile - by Naga - 09-01-2017, 07:21 AM
RE: rewrite fails to compile - by curlymo - 09-01-2017, 09:03 AM
RE: rewrite fails to compile - by wseifert - 09-01-2017, 11:57 AM
rewrite fails to compile IRgpio.c - by ma-ca - 06-30-2017, 03:54 PM
RE: rewrite fails to compile IRgpio.c - by ma-ca - 07-16-2017, 04:58 PM
RE: rewrite fails to compile IRgpio.c - by ma-ca - 07-17-2017, 08:54 AM
RE: rewrite fails to compile IRgpio.c - by ma-ca - 07-26-2017, 05:49 PM
RE: rewrite fails to compile IRgpio.c - by ma-ca - 07-27-2017, 07:04 AM
RE: rewrite fails to compile IRgpio.c - by ma-ca - 07-28-2017, 01:15 PM
RE: rewrite fails to compile IRgpio.c - by Naga - 08-23-2017, 09:32 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  program protocol missing in rewrite Niek 1 764 10-07-2017, 08:55 PM
Last Post: curlymo
  daemon crashes in rewrite ma-ca 1 955 08-05-2017, 03:40 PM
Last Post: curlymo
  dim action fails in rewrite ma-ca 1 788 08-04-2017, 05:16 PM
Last Post: curlymo
  pilight rewrite branch fails to compile ebk 0 1,089 06-30-2017, 01:07 PM
Last Post: ebk
  Rewrite development status TopdRob 1 1,458 12-10-2016, 10:31 PM
Last Post: curlymo
  [fixed] bug fix for ds18b20.c rewrite branch beaming 1 1,420 05-13-2016, 06:27 AM
Last Post: curlymo
  HowTo Move your 3rd party code code from development to rewrite wo_rasp 0 1,257 03-15-2016, 02:10 PM
Last Post: wo_rasp

Forum Jump:


Browsing: 1 Guest(s)