checking for x86_64--netbsd-net-snmp-config... no
checking for net-snmp-config... /usr/pkg/bin/net-snmp-config
checking whether C compiler supports flag "-O2 -D_FORTIFY_SOURCE=2
-Dnetbsd1 -DSOL_IP=IPPROTO_IP -I/usr/include -I/usr/pkg/include
-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2
-D_FORTIFY_SOURCE=2 -Dnetbsd1 -DSOL_IP=IPPROTO_IP -I/usr/include
-I/usr/pkg/include -Unetbsd -Dnetbsd=netbsd -O2 -D_FORTIFY_SOURCE=2
-pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe
-I/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include -DNETSNMP_NO_INLINE
-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lnetsnmpmibs -lkvm -lpcre
-lnetsnmpagent -L/usr/lib/lib -lwrap -Wl,-E
-Wl,-R/usr/pkg/lib/perl5/5.32.0/x86_64-netbsd-thread-multi/CORE
-lnetsnmp -lcrypto -lelf -ldes -lm" from Net-SNMP... no
configure: error: *** incorrect CFLAGS from net-snmp-config
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/net/lldpd
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/lldpd
Let me know if more info is needed to troubleshoot this.
Mike