Subject: Re: LAME 3.91 Compile Problems
To: Jeff Flowers <jeff@jeffreyf.net>
From: Jonathan R. Hinds <jon@fork.yi.org>
List: netbsd-users
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
> used
> /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
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience
'"$wlarc"'--no-whole-archive'
else
whole_archive_flag_spec=
fi
----
and then put this in its place:
----
whole_archive_flag_spec=
---
then run './ltconfig ltmain.sh'
and then configure and make.
ps. This probably isn't the best way to fix it, but it works.
--jon