[sisyphus] nws-utils

Damir Shayhutdinov =?iso-8859-1?q?damir_=CE=C1_tecon=2Eru?=
Вт Фев 21 18:38:54 MSK 2006


On Tue, Feb 21, 2006 at 06:30:27PM +0300, Шенцев Алексей Владимирович wrote:
> Вытянул сабж из orphaned. Нужно вытащить данные с рухнувшего сервера netware.
> Попытался тупо пересобрать. Получил:
> make: Entering directory `/home/ashen/RPM/BUILD/nwfs-utils-0803'
> gcc -pipe -Wall -O2 -march=pentium4 -g -c nwvfs.c
> In file included from /usr/include/linux/klist.h:16,
>                  from /usr/include/linux/device.h:17,
>                  from /usr/include/linux/genhd.h:15,
>                  from globals.h:706,
>                  from nwvfs.c:53:
> /usr/include/linux/completion.h:15: error: syntax error before
> "wait_queue_head_t"
> /usr/include/linux/completion.h: In function `init_completion':
> /usr/include/linux/completion.h:26: error: dereferencing pointer to
>  incomplete type
> /usr/include/linux/completion.h:27: error: dereferencing pointer to
>  incomplete type
> и т.д.
> Как это исправить?
Добавьте в globals.h в начало следующую строчку:
#include <sys/wait.h>

-- 
WBR,
Damir Shayhutdinov



Подробная информация о списке рассылки Sisyphus