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

dzip 3.0 fails to build on macOS (x86_64 and ppc): Undefined symbols: "_static_assert" #2

Closed
barracuda156 opened this issue Oct 24, 2022 · 2 comments

Comments

@barracuda156
Copy link

Failure confirmed on 10.8.5 (x86_64), 10.6.8 (Rosetta) and 10A190 (ppc): https://trac.macports.org/ticket/66055

Undefined symbols for architecture x86_64:
  "_static_assert", referenced from:
      _create_clientdata_msg in decode.c.o
      _dem_sound in encode.c.o
      _dem_clientdata in encode.c.o
      _diff_entities in encode.c.o
ld: symbol(s) not found for architecture x86_64

Attached log from 10.8.5 + Xcode 5.1.1:
main.log

@kugelrund
Copy link
Owner

kugelrund commented Oct 24, 2022

After seeing the answer in https://trac.macports.org/ticket/66055 am I right to assume that this can be closed? I do not see what could be changed in the dzip source anyways. To my knowledge, after including <assert.h>, calling static_assert is standard C11 and should work with any standard-conforming compiler.

@barracuda156
Copy link
Author

@kugelrund Thank you for responding! Yeah, building in Macports is fine now, so unless you care to import the fix from our legacysupport, we are done.

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

2 participants