• 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
AdHoc network with 2 Raspberry and 2 GPIO transmitter not working
#16
(09-02-2017, 03:44 PM)curlymo Wrote: Error is quit clear right

What do you mean "quit clear right" ? Typo? Or do you mean that I have to install lua?

Quote:root@pilight:/home/pi/pilight# whereis lua
lua: /usr/bin/lua5.1 /usr/bin/lua /usr/share/man/man1/lua.1.gz
root@pilight:/home/pi/pilight#

Werner

I think I found the lua issue reason (CMakeLists.txt line 298):

a white space:
Quote: find_library(CMAKE_LUA_LIBS_INIT
NAME lua lua5 lua 5.1 lua5.2 lua5.3

working code:
Quote: find_library(CMAKE_LUA_LIBS_INIT
NAME lua lua5 lua5.1 lua5.2 lua5.3

removing the white space removes the lua error, but another error pops up:

Quote:[ 91%] Building C object CMakeFiles/pilight-sha256.dir/sha256.c.o
[ 91%] Linking C executable pilight-sha256
libpilight.so: undefined reference to `luaL_setfuncs'
collect2: error: ld returned 1 exit status
CMakeFiles/pilight-sha256.dir/build.make:100: recipe for target 'pilight-sha256' failed
make[2]: *** [pilight-sha256] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/pilight-sha256.dir/all' failed
make[1]: *** [CMakeFiles/pilight-sha256.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Werner
 
Reply
  


Messages In This Thread
RE: AdHoc network with 2 Raspberry and 2 GPIO transmitter not working - by wseifert - 09-02-2017, 03:54 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  ERROR: The Broadcom 2835 GPIO 0 is not set to output mode stuckinger 10 1,722 05-07-2019, 09:11 PM
Last Post: curlymo
  Issue send actions over Socket API in AdHoc network ggtrts 10 1,755 03-13-2019, 06:32 AM
Last Post: curlymo
  433 mhz receiver working on Raspberry pi with a hack knex 3 2,499 01-21-2018, 06:28 PM
Last Post: curlymo
Bug Bug report: WIFI dongle stops when gpio_switch.gpio = 20 woutput 16 6,704 01-03-2018, 10:11 PM
Last Post: zackdvd
  pilight on RPi with latest Arch stopped working Ypsilon 12 5,869 12-17-2017, 12:43 PM
Last Post: tinusv
  pilight-raw working in nightly? Cipher 8 2,476 08-30-2017, 09:35 PM
Last Post: curlymo
  development, orangepi pc+, "no gpio-platform configured" Twain 1 2,595 06-01-2017, 05:51 PM
Last Post: curlymo
  glibc 2.24 / kernel 4.8.x breaks things on raspberry pi? Forumkel 0 1,002 12-11-2016, 02:25 PM
Last Post: Forumkel
  Reset of GPIO ports / Detection of mobile phone NormBot 1 1,666 09-02-2016, 08:30 AM
Last Post: wo_rasp
  BUG: BMP180 in AdHoc Network Alex 5 1,995 06-19-2016, 02:24 PM
Last Post: Alex

Forum Jump:


Browsing: 1 Guest(s)