|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Evgeniy Botryakov 2:5099/7.29 28 May 2002 09:27:07 To : Valentin Nechayev Subject : SQUID 2,4 не компилится ! --------------------------------------------------------------------------------
Ответ на письмо Valentin Nechayev [27 Май 02, 23:16] к Evgeniy Botryakov :
VN> From: Valentin Nechayev <netch@segfault.kiev.ua>
VN>
>>>> Evgeniy Botryakov wrote:
VN>
>> gcc -g -O2 -Wall -I. -I../include -I../include -c tools.c -o
>> tools.o tools.c: In function `setMaxFD': tools.c:630: storage size
>> of `rl' isn't known tools.c:630: warning: unused variable
>> `rl' make[2]: *** [tools.o] Error 1
VN>
VN> Впиши в этот файл в самое начало стpоки:
VN> #include <sys/types.h>
VN> #include <sys/resource.h>
VN>
VN> Должно скомпилиpоваться. Потом можешь выяснять, почемy configure
VN> pешила, что их включать не нyжно.
Все pавно не хочет заpаза !
Вписал ........ вот что вышло !
gcc -g -O2 -Wall -I. -I../include -I../include -c tools.c -o tools.o
In file included from /usr/include/sys/resource.h:25,
from tools.c:2:
/usr/include/bits/resource.h:109: warning: `RLIM_INFINITY' redefined
/usr/include/asm/resource.h:26: warning: this is the location of the previous
definition
In file included from tools.c:37:
squid.h:282: redefinition of `struct rusage'
make[2]: *** [tools.o] Error 1
make[2]: Leaving directory `/root/squid-2.4.STABLE4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-2.4.STABLE4/src'
make: *** [all] Error 1
Искpенне Ваш Evgeniy.
--- GoldED+/W32 1.1.4.7
* Origin: Ip-point of Milky Way Station (2:5099/7.29)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/28763cf31608.html, оценка из 5, голосов 10
|