[РЕШЕНО] Ошибка в app-pda/pilot-link-0.12.3-r1

Цитата:
creating pilot-read-veo
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I../include -I/usr/include -O3 -march=pentium4 -pipe -fomit-frame-pointer -MT pilot-reminders.o -MD -MP -MF .deps/pilot-reminders.Tpo -c -o pilot-reminders.o pilot-reminders.c
mv -f .deps/pilot-reminders.Tpo .deps/pilot-reminders.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -Wl,-O1 -o pilot-reminders pilot-reminders.o libpiuserland.la -lpopt ../libpisock/libpisock.la
gcc -O3 -march=pentium4 -pipe -fomit-frame-pointer -Wl,-O1 -o .libs/pilot-reminders pilot-reminders.o ./.libs/libpiuserland.a /usr/lib/libpopt.so ../libpisock/.libs/libpisock.so /usr/lib/libusb.so -lpthread
creating pilot-reminders
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I../include -I/usr/include -O3 -march=pentium4 -pipe -fomit-frame-pointer -MT pilot-schlep.o -MD -MP -MF .deps/pilot-schlep.Tpo -c -o pilot-schlep.o pilot-schlep.c
pilot-schlep.c: В функции ‘Fetch’
pilot-schlep.c:41: ошибка: ‘S_IRUSR’ undeclared (first use in this function)
pilot-schlep.c:41: ошибка: (Each undeclared identifier is reported only once
pilot-schlep.c:41: ошибка: for each function it appears in.)
pilot-schlep.c:41: ошибка: ‘S_IWUSR’ undeclared (first use in this function)
make[3]: *** [pilot-schlep.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/work/pilot-link-0.12.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/work/pilot-link-0.12.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/work/pilot-link-0.12.3'
make: *** [all] Error 2
*
* ERROR: app-pda/pilot-link-0.12.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4883: Called die
* The specific snippet of code:
* emake -j1 || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/temp/environment'.
*
!!! When you file a bug report, please include the following information:
GENTOO_VM= CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge app-pda/pilot-link-0.12.3-r1, Log file:

>>> '/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/temp/build.log'

* Messages for package app-pda/pilot-link-0.12.3-r1:

*
* ERROR: app-pda/pilot-link-0.12.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4883: Called die
* The specific snippet of code:
* emake -j1 || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-pda/pilot-link-0.12.3-r1/temp/environment'.

Но в app-pda/pilot-link-0.12.3 такой ошибки нет...

В pilot-schlep.c надо

В pilot-schlep.c надо добавить #include <unistd.h>. Если лено добавлять, то можно сделать CPPFLAGS="-include /usr/include/unistd.h" emerge ...

Пробовал и так и так - не

Пробовал и так и так - не помогло. Все равно выскочила та же ошибка без изменений. Нужен другой вариант

http://bugs.gentoo.org/attach

Вот спасибо!

Вот спасибо!

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".