Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 11:34:17 -0700 (PDT)
From:      Sergio Jimenez Romero <TripleDES@eSlack.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/37151: pam compile problem in -CURRENT
Message-ID:  <200204161834.g3GIYHl07964@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37151
>Category:       i386
>Synopsis:       pam compile problem in -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 16 11:40:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204161834.g3GIYHl07964>