• 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
  Staging does not compile with new backtrace? akloeckner 1 30 05-16-2021, 07:48 AM
Last Post: akloeckner
  hardware info lost after pilight restart Rschnauzer 3 139 03-17-2021, 11:44 AM
Last Post: Rschnauzer
Question pilight stopped working sl4m01 3 799 11-26-2020, 09:17 PM
Last Post: PPacman
  pilight-raw changes output format from 7 to 8 Rschnauzer 1 561 11-26-2020, 01:52 PM
Last Post: curlymo
Question pilight nightly webgui offline after some hours fleisch 4 549 10-26-2020, 05:19 PM
Last Post: fleisch
  rpi3 Buster Compile Error Nikau 9 2,297 03-26-2020, 08:47 AM
Last Post: tvdgeer
  pilight bugs Ascenion 1 584 03-23-2020, 06:29 PM
Last Post: curlymo
  [Solved] pilight service crashing on first webserver access after reboot VrahoK 20 4,014 12-21-2019, 09:46 AM
Last Post: curlymo
  pilight-control modify values coolinx 16 3,210 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 2,771 10-07-2019, 08:15 PM
Last Post: blackzombie

Forum Jump:


Browsing: 1 Guest(s)