Bug 19792 - redefinition of 'struct flock'
Summary: redefinition of 'struct flock'
Alias: None
Product: Sisyphus
Classification: Development
Component: glibc-kernheaders (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
Depends on:
Reported: 2009-04-27 14:09 MSD by Sergey V Turchin
Modified: 2009-04-27 16:47 MSD (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V Turchin 2009-04-27 14:09:05 MSD
Некоторые пакеты перестали собираться с ошибкой

/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock'
/usr/include/bits/fcntl.h:145: error: previous definition of 'struct flock'
/usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct flock64'
/usr/include/bits/fcntl.h:160: error: previous definition of 'struct flock64'
Comment 1 Kirill A. Shutemov 2009-04-27 14:29:36 MSD
Подробней, какие пакеты?
Comment 2 Sergey V Turchin 2009-04-27 14:36:31 MSD
Например kdelibs и kdepim
Comment 3 Kirill A. Shutemov 2009-04-27 14:44:55 MSD
Там, случаем <linux/inotify.h> не используется? Если так, то поробуй изменить на <sys/inotify.h>
Comment 5 Kirill A. Shutemov 2009-04-27 15:36:05 MSD
Проверил на kdepim. Подтвердилось.
Comment 6 Sergey V Turchin 2009-04-27 16:47:14 MSD