Your message dated Thu, 26 Jan 2012 13:42:10 +0100 with message-id <[email protected]> and subject line Re: Bug#657435: libnl-dev: provided header "object.h" contains a inline declaration without definition has caused the Debian Bug report #657435, regarding libnl-dev: provided header "object.h" contains a inline declaration without definition to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 657435: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657435 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libnl-dev Version: 1.1-7 Severity: normal Tags: patch Dear Maintainer, the provided header "netlink/object.h" contains a "extern inline" definition of "nl_object_priv()". There is no declaration for this function. Using "netlink/object.h" directly or even through other header of the package induce a nasty compiler warning: /usr/include/netlink/object.h:58: error: inline function 'nl_object_priv' declared but never defined Simply removing the declaration solves the issue. Patch below: ---8<--- --- a/include/netlink/object.h +++ b/include/netlink/object.h @@ -55,7 +55,6 @@ /* Access Functions */ extern int nl_object_get_refcnt(struct nl_object --- *); extern struct nl_cache * nl_object_get_cache(struct nl_object *); -extern inline void * nl_object_priv(struct nl_object *); #ifdef __cplusplus } ---8<--- Regards Benedikt Spranger -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libnl-dev depends on: ii libnl1 1.1-7 libnl-dev recommends no packages. Versions of packages libnl-dev suggests: ii libnl-doc 1.1-7 -- no debconf information
--- End Message ---
--- Begin Message ---Hi, On 26.01.2012 09:40, Benedikt Spranger wrote: > Package: libnl-dev > Version: 1.1-7 > Severity: normal > Tags: patch > > Dear Maintainer, > the provided header "netlink/object.h" contains a "extern inline" > definition of "nl_object_priv()". There is no declaration for this > function. Using "netlink/object.h" directly or even through other > header of the package induce a nasty compiler warning: > > /usr/include/netlink/object.h:58: error: inline function > 'nl_object_priv' declared but never defined > > Simply removing the declaration solves the issue. > Patch below: > ---8<--- > --- a/include/netlink/object.h > +++ b/include/netlink/object.h > @@ -55,7 +55,6 @@ > /* Access Functions */ > extern int nl_object_get_refcnt(struct nl_object > --- *); > extern struct nl_cache * nl_object_get_cache(struct nl_object *); > -extern inline void * nl_object_priv(struct nl_object *); > > #ifdef __cplusplus > } > ---8<--- > I'm not sure you are looking at the right file: # grep nl_object_priv /usr/include/netlink/object.h extern void * nl_object_priv(struct nl_object *); See the changelog: libnl (1.1-7) unstable; urgency=low ... * debian/patches/remove_inline_specifier.patch - Remove 'inline' for nl_object_priv() in include/netlink/object.h and lib/object.c to not trigger compiler warnings with -std=gnu99. Patch courtesy of Jamie Strandboge. Closes: #546474 -- Michael Biebl <[email protected]> Fri, 01 Jul 2011 00:33:40 +0200 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---

