[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#434040: libdebian-installer: type declaration conflict



Package: libdebian-installer
Version: 0.52
Severity: serious

While compiling kbd-chooser on sparc64, I got the following errors.
Looks like there's some conflict with linux-libc-dev (2.6.22-1)?


In file included from /usr/include/debian-installer/types.h:29,
                 from /usr/include/debian-installer/exec.h:26,
                 from /usr/include/debian-installer.h:5,
                 from ksyms.c:5:
/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
/usr/include/sys/types.h:67: error: conflicting types for ‘gid_t’
/usr/include/linux/types.h:27: error: previous declaration of ‘gid_t’ was here
/usr/include/sys/types.h:72: error: conflicting types for ‘mode_t’
/usr/include/linux/types.h:15: error: previous declaration of ‘mode_t’ was here
/usr/include/sys/types.h:77: error: conflicting types for ‘nlink_t’
/usr/include/linux/types.h:16: error: previous declaration of ‘nlink_t’ was here
/usr/include/sys/types.h:82: error: conflicting types for ‘uid_t’
/usr/include/linux/types.h:26: error: previous declaration of ‘uid_t’ was here
/usr/include/sys/types.h:116: error: conflicting types for ‘daddr_t’
/usr/include/linux/types.h:19: error: previous declaration of ‘daddr_t’ was here
In file included from /usr/include/sys/types.h:133,
                 from /usr/include/debian-installer/types.h:29,
                 from /usr/include/debian-installer/exec.h:26,
                 from /usr/include/debian-installer.h:5,
                 from ksyms.c:5:
/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 /usr/include/sys/types.h:220,
                 from /usr/include/debian-installer/types.h:29,
                 from /usr/include/debian-installer/exec.h:26,
                 from /usr/include/debian-installer.h:5,
                 from ksyms.c:5:
/usr/include/sys/select.h:49: error: conflicting types for ‘suseconds_t’
/usr/include/linux/types.h:21: error: previous declaration of ‘suseconds_t’ was here
/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 /usr/include/debian-installer/types.h:29,
                 from /usr/include/debian-installer/exec.h:26,
                 from /usr/include/debian-installer.h:5,
                 from ksyms.c:5:
/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

Attachment: pgpe46WAbF1gz.pgp
Description: PGP signature


Reply to: