Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error (not an object file) #28

Open
jazzalex opened this issue Mar 17, 2022 · 1 comment
Open

compilation error (not an object file) #28

jazzalex opened this issue Mar 17, 2022 · 1 comment

Comments

@jazzalex
Copy link

Hi all,

I have been trying to compile Opus for iOS on Monterey 12.2.1 (Intel):

I have created /build/src folder and place the latest opus1.3.1 tar ball into it, changd the SDK issue and ran the build-libopus.sh script – so far it looked fine except that it eventually bails out with the following:

CCLD libopus.la
error: /opt/local/bin/ranlib: library member: .libs/libopus.a(bands.o) is not an object file (not allowed in a library with multiple architectures)
error: /opt/local/bin/ranlib: library member: .libs/libopus.a(celt.o) is not an object file (not allowed in a library with multiple architectures)
error: /opt/local/bin/ranlib: library member: .libs/libopus.a(celt_encoder.o) is not an object file (not allowed in a library with multiple architectures)
error: /opt/local/bin/ranlib: library member: .libs/libopus.a(celt_decoder.o) is not an object file (not allowed in a library with multiple architectures)

etc. for further object files.

Can anyone help to resolve this issue ?

Thanks in advance,
best

Alex

@jazzalex
Copy link
Author

I just tried it with a BigSur machine where it worked without the above problem. So it seems to be OS version related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant