Ken Moffat wrote:
On Sun, May 14, 2017 at 08:34:59PM -0500, Bruce Dubbs wrote:
Ken Moffat wrote:
I saw a comment from someone (Roger?) about build failures in
vorbis-tools, but I can't find it. For the past few months I've
been using ld.gold on almost everything, and for that I had to force
vorbis-tools to use -lm. But last week I finally got around to
testing gold against ld.bfd and concluded that it gave no benefit.
So I stripped out all my workarounds for gold.
Today, with LFS/BLFS as of yesterday, in vorbis-tools I got
undefined reference to symbol 'sin@GLIBC_2.2.5'
The fix is the same:
LDFLAGS="${LDFLAGS} -lm" ./configure ...
That is *not* the failure which Roger (?) saw, and he (or whoever it
was) apparently successfully buildt it by hand. No idea why it
works for you guys without that change.
I had not built vorbis-tools until just now. It does build for me without
complaint, but I also have curl installed and removed the --without-curl
option.
Looking at the log, something, perhaps curl, is pulling -lm in for me.
That's interesting: my script had not mentioned curl, so I added
the --enable-curl switch from the book, but that made no difference.
And yes, I do have curl installed.
Good game, isn't it.
Do you want me to send you my log?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page