Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 1999 17:34:55 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        dscheidt@enteract.com
Cc:        current@freebsd.org
Subject:   Re: World breakage in libpam?
Message-ID:  <199912030134.RAA13551@vashon.polstra.com>
In-Reply-To: <Pine.NEB.3.96.991126160857.12278B-100000@shell-3.enteract.com>
References:  <Pine.NEB.3.96.991126160857.12278B-100000@shell-3.enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.NEB.3.96.991126160857.12278B-100000@shell-3.enteract.com>,
David Scheidt  <dscheidt@enteract.com> wrote:
> Seeing this trying to build world, cvsup'd earlier today.
> 
> cc -O -pipe -static -DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING
> -Wall  -I/usr/src/libexec/ftpd/../../contrib-crypto/telnet -DINTERNAL_LS
> -Dmain=ls_main -I/usr/src/libexec/ftpd/../../bin/ls
> -I/usr/obj/usr/src/tmp/usr/include  -o ftpd ftpd.o ftpcmd.o logwtmp.o
> popen.o skey-stuff.o ls.o cmp.o print.o stat_flags.o util.o  -lskey -lmd
> -lcrypt -lutil -lpam
> /usr/obj/usr/src/tmp/usr/lib/libpam.a(pam_static_modules.o): In function
> `_pam_get_static_sym':
> pam_static_modules.o(.text+0x299): undefined reference to
> `rad_create_request'
> pam_static_modules.o(.text+0x2af): undefined reference to `rad_strerror'
> pam_static_modules.o(.text+0x2cc): undefined reference to `rad_put_string'
> pam_static_modules.o(.text+0x2e9): undefined reference to `rad_put_string'
...

I think it's because of the "-static" in the link command.  I don't
have time to find the fix at the moment, but if you look at
src/bin/login you might be able to work it out yourself.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


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




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