From nobody@FreeBSD.org  Tue Apr 16 11:34:20 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 987F437B422
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Apr 2002 11:34:17 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g3GIYHl07964;
	Tue, 16 Apr 2002 11:34:17 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200204161834.g3GIYHl07964@freefall.freebsd.org>
Date: Tue, 16 Apr 2002 11:34:17 -0700 (PDT)
From: Sergio Jimenez Romero <TripleDES@eSlack.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pam compile problem in -CURRENT
X-Send-Pr-Version: www-1.0

>Number:         37151
>Category:       i386
>Synopsis:       pam compile problem in -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 16 11:40:00 PDT 2002
>Closed-Date:    Wed Apr 17 12:03:11 PDT 2002
>Last-Modified:  Wed Apr 17 12:03:11 PDT 2002
>Originator:     Sergio Jimenez Romero
>Release:        5.0-CURRENT
>Organization:
HispaBSD
>Environment:
FreeBSD thor.tripledes.net 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat Apr 13 17:19:19 CEST 2002     root@thor.tripledes.net:/usr/obj/usr/src/sys/THOR  i386
>Description:
I'm trying to compile pam sources, they have been update at 20:00 GMT+01 (more or less). After I change two includes in "/usr/src/lib/libpam/modules/pam_unix/pam_unix.c", it compiles fine until this moment:

building shared library pam_unix.so.2
/usr/libexec/elf/ld: cannot find -lypclnt
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/src/lib/libpam/modules/pam_unix.
*** Error code 1

Stop in /usr/src/lib/libpam/modules.
*** Error code 1

Stop in /usr/src/lib/libpam.

At this point, end.

Changes made at pam_unix.c :

thor# diff -u pam_unix.c pam_unix.c.me 
--- pam_unix.c  Tue Apr 16 20:33:05 2002
+++ pam_unix.c.me       Tue Apr 16 20:32:48 2002
@@ -45,7 +45,7 @@
 
 #include <login_cap.h>
 #include <netdb.h>
-#include <pwd.h>
+#include </usr/src/include/pwd.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -56,7 +56,7 @@
 #include <pw_util.h>
 
 #ifdef YP
-#include <ypclnt.h>
+#include </usr/src/lib/libypclnt/ypclnt.h>
 #endif

>How-To-Repeat:
      
>Fix:
I don't know how fix it, if someone knows, please send mail to freebsd-current@freebsd.org
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Apr 17 12:02:30 PDT 2002 
State-Changed-Why:  

It is expected that those who run -current will subscribe to, and 
read, both freebsd-current and cvs-all. This problem was discussed 
there, along with the solution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37151 
>Unformatted:
