hello,

I have trouble with compiling the NCSA - authentication module.
here are the warnings

test:/squidsrc/auth_modules/NCSA # make
gcc -O -g -I. -I../../include -I/squidsrc/include    -c -o ncsa_auth.o ncsa_auth.c
ncsa_auth.c: In function `read_passwd_file':
ncsa_auth.c:77: warning: built-in function `strcmp' used without declaration
ncsa_auth.c:87: warning: assignment makes pointer from integer without a cast
ncsa_auth.c:88: warning: assignment makes pointer from integer without a cast
ncsa_auth.c: In function `main':
ncsa_auth.c:102: storage size of `sb' isn't known
ncsa_auth.c:117: warning: assignment makes pointer from integer without a cast
ncsa_auth.c:125: warning: assignment makes pointer from integer without a cast
ncsa_auth.c:129: warning: assignment makes pointer from integer without a cast
make: *** [ncsa_auth.o] Error 1
test:/squidsrc/auth_modules/NCSA #

here the makefile parameters

prefix          = /squidsrc
exec_prefix     = /squidsrc
exec_suffix     = 
cgi_suffix      = .cgi
top_srcdir      = /squidsrc
bindir          = /usr/src
libexecdir      = /usr/libexec
sysconfdir      = /etc
localstatedir   = /var
srcdir          = /squidsrc/auth_modules/NCSA
VPATH           = /squidsrc

# Gotta love the DOS legacy
#
NCSA_AUTH_EXE   = ncsa_auth$(exec_suffix)

DEFAULT_PASSWD_FILE     = $(sysconfdir)/squidpasswd

CC              = gcc
MAKEDEPEND      = @MAKEDEPEND@
INSTALL         = @INSTALL@
INSTALL_BIN     = @INSTALL_PROGRAM@
INSTALL_FILE    = @INSTALL_DATA@
INSTALL_SUID    = @INSTALL_PROGRAM@ -o root -m 4755
RANLIB          = @RANLIB@
LN_S            = @LN_S@
PERL            = /usr/bin/perl
CRYPTLIB        = @CRYPTLIB@
REGEXLIB        = @REGEXLIB@
PTHREADLIB      = @PTHREADLIB@
SNMPLIB         = @SNMPLIB@
MALLOCLIB       = @LIB_MALLOC@
AC_CFLAGS       = -O -g
LDFLAGS         = -O -g
XTRA_LIBS       = @XTRA_LIBS@
XTRA_OBJS       = @XTRA_OBJS@
MV              = /bin/mv
RM              = /bin/rm
SHELL           = /bin/sh

sorry, but I am new with linux and C and would be very pleased
if you give me a hint to solve my problem !
I don't really understand what the parameters mean, so I tried
them out !

Is there any possibility to use the linux - users ?

thanks in advance !

-- am

Reply via email to