[Pkg-fcoe-general] Bug#790647: FTBFS with GCC 5: inline function 'get_prio_map' declared but never defined

Martin Michlmayr tbm at hp.com
Tue Jun 30 14:17:59 UTC 2015


Package: lldpad
Version: 0.9.46-3
Severity: serious
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

This package fails to compile with GCC 5.

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c4n1.hlinux.usa.hp.com
...
> gcc -DPACKAGE_NAME=\"lldpad\" -DPACKAGE_TARNAME=\"lldpad\" -DPACKAGE_VERSION=\"0.9.46\" -DPACKAGE_STRING=\"lldpad\ 0.9.46\" -DPACKAGE_BUGREPORT=\"lldp-devel at open-lldp.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lldpad\" -DVERSION=\"0.9.46\" -DYYTEXT_POINTER=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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ALARM=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_INET_NTOA=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRPBRK=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1 -DHAVE_ARPA_INET_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_
> H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CHOWN=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I.  -I./include -DSYSCONFDIR="\"/etc\"" -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -Wall -Werror -Wextra -Wformat=2  -I/usr/include/libnl3  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -c -o lldpad.o lldpad.c
> In file included from lldpad.c:58:0:
> ./include/lldp_8021qaz.h:237:12: error: inline function 'ieee8021qaz_clif_cmd' declared but never defined [-Werror]
>  inline int ieee8021qaz_clif_cmd(void *data, struct sockaddr_un *from,
>             ^
> ./include/lldp_8021qaz.h:222:13: error: inline function 'set_prio_map' declared but never defined [-Werror]
>  inline void set_prio_map(u32 *prio_map, u8 prio, int tc);
>              ^
> ./include/lldp_8021qaz.h:221:12: error: inline function 'get_prio_map' declared but never defined [-Werror]
>  inline int get_prio_map(u32 prio_map, int tc);
>             ^
> cc1: all warnings being treated as errors
> Makefile:831: recipe for target 'lldpad.o' failed
> make[1]: *** [lldpad.o] Error 1

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard



More information about the Pkg-fcoe-general mailing list