Bug building winbind authenticators (2) - PATCH

From: Guido Serassio <serassio@dont-contact.us>
Date: Thu, 23 May 2002 13:03:01 +0200

Hi,

I'm trying both winbind authenticators, basic and NTLM.
I have found a problem compiling it: in Makefile is missing the -lsocket
reference,
adding manually to wb_auth_LDADD all compiles fine.

THis are the patches:

Index: Makefile.am
===================================================================
RCS file: /cvsroot/squid/squid/src/auth/basic/helpers/winbind/Makefile.am,v
retrieving revision 1.2.6.1
diff -u -p -r1.2.6.1 Makefile.am
--- Makefile.am 20 May 2002 17:35:03 -0000 1.2.6.1
+++ Makefile.am 23 May 2002 11:00:00 -0000
@@ -8,4 +8,4 @@ libexec_PROGRAMS = wb_auth
  wb_auth_SOURCES = wb_basic_auth.c wb_common.c
  INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
      -I$(top_srcdir)/src
-LDADD = -L$(top_builddir)/lib -lmiscutil -lntlmauth
+LDADD = -L$(top_builddir)/lib -lmiscutil -lntlmauth -lsocket

Index: Makefile.am
===================================================================
RCS file: /cvsroot/squid/squid/src/auth/ntlm/helpers/winbind/Makefile.am,v
retrieving revision 1.2.6.1
diff -u -p -r1.2.6.1 Makefile.am
--- Makefile.am 20 May 2002 17:35:04 -0000 1.2.6.1
+++ Makefile.am 23 May 2002 11:01:52 -0000
@@ -8,4 +8,4 @@ libexec_PROGRAMS = wb_ntlmauth
  wb_ntlmauth_SOURCES = wb_ntlm_auth.c wb_common.c
  INCLUDES = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
      -I$(top_srcdir)/src
-LDADD = -L$(top_builddir)/lib -lmiscutil -lntlmauth -lm
+LDADD = -L$(top_builddir)/lib -lmiscutil -lntlmauth -lm -lsocket

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Thu May 23 2002 - 05:04:31 MDT

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