NIKoVITus
25-03-2005, 16:11
ОС Mandrake 10.1
Скачал с squid-cache.org cgi-утилиту для смены паролей к Сквиду. Во время компиляции возникают след. ошибки:
gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 -DPREFIX=\"/usr/local/etc/chpasswd\" -DEnglish chpasswd.c
chpasswd.c:243: error: conflicting types for 'getword'
chpasswd.c:131: error: previous implicit declaration of 'getword' was here
chpasswd.c:261: error: conflicting types for 'Herror'
chpasswd.c:151: error: previous implicit declaration of 'Herror' was here
chpasswd.c:278: error: conflicting types for 'Hmsg'
chpasswd.c:96: error: previous implicit declaration of 'Hmsg' was here
chpasswd.c:289: error: conflicting types for 'putline'
chpasswd.c:214: error: previous implicit declaration of 'putline' was here
chpasswd.c:317: error: conflicting types for 'Changed'
chpasswd.c:225: error: previous implicit declaration of 'Changed' was here
chpasswd.c:336: error: conflicting types for 'NotFound'
chpasswd.c:227: error: previous implicit declaration of 'NotFound' was here
chpasswd.c:653: error: conflicting types for 'rulefail'
chpasswd.c:639: error: previous implicit declaration of 'rulefail' was here
chpasswd.c:687: error: conflicting types for 'strip_latin'
chpasswd.c:602: error: previous implicit declaration of 'strip_latin' was here
chpasswd.c:815: error: conflicting types for 'sendmail'
chpasswd.c:607: error: previous implicit declaration of 'sendmail' was here
make: *** [chpasswd.o] Ошибка 1
В чем проблема? Вернее как исправить? Кому удалось установить?
Скачал с squid-cache.org cgi-утилиту для смены паролей к Сквиду. Во время компиляции возникают след. ошибки:
gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 -DPREFIX=\"/usr/local/etc/chpasswd\" -DEnglish chpasswd.c
chpasswd.c:243: error: conflicting types for 'getword'
chpasswd.c:131: error: previous implicit declaration of 'getword' was here
chpasswd.c:261: error: conflicting types for 'Herror'
chpasswd.c:151: error: previous implicit declaration of 'Herror' was here
chpasswd.c:278: error: conflicting types for 'Hmsg'
chpasswd.c:96: error: previous implicit declaration of 'Hmsg' was here
chpasswd.c:289: error: conflicting types for 'putline'
chpasswd.c:214: error: previous implicit declaration of 'putline' was here
chpasswd.c:317: error: conflicting types for 'Changed'
chpasswd.c:225: error: previous implicit declaration of 'Changed' was here
chpasswd.c:336: error: conflicting types for 'NotFound'
chpasswd.c:227: error: previous implicit declaration of 'NotFound' was here
chpasswd.c:653: error: conflicting types for 'rulefail'
chpasswd.c:639: error: previous implicit declaration of 'rulefail' was here
chpasswd.c:687: error: conflicting types for 'strip_latin'
chpasswd.c:602: error: previous implicit declaration of 'strip_latin' was here
chpasswd.c:815: error: conflicting types for 'sendmail'
chpasswd.c:607: error: previous implicit declaration of 'sendmail' was here
make: *** [chpasswd.o] Ошибка 1
В чем проблема? Вернее как исправить? Кому удалось установить?