Re: [squid-users] Error in chpasswd.cgi

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 17 Jul 2007 20:33:28 +0200

edit line 602 and make the declaration of strip_latin static (just add
the word static infront of it)

tis 2007-07-17 klockan 10:46 -0400 skrev Osmany:
> Hi,
>
> I get this error when I run a "make" to install the chpasswd.cgi. What shall
> I do?
>
> 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:687: error: la declaración static de ‘strip_latin’ a continuación
> de una no static
> chpasswd.c:602: error: la declaración implícita previa de ‘strip_latin’
> estaba aquí
> make: *** [chpasswd.o] Error 1
>
>
>

Received on Tue Jul 17 2007 - 12:33:40 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT