[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 <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trenn@novell.com --- Comment #1 from Thomas Renninger <trenn@novell.com> 2008-01-31 02:14:36 MST --- powersave package shows the same. Probably also because of including linux/apm_bios.h? Maybe we should redeclare things needed from apm_bios.h, instead of including a kernel header? Petr could you have a short look at this and advise whether we should fix this up inside the package(s) or not. BTW: What is xfce4-battery-plugin good for? -- 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#c2 --- Comment #2 from Pavol Rusnak <prusnak@novell.com> 2008-01-31 02:45:36 MST --- (In reply to comment #1 from Thomas Renninger)
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 <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Pavol Rusnak <prusnak@novell.com> 2008-03-18 05:58:13 MST --- Fixed with latest submit of linux-kernel-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 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Development -- 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.
participants (1)
-
bugzilla_noreply@novell.com