From nobody@FreeBSD.ORG Tue Mar 30 13:52:53 1999
Return-Path: <nobody@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
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Profiler libraries missing
X-Send-Pr-Version: www-1.0

>Number:         10880
>Category:       bin
>Synopsis:       Profiler libraries missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 30 14:00:00 PST 1999
>Closed-Date:    Wed May 23 14:26:04 PDT 2001
>Last-Modified:  Wed May 23 14:26:17 PDT 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 23 14:26:04 PDT 2001 
State-Changed-Why:  
Overtaken by events. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=10880 
>Unformatted:
