From owner-freebsd-questions@FreeBSD.ORG Tue Jun 6 10:16:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E83316B160 for ; Tue, 6 Jun 2006 10:16:28 +0000 (UTC) (envelope-from sk@old.elego.de) Received: from birch.elego.de (birch.elego.de [213.239.204.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id A24F443D45 for ; Tue, 6 Jun 2006 10:16:27 +0000 (GMT) (envelope-from sk@old.elego.de) Received: from localhost (localhost [127.0.0.1]) by birch.elego.de (8.12.3/8.12.3) with ESMTP id k56AGQiO031272; Tue, 6 Jun 2006 12:16:26 +0200 Received: from birch.elego.de ([127.0.0.1]) by localhost (birch.elego.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31055-03-5; Tue, 6 Jun 2006 12:16:25 +0200 (CEST) Received: from birch.elego.de (localhost [127.0.0.1]) by birch.elego.de (8.12.3/8.12.3) with ESMTP id k56AGNlS031234 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 6 Jun 2006 12:16:23 +0200 Received: (from uucp@localhost) by birch.elego.de (8.12.3/8.12.3) with UUCP id k56AGNNE031232; Tue, 6 Jun 2006 12:16:23 +0200 Received: from old.elego.de (localhost.elego.de [127.0.0.1]) by old.elego.de (8.13.1/8.13.1) with ESMTP id k56AGc7W048329; Tue, 6 Jun 2006 12:16:38 +0200 (CEST) (envelope-from sk@old.elego.de) Received: (from sk@localhost) by old.elego.de (8.13.1/8.13.1/Submit) id k56AGZDr048328; Tue, 6 Jun 2006 12:16:35 +0200 (CEST) (envelope-from sk) Date: Tue, 6 Jun 2006 12:16:35 +0200 From: Stefan Kuttler To: openssl-users@openssl.org Message-ID: <20060606101635.GA47805@elego.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: 'foo bar 2.0' X-Md5: d41d8cd98f00b204e9800998ecf8427e X-Virus-Scanned: by amavis (elego Software Solutions GmbH) Cc: freebsd-questions@freebsd.org Subject: [misc] demos/bio/Makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 10:16:32 -0000 Hi all, Well, for me the Makefile in demos/bio was broken, because it wants to link against static libraries of openssl. For *users* that do not want to built a static version, or have strange PATH settings, this little patch makes it working so one can start hacking :) --- /tmp/openssl-0.9.8b/demos/bio/Makefile.broken.fbsd Tue Jun 6 04:26:07 2006 +++ /tmp/openssl-0.9.8b/demos/bio/Makefile Tue Jun 6 11:55:52 2006 @@ -1,16 +1,15 @@ CC=cc CFLAGS= -g -I../../include -LIBS= -L../.. ../../libssl.a ../../libcrypto.a +LIBS= -L../.. -lssl -lcrypto EXAMPLES=saccept sconnect all: $(EXAMPLES) saccept: saccept.o - $(CC) -o saccept saccept.o $(LIBS) + $(CC) $(CFLAGS) -o saccept saccept.o $(LIBS) sconnect: sconnect.o - $(CC) -o sconnect sconnect.o $(LIBS) + $(CC) $(CLFAGS) -o sconnect sconnect.o $(LIBS) clean: - rm -f $(EXAMPLES) *.o - + rm -f $(EXAMPLES) *.o *.core using FreeBSD 6.1-RELEASE -- Gruss Stefan Kuttler (B.O.F.H.) .ooO=Ooo. https://www.netbeisser.de GPG Fingerprint: E7AC 1E9B 87D8 5BD2 E2F2 6F4A 3177 ED68 8185 480C