Subject: Re: LAME 3.91 Compile Problems
To: Jeff Flowers <email@example.com>
From: Jonathan R. Hinds <firstname.lastname@example.org>
Date: 01/12/2002 11:24:39
On Sat, 12 Jan 2002, Jeff Flowers wrote:
> and I got these errors:
> lame.c:360:warning: 'optimum_samplefreq' defined but not
> /usr/bin/ld: unrecognized option 'WL,--whole-archive'
I had this problem too. You have two options: Use the version in pkgsrc
which would be the best or remove the following lines from the
file 'ltconfig' which is in the top level of the lame source.
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
and then put this in its place:
then run './ltconfig ltmain.sh'
and then configure and make.
ps. This probably isn't the best way to fix it, but it works.