Bug#667984: libgtop2: FTBFS(kfreebsd): __printflike undefined

Robert Millan rmh at debian.org
Sat Apr 7 20:35:57 UTC 2012


El 7 d’abril de 2012 22:25, Steven Chamberlain <steven at pyro.eu.org> ha escrit:
> There is no corresponding __printflike definition in
> /usr/include/i386-kfreebsd-gnu/sys/cdefs.h

Would be great if we could have __printflike in <sys/cdefs.h>, but we
can't add it there (this file is part of Glibc).

>> /usr/include/sys/conf.h:281:3: error: expected declaration specifiers before ‘__printflike’
>> /usr/include/sys/conf.h:299:16: error: storage class specified for parameter ‘cdevpriv_dtr_t’

This section of <sys/conf.h> is protected by "#ifdef _KERNEL".

It means something in userland is defining that macro. That's very
wrong! _KERNEL is only supposed to be defined when building kernel
image or modules.

Can you find the culprit?

-- 
Robert Millan






More information about the pkg-gnome-maintainers mailing list