• 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
pilight rewrite branch fails to compile
#1
Hi,

I'm trying to set up pilight on my Odroid C1. I successfuly built wiringX (rewrite Branch) and installed it. However building pilight (also rewrite branch) fails.

This is the output:
Code:
Scanning dependencies of target pilight
[  0%] Building C object CMakeFiles/pilight.dir/libs/avrdude/arduino.c.o
[  1%] Building C object CMakeFiles/pilight.dir/libs/avrdude/ser_posix.c.o
[  1%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrgpio.c.o
[  2%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrconfig.c.o
[  2%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrpart.c.o
[  3%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avr.c.o
[  3%] Building C object CMakeFiles/pilight.dir/libs/avrdude/fileio.c.o
[  4%] Building C object CMakeFiles/pilight.dir/libs/avrdude/ser_win32.c.o
[  4%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrupd.c.o
[  5%] Building C object CMakeFiles/pilight.dir/libs/avrdude/avrbitbang.c.o
[  5%] Building C object CMakeFiles/pilight.dir/libs/avrdude/stk500.c.o
[  6%] Building C object CMakeFiles/pilight.dir/libs/avrdude/pgm.c.o
[  6%] Building C object CMakeFiles/pilight.dir/libs/avrdude/safemode.c.o
[  7%] Building C object CMakeFiles/pilight.dir/libs/libuv/version.c.o
[  7%] Building C object CMakeFiles/pilight.dir/libs/libuv/inet.c.o
[  8%] Building C object CMakeFiles/pilight.dir/libs/libuv/uv-common.c.o
[  8%] Building C object CMakeFiles/pilight.dir/libs/libuv/threadpool.c.o
[  9%] Building C object CMakeFiles/pilight.dir/libs/libuv/fs-poll.c.o
[  9%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/pthread-fixes.c.o
[ 10%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/loop.c.o
[ 10%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/linux-inotify.c.o
[ 11%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/getaddrinfo.c.o
[ 11%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/core.c.o
[ 12%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/signal.c.o
[ 12%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/process.c.o
[ 13%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/loop-watcher.c.o
[ 13%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/thread.c.o
[ 14%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/stream.c.o
[ 14%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/timer.c.o
[ 15%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/tcp.c.o
[ 15%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/udp.c.o
[ 16%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/poll.c.o
[ 16%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/linux-core.c.o
[ 17%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/pipe.c.o
[ 17%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/tty.c.o
[ 18%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/linux-syscalls.c.o
[ 18%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/proctitle.c.o
[ 19%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/async.c.o
[ 19%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/dl.c.o
[ 20%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/getnameinfo.c.o
[ 20%] Building C object CMakeFiles/pilight.dir/libs/libuv/unix/fs.c.o
[ 21%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/proc.c.o
[ 21%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/mail.c.o
[ 22%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/http.c.o
[ 22%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/eventpool.c.o
[ 23%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/json.c.o
[ 23%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ssl.c.o
[ 24%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/CuTest.c.o
[ 24%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/cast.c.o
[ 25%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/datetime.c.o
[ 25%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/sha256cache.c.o
[ 26%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/network.c.o
[ 26%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/log.c.o
[ 27%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ntp.c.o
[ 27%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/gc.c.o
[ 28%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/common.c.o
[ 28%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/webserver.c.o
[ 29%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/socket.c.o
[ 29%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ping.c.o
[ 30%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/firmware.c.o
[ 30%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/mem.c.o
[ 31%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/ssdp.c.o
[ 31%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/dso.c.o
[ 32%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/pilight.c.o
[ 32%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/arp.c.o
[ 33%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/binary.c.o
[ 33%] Building C object CMakeFiles/pilight.dir/libs/pilight/core/options.c.o
[ 34%] Building C object CMakeFiles/pilight.dir/libs/pilight/storage/json.c.o
[ 34%] Building C object CMakeFiles/pilight.dir/libs/pilight/storage/storage.c.o
/root/pilight/libs/pilight/storage/storage.c: In function ‘devices_gc’:
/root/pilight/libs/pilight/storage/storage.c:2890:16: error: ‘struct device_t’ has no member named ‘action_thread’
   if(tmp_device->action_thread != NULL) {
                ^
In file included from /root/pilight/libs/pilight/storage/../core/pilight.h:45:0,
                 from /root/pilight/libs/pilight/storage/../core/common.h:31,
                 from /root/pilight/libs/pilight/storage/storage.c:33:
/root/pilight/libs/pilight/storage/storage.c:2891:19: error: ‘struct device_t’ has no member named ‘action_thread’
    FREE(tmp_device->action_thread);
                   ^
/root/pilight/libs/pilight/storage/../core/mem.h:30:33: note: in definition of macro ‘FREE’
#define FREE(a) __free((void *)(a), __FILE__, __LINE__),(a)=NULL
                                 ^
/root/pilight/libs/pilight/storage/storage.c:2891:19: error: ‘struct device_t’ has no member named ‘action_thread’
    FREE(tmp_device->action_thread);
                   ^
/root/pilight/libs/pilight/storage/../core/mem.h:30:58: note: in definition of macro ‘FREE’
#define FREE(a) __free((void *)(a), __FILE__, __LINE__),(a)=NULL
                                                          ^
/root/pilight/libs/pilight/storage/../core/mem.h:30:56: warning: left-hand operand of comma expression has no effect [-Wunused-value]
#define FREE(a) __free((void *)(a), __FILE__, __LINE__),(a)=NULL
                                                        ^
/root/pilight/libs/pilight/storage/storage.c:2891:4: note: in expansion of macro ‘FREE’
    FREE(tmp_device->action_thread);
    ^
/root/pilight/libs/pilight/storage/storage.c: In function ‘storage_gc’:
/root/pilight/libs/pilight/storage/storage.c:2918:5: error: ‘jrules_cache’ undeclared (first use in this function)
  if(jrules_cache != NULL) {
     ^
/root/pilight/libs/pilight/storage/storage.c:2918:5: note: each undeclared identifier is reported only once for each function it appears in
CMakeFiles/pilight.dir/build.make:1549: 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

Any help to fix this is highly appreciated.

Many thanks in advance.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  program protocol missing in rewrite Niek 1 612 10-07-2017, 08:55 PM
Last Post: curlymo
  rewrite fails to compile ma-ca 24 4,543 09-01-2017, 11:57 AM
Last Post: wseifert
  daemon crashes in rewrite ma-ca 1 778 08-05-2017, 03:40 PM
Last Post: curlymo
  dim action fails in rewrite ma-ca 1 629 08-04-2017, 05:16 PM
Last Post: curlymo
  Test pilight clients curlymo 0 1,156 01-14-2017, 01:19 PM
Last Post: curlymo
  Rewrite development status TopdRob 1 1,305 12-10-2016, 10:31 PM
Last Post: curlymo
  [fixed] bug fix for ds18b20.c rewrite branch beaming 1 1,241 05-13-2016, 06:27 AM
Last Post: curlymo
  [Solved] openSUSE 13.2 "pilight-daemon -H" segfault pilino1234 2 1,829 04-22-2016, 08:39 AM
Last Post: pilino1234
  [Solved] pilight-receive fills log with empty DEBUG messages pilino1234 1 1,558 04-12-2016, 07:29 PM
Last Post: curlymo
  HowTo Move your 3rd party code code from development to rewrite wo_rasp 0 1,109 03-15-2016, 02:10 PM
Last Post: wo_rasp

Forum Jump:


Browsing: 1 Guest(s)