olivier
Developer
Hi,
I'm trying to compile lldpd under FreeBSD.
And I meet a problem because this software use linux/ethtool.h.
What is the equivalent lib under FreeBSD ?
Thanks,
I'm trying to compile lldpd under FreeBSD.
And I meet a problem because this software use linux/ethtool.h.
What is the equivalent lib under FreeBSD ?
Thanks,
Code:
===> Building for lldpd-0.4.0_1
make all-recursive
Making all in src
cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-strict-aliasing -MT frame.o -MD -MP -MF .deps/frame.Tpo -c -o fr
ame.o frame.c
In file included from frame.c:17:
lldpd.h:37:27: error: linux/ethtool.h: No such file or directory
In file included from frame.c:17:
lldpd.h:271: error: 'ETH_ALEN' undeclared here (not in a function)
lldpd.h:451: warning: 'struct ethtool_cmd' declared inside parameter list
lldpd.h:451: warning: its scope is only this definition or declaration, which is probably not what you want
lldpd.h:454: warning: 'struct sockaddr_un' declared inside parameter list
lldpd.h:451: warning: its scope is only this definition or declaration, which is probably not what you want [0/56]
lldpd.h:454: warning: 'struct sockaddr_un' declared inside parameter list
*** Error code 1