[Bug 357194] New: Conflicting types in glibc/linux headers
https://bugzilla.novell.com/show_bug.cgi?id=357194 Summary: Conflicting types in glibc/linux headers Product: openSUSE 11.0 Version: Alpha 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: pbaudis@novell.com ReportedBy: prusnak@novell.com QAContact: qa@suse.de Found By: --- When trying to build xfce4-battery-plugin: In file included from ./libapm.h:21, from battery.c:39: /usr/include/sys/types.h:46: error: conflicting types for 'loff_t' /usr/include/linux/types.h:30: error: previous declaration of 'loff_t' was here /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here In file included from /usr/include/sys/types.h:133, from ./libapm.h:21, from battery.c:39: /usr/include/time.h:105: error: conflicting types for 'timer_t' /usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here In file included from ./libapm.h:21, from battery.c:39: /usr/include/sys/types.h:198: error: conflicting types for 'int64_t' /usr/include/linux/types.h:98: error: previous declaration of 'int64_t' was here /usr/include/sys/types.h:204: error: conflicting types for 'u_int64_t' /usr/include/linux/types.h:97: error: previous declaration of 'u_int64_t' was here In file included from /usr/include/sys/types.h:220, from ./libapm.h:21, from battery.c:39: /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /usr/include/linux/types.h:12: error: previous declaration of 'fd_set' was here In file included from ./libapm.h:21, from battery.c:39: /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t' /usr/include/linux/types.h:124: error: previous declaration of 'blkcnt_t' was here Something is messed up with linux/glibc headers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=357194
User trenn@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=357194#c1
Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=357194
User prusnak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=357194#c2
--- Comment #2 from Pavol Rusnak
BTW: What is xfce4-battery-plugin good for?
It is XFCE panel plugin to show battery status (either using apm or acpi).
Probably also because of including linux/apm_bios.h?
libapm.h bundled with xfce4-battery-plugin also includes linux/apm_bios.h -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=357194
User prusnak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=357194#c3
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=357194
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com