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

From: ptacek <ptacek@dont-contact.us>
Date: Mon, 29 Nov 1999 09:55:43 -0800 (PST)

I tried GNU make (gmake) and it got past the valid.o problem but ended up
with an error of:
gcc -g -O2 -Wall -c smbencrypt.c -o smbencrypt.o
smbencrypt.c:27: sys/vfs.h: No such file or directory
gmake: *** [smbencrypt.o] Error 1

 - Chris

The make file in the smbval directory is:

# Generated automatically from Makefile.in by configure.
# makefile for smblib
# Type make system, where system is ULTRIX, DU, DECOSF1, Solaris etc

prefix = /usr/local/squid
exec_prefix = ${prefix}
exec_suffix =
top_srcdir = ../../..
bindir = ${exec_prefix}/bin
srcdir = .

CC = gcc
MAKEDEPEND = /usr/X11R6/bin/makedepend
INSTALL = /usr/bin/install -c
INSTALL_BIN = ${INSTALL}
INSTALL_FILE = ${INSTALL} -m 644
RANLIB = ranlib
AC_CFLAGS = -g -O2 -Wall
LDFLAGS = -g
XTRA_LIBS = -lm
RM = /bin/rm
AR = /usr/bin/ar

CFLAGS = $(AC_CFLAGS) $(INCLUDE) $(DEFINES)
# CFLAGS = -fpic -g

INCLUDES = smblib.h smblib-priv.h

RFCNB = session.o rfcnb-util.o rfcnb-io.o

OBJS = smblib.o smblib-util.o file.o smb-errors.o exper.o smblib-api.o
smbencrypt.o smbdes.o md4.o

VALIDATE = valid.o session.o rfcnb-util.o \
           rfcnb-io.o smblib-util.o smblib.o smbencrypt.o smbdes.o md4.o

.SUFFIXES: .c .o .h

dummy: all

smbvalid.a: $(VALIDATE)
        $(AR) rcs smbvalid.a $(VALIDATE)

all: smbvalid.a

.c.o: $(INCLUDES)

clean:
        $(RM) -f *.o smbvalid.a *~

----- Original Message -----
From: "Chemolli Francesco (USI)" <ChemolliF@GruppoCredit.it>
To: "'Chris Ptacek'" <ptacek@ptacek.net>; <squid-users@ircache.net>
Sent: Tuesday, November 28, 2000 12:02 AM
Subject: RE: [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.
>
> ...
>
> > make: don't know how to make valid.o Stop
>
> Weird.
> Might it happen that the smbval library uses any GNU-make-isms?
> Could you try compiling with GNU make? If that fails, could
> you mail me the Makefile in the smbval directory?
>
> --
> /kinkie
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 28 2000 - 10:10:13 MST

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