hiho,
today I wanted to compile dhcpv6 but it ended with a
make: *** [netlink.o] Error 1
output of make:
gcc -g -O2 -I. -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DHAVE_LIBRESOLV=1 -DHAVE_GETADDRINFO=1
-DHAVE_GETNAMEINFO=1 -DHAVE_IF_NAMETOINDEX=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1
-DHAVE_IFADDRS_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1
-DGETPGRP_VOID=1 -DSETPGRP_VOID=1 -DRETSIGTYPE=void
-DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1
-DHAVE_ANSI_FUNC=1 -DHAVE_STDARG_H=1
-DCONF_DH6OPT_DNS_RESOLVERS=25
-DCONF_DH6OPT_DOMAIN_LIST=26 -DCONF_DH6OPT_IA_PD=30
-DCONF_DH6OPT_IAPREFIX=31 -c -o netlink.o netlink.c
netlink.c: In function `get_if_flags':
netlink.c:164: `IFLA_INET6_CACHEINFO' undeclared (first
use in this function)
netlink.c:164: (Each undeclared identifier is reported
only once
netlink.c:164: for each function it appears in.)
netlink.c:165: warning: unreachable code at beginning
of switch statement
make: *** [netlink.o] Fehler 1
If you need more output or any debug stuff, just mail
me: bjoern-spam at jbhosting.de
Cheers
Bjoern
Logged In: YES
user_id=1065268
The IFLA_INET6_CACHEINFO case has no handling code...I'd just
remove it