• 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
Bug Report: pilight will not compile if the ARP protocol is not specified
#1
I read in another thread that you prefer bug reports as forums posts. So here we go:

I was trying to compile pilight with the minimum possible protocols. I was having an issue, after compilation, where linking pilight-control would fail with the following error messages:

/usr/bin/gcc -rdynamic -funwind-tables -lunwind -Ofast -mfloat-abi=hard -mfpu=vfp -march=armv6 -ffast-math -Wfloat-equal -Wshadow -Wpointer-arith -Wcast-align -Wstrict-overflow=5 -Wwrite-strings -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wformat=2 -g -Wall -Wconversion -Wunreachable-code -Wstrict-prototypes -Wl,-rpath=/usr/local/lib/,-rpath=/usr/lib/,-rpath=/lib/ CMakeFiles/pilight-control.dir/control.c.o -o pilight-control -rdynamic libpilight.so -ldl -lm -lpthread -lrt -ldl -lunwind

libpilight.so: undefined reference to `pcap_sendpacket'
libpilight.so: undefined reference to `pcap_dispatch'
libpilight.so: undefined reference to `pcap_close'
libpilight.so: undefined reference to `pcap_open_live'
libpilight.so: undefined reference to `pcap_geterr'
libpilight.so: undefined reference to `pcap_get_selectable_fd'
libpilight.so: undefined reference to `pcap_setnonblock'
collect2: ld returned 1 exit status


After I enabled the ARP protocol I was able to link the pilight-control executable.
 
Reply
#2
Check if the issue is still there with the latest dev code.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-control modify values coolinx 16 283 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 318 10-07-2019, 08:15 PM
Last Post: blackzombie
  rpi3 Buster Compile Error Nikau 4 302 08-18-2019, 09:08 AM
Last Post: curlymo
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 194 08-13-2019, 05:43 PM
Last Post: curlymo
  pilight Nano USB interface curlymo 228 100,449 07-10-2019, 06:14 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 10,975 03-14-2019, 09:01 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 3,164 02-15-2019, 06:22 PM
Last Post: polo
  v8.1.3 compile error without https fourty2 3 563 11-21-2018, 08:02 PM
Last Post: fourty2
  pilight-debug shows nothing minhdomanh 3 613 10-18-2018, 07:01 AM
Last Post: felfert
  Missing generic protocol to store A value rorie 6 567 10-16-2018, 11:42 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)