Re: Compile libmp3lame for x86 on arm?

Kris Fedorenko via Lame-dev <[email protected]> Thu, 24 Mar 2022 19:15:09 +0000
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <BN8PR05MB6577859093B0B388D6CF9CF5CD199@BN8PR05MB6577.namprd05.prod.outlook.com>
I *think* that can be fixed by just removing lame_init_old line from includ=
e/libmp3lame.sym :
https://sourceforge.net/p/lame/svn/6456/tree//trunk/lame/include/libmp3lame=
.sym?diff=3D59e1c885dab7b929b5817e2e:6455<https://sourceforge.net/p/lame/sv=
n/6456/tree/trunk/lame/include/libmp3lame.sym?diff=3D59e1c885dab7b929b5817e=
2e:6455>


From: David M. Cotter <[email protected]>
Date: Thursday, 24 March 2022 at 19:12
To: [email protected] <[email protected]>
Cc: Kris Fedorenko <[email protected]>
Subject: Re: [Lame-dev] Compile libmp3lame for x86 on arm?
after ./configure; make, I got this:

Undefined symbols for architecture arm64:
  "_lame_init_old", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocat=
ion)


after



On Mar 24, 2022, at 11:23 AM, Kris Fedorenko <[email protected]<mailto=
:[email protected]>> wrote:

Hi Dave,

I think the generated DYLIB was in lame-3.100/libmp3lame/.libs/libmp3lame.0=
.dylib (note the hidden ".libs" folder), if that helps. Hopefully someone e=
lse on the list can chime in about specifying intel or fat, etc.

Thanks,
Kris

From: David M. Cotter <[email protected]<mailto:[email protected]>>
Date: Thursday, 24 March 2022 at 17:41
To: [email protected]<mailto:[email protected]> <=
[email protected]<mailto:[email protected]>>
Cc: Kris Fedorenko <[email protected]<mailto:[email protected]>>
Subject: Re: [Lame-dev] Compile libmp3lame for x86 on arm?
thanks, I did do that normal thing (./configure; make) but it didn=92t crea=
te a dylib (AFAIK)

And specifically I don=92t know how to specify it should be intel or fat?

-Dave



On Mar 24, 2022, at 6:02 AM, Kris Fedorenko <[email protected]<mailto:=
[email protected]>> wrote:

Hi Dave,

I am not a LAME developer, so probably not super helpful... But there are s=
ome building instructions in this INSTALL file (https://sourceforge.net/p/l=
ame/svn/HEAD/tree/trunk/lame/INSTALL<https://sourceforge.net/p/lame/svn/HEA=
D/tree/trunk/lame/INSTALL> ), which is also distributed with the source cod=
e. I think I was able to generate a DYLIB for an Intel Mac at some point by=
 running:

% ./configure
% make

as suggested. Not idea about ARM, etc. though.

Hope this helps somewhat!

Kris


From: David M. Cotter via Lame-dev <[email protected]<mailto:l=
[email protected]>>
Date: Monday, 21 March 2022 at 12:01
To: [email protected]<mailto:[email protected]> <=
[email protected]<mailto:[email protected]>>
Subject: [Lame-dev] Compile libmp3lame for x86 on arm?
I=92ve downloaded the sources but do not know how to configure it to build =
for x86 (or fat) when compiling on an arm machine.

Also, and more fundamentally, I can=92t figure out (no instructions) how to=
 compile libmp3lame.dylib

Any =93how to=94 articles anywhere?

-dave

_______________________________________________
Lame-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/lame-dev<https://lists.sourcef=
orge.net/lists/listinfo/lame-dev>