[Goodies-dev] [Bug 3938] New: Compilation error due to conflicting types in /usr/include/sys and /usr/include/linux
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Mon Mar 10 21:56:16 CET 2008
DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the person
whose email is mentioned below. To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3938
Summary: Compilation error due to conflicting types in
/usr/include/sys and /usr/include/linux
Product: Xfce Panel Plugins
Version: unspecified
Platform: PC (x86_64)
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: battery
AssignedTo: goodies-dev at xfce.org
ReportedBy: adscvr at gmail.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b3)
Gecko/2008030818 Firefox/3.0b3
Build Identifier:
I can't remember when I started to have this problem. I believe it was when
upgrading kernel sources to 2.6.24. I've had this error message when I tried to
compile the sources:
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:57: 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:19: 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:28: 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:125: 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:124: 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:18: 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:151: error: previous declaration of 'blkcnt_t' was
here
make[2]: *** [xfce4_battery_plugin-battery.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This is the only thing that I can't compile. I use SVN. I have 2.6.24.3 kernel
and GCC 4.2.3.
Reproducible: Always
Steps to Reproduce:
1. Download SVN tree.
2. Try to compile the sources.
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Goodies-dev
mailing list