From owner-freebsd-questions Tue Aug 5 13:48:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA04196 for questions-outgoing; Tue, 5 Aug 1997 13:48:49 -0700 (PDT) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04186 for ; Tue, 5 Aug 1997 13:48:44 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.5/8.6.12) with SMTP id NAA13520; Tue, 5 Aug 1997 13:47:56 -0700 (PDT) Date: Tue, 5 Aug 1997 13:47:53 -0700 (PDT) From: Annelise Anderson To: Mario Sergio Fujikawa Ferreira cc: freebsd-questions@freebsd.org Subject: Re: wu-ftpd doesn't tar or compress In-Reply-To: <199708051751.OAA26535@srv1-bsb.gns.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 5 Aug 1997, Mario Sergio Fujikawa Ferreira wrote: > > I have the source. I added LDFLAGS= -STATIC to the Makefile but it > > doesn't do anything. Here's the Makefile; I would appreciate some > > help on what to do to it, as I have no idea. > > > > # @(#)Makefile 8.2 (Berkeley) 4/17/94 > > > > PROG= compress > > SRCS= compress.c zopen.c > > LINKS= ${BINDIR}/compress ${BINDIR}/uncompress > > MLINKS= compress.1 uncompress.1 > > > > # XXX zopen is not part of libc > > # MAN3=zopen.3 > > > > .include > > Same over here. > I tried to static compile the /usr/src compress source shipped > with 2.2-stable and I always end up with 0 bytes files.Z. > > Regards, > Mario Ferreira. > I think my initial mistake was doing the make in the /usr/src/usr.bin/compress directory; it probably needs to be done in /usr/src/usr.bin, where in the Makefile there first one would want to limit the lists of subdirectories to compress (otherwise all the other stuff will get made too). Beyond that I haven't figured it out yet.... Annelise