UPDATED: Re: [SQU] ntlm branch compile fails (valid.o)

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 30 Nov 2000 09:10:04 +1100

Oops. Caught a gmakeism

please use this diff as well...

=
Index: Makefile.in
===================================================================
RCS file: /cvsroot/squid/squid/ntlm_auth_modules/NTLMSSP/Attic/Makefile.in,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 Makefile.in
--- Makefile.in 2000/08/03 23:39:26 1.1.2.3
+++ Makefile.in 2000/11/29 22:00:56
@@ -44,7 +44,7 @@
 $(OBJS): $(top_srcdir)/include/version.h ntlm.h

 $(NTLM_AUTH_EXE): $(OBJS) smbval/smbvalid.a
- $(CC) $(LDFLAGS) $^ -o $@ $(AUTH_LIBS)
+ $(CC) $(LDFLAGS) $(OBJS) smbval/smbvalid.a -o $@ $(AUTH_LIBS)

 smbval/smbvalid.a: smbval/stamp
=

----- Original Message -----
From: "Chris Ptacek" <ptacek@ptacek.net>
To: <squid-users@ircache.net>
Sent: Tuesday, November 28, 2000 4:49 PM
Subject: [SQU] ntlm branch compile fails (valid.o)

> I am trying to compile the ntlm-squid on FreeBSD 3.5.1 and am having
> problems.
> My procedure and the errors are below.
>
> I have checked out the ntlm brach of squid
>
> >cvs -z3 -d:pserver:anonymous@cvs.squid.sourceforge.net:/cvsroot/squid co
> squid
>
> Then I did
> >autoconf (errors)
> configure.in:881: warning: AC_TRY_RUN called without default to allow cross
> compiling
> configure.in:977: warning: AC_TRY_RUN called without default to allow cross
> compiling
> configure.in:978: warning: AC_TRY_RUN called without default to allow cross
> compiling
> configure.in:979: warning: AC_TRY_RUN called without default to allow cross
> compiling
> configure.in:1253: warning: AC_TRY_RUN called without default to allow cross
> compiling
>
> >autoheader
> configure.in:881: warning: AC_TRY_RUN called without default to allow cross
> compiling
> configure.in:1253: warning: AC_TRY_RUN called without default to allow cross
> compiling
>
> I then do
> >./configure --enable-ntlm-auth-modules=NTLMSSP
>
> Then,
> >make
>
> The error I get ends with:
> Making all in icons...
> Making all in errors...
> Making all in auth_modules...
> Making all in ntlm_auth_modules...
> gcc -g -02 -Wall -I. -I../../include -I./smbval -I../../include -c
> ntlm_auth.c
> gcc -g -02 -Wall -I. -I../../include -I./smbval -I../../include -c
> libntlmssp.c
> libntlmssp.c: In function 'make_challenge':
> libntlmssp.c:202: warning: assignment discards 'const' from pointer target
> type
> smbval/smblib-priv.h: At top level:
> smbval/smblib-priv.h:513: warning" 'SMD_Types' defined but not used
> make: don't know how to make valid.o Stop
> *** Error code 2
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
>
>
>
>
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Nov 29 2000 - 15:04:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:39 MST