Search squid archive

[squid-users] Re: chpasswd.cgi: 'make' error (error: conflicting types for)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I downloaded chpasswd-cgi.tar.gz from squid.cache.org/htpasswd/

I was getting following error when running make for chpasswd.cgi

chpasswd.c:248: error: conflicting types for 'getword'
chpasswd.c:136: error: previous implicit declaration of 'getword' was here
chpasswd.c:266: error: conflicting types for 'Herror'
chpasswd.c:156: error: previous implicit declaration of 'Herror' was here
chpasswd.c:283: error: conflicting types for 'Hmsg'
chpasswd.c:101: error: previous implicit declaration of 'Hmsg' was here
chpasswd.c:294: error: conflicting types for 'putline'
chpasswd.c:219: error: previous implicit declaration of 'putline' was here
chpasswd.c:322: error: conflicting types for 'Changed'
chpasswd.c:230: error: previous implicit declaration of 'Changed' was here
chpasswd.c:341: error: conflicting types for 'NotFound'
chpasswd.c:232: error: previous implicit declaration of 'NotFound' was here
chpasswd.c:658: error: conflicting types for 'rulefail'
chpasswd.c:644: error: previous implicit declaration of 'rulefail' was here
chpasswd.c:692: error: conflicting types for 'strip_latin'
chpasswd.c:607: error: previous implicit declaration of 'strip_latin' was here
chpasswd.c:820: error: conflicting types for 'sendmail'
chpasswd.c:612: error: previous implicit declaration of 'sendmail' was here


As Henrik Suggested, after adding these three lines, first six line vanished. 

void getword(char *word, char *line, char stop);
void Herror(char *msg, FILE * fpw, FILE * tmp);
void putline(FILE *,char *);

But others still exists (for - Hmsg putline Changed NotFound rulefail
strip_latin & sendmail)
May anyone suggest the declaration statement for these variables, please.
TIA

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux