Решено: Проблемы при компиляции (proftpd-1.3.1rc3)

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Аватара пользователя
GunMan
Сообщения: 38
ОС: Gentoo

Решено: Проблемы при компиляции

Сообщение GunMan »

Код: Выделить всё

gunman proftpd-1.3.1rc3 # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/usr/src/proftpd-1.3.1rc3/lib'
gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c pr_fnmatch.c
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:31,
                 from ../include/conf.h:95,
                 from pr_fnmatch.c:38:
/usr/include/asm/types.h:6: error: conflicting types for 'mode_t'
/usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was here
make[1]: *** [pr_fnmatch.o] Error 1
make[1]: Leaving directory `/usr/src/proftpd-1.3.1rc3/lib'
make: *** [lib] Error 2
gunman proftpd-1.3.1rc3 #


Собственно вот, из этого я делаю вывод, что ему не нравится повтор переменной mode_t или функции... Вот из каких это пакетов:
sys-kernel/linux-headers (/usr/include/asm/types.h)
sys-libs/glibc (/usr/include/sys/types.h)
Пересобирал linux-headers binutils gcc-config gcc glibc - не помогло.

В чем проблема?
rm / -rf
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: Решено: Проблемы при компиляции

Сообщение serzh-z »

Спасибо сказали: