From owner-freebsd-bugs Tue Mar 30 14: 0:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EA5D71506D for ; Tue, 30 Mar 1999 14:00:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id OAA45502; Tue, 30 Mar 1999 14:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B77CB14C25; Tue, 30 Mar 1999 13:52:53 -0800 (PST) Message-Id: <19990330215253.B77CB14C25@hub.freebsd.org> Date: Tue, 30 Mar 1999 13:52:53 -0800 (PST) From: ganssauge@mpwsoftware.de To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/10880: Profiler libraries missing Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10880 >Category: bin >Synopsis: Profiler libraries missing >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 30 14:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Gottfried Ganssauge >Release: 3.1-STABLE >Organization: M.P.W.LASEC Software >Environment: FreeBSD borstel.gg 3.1-STABLE FreeBSD 3.1-STABLE #1: Sun Mar 28 23:29:04 CEST 1999 Root@borstel2.gg:/sd0/src/sys/compile/borstel i386 (Root@borstel /usr/local/bin 121) >Description: When trying to build samba-2.0.3 with profiling enabled (-pg) I'm getting errors from the linker about missing symbols in libpam. Closer inspection reveals that there is no profiled version of libpam. >How-To-Repeat: 1. Within /usr/ports/net/sambo do 'make configure' 2. edit work/samba-2.0.3/source/Makefile and edit the Lines defining the Makros CFLAGS and LDFLAGS. 3. On both lines add -pg for profiling. 4. On the LDFLAGS line add -static for static linking. 5. type make. If you omit step 5 you get a different error message amounting to a similar problem with different libraries. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message