Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Aug 1997 09:12:11 -0700
From:      John Polstra <jdp@polstra.com>
To:        john@helium.vapornet.com
Cc:        stable@freebsd.org
Subject:   Re: broked stable
Message-ID:  <199708081612.JAA00716@austin.polstra.com>
In-Reply-To: <199708081456.JAA14434@argon.vapornet.com>
References:  <199708081456.JAA14434@argon.vapornet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199708081456.JAA14434@argon.vapornet.com>,
John Preisler  <john@helium.vapornet.com> wrote:
> 
> recent changes to gun/usr.bin/ld break -stable.  world is current as of yesterday.
> 
> 
> 
> ===> ld/rtld
> cc -O -I/usr/src/gnu/usr.bin/ld/rtld/.. -I/usr/src/gnu/usr.bin/ld/rtld -I/usr/src/gnu/usr.bin/ld/rtld/../i386 -fpic -fno-function-cse -DRTLD   -c /usr/src/gnu/usr.bin/ld/rtld/../i386/mdprologue.S
> cc -O -I/usr/src/gnu/usr.bin/ld/rtld/.. -I/usr/src/gnu/usr.bin/ld/rtld -I/usr/src/gnu/usr.bin/ld/rtld/../i386 -fpic -fno-function-cse -DRTLD   -c /usr/src/gnu/usr.bin/ld/rtld/rtld.c
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c:211: warning: excess elements in struct initializer after `ld_entry'
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c: In function `rtld':
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c:415: `LDSO_VERSION_HAS_DLSYM3' undeclared (first use this function)
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c:415: (Each undeclared identifier is reported only once
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c:415: for each function it appears in.)
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c: In function `__dlsym':
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c:1910: `RTLD_NEXT' undeclared (first use this function)
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c: In function `__dlsym3':
> /usr/src/gnu/usr.bin/ld/rtld/rtld.c:1929: `RTLD_NEXT' undeclared (first use this function)
> *** Error code 1

Hmm ... your "cc" lines _should_ contain "-I/usr/obj/.../tmp/usr/include".
Why don't they??

Are you sure you did a full make world without cheating in any way?
I tried it here and didn't have any problems.  Perhaps you have some
stale dependencies?

LDSO_VERSION_HAS_DLSYM3 is defined by <link.h>.  RTLD_NEXT is
defined by <dlfcn.h>.  Both of these should have gotten installed
by the "includes" target, long before rtld was built.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



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