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 problem on Mac 10.9 with clang #170

Closed
wkerzendorf opened this issue Aug 20, 2014 · 2 comments
Closed

Compilation problem on Mac 10.9 with clang #170

wkerzendorf opened this issue Aug 20, 2014 · 2 comments
Assignees
Milestone

Comments

@wkerzendorf
Copy link
Member

I can't seem to get the code to work with clang in Mac OS X 10.9:

@orbitfold any help would be appreciated (when you are back)

_______________ ERROR collecting tardis/tests/test_montecarlo.py _______________
tardis/tests/test_montecarlo.py:2: in <module>
>   from tardis import montecarlo
E   ImportError: dlopen(tardis/montecarlo.so, 2): Symbol not found: _montecarlo_compute_distances
E     Referenced from: tardis/montecarlo.so
E     Expected in: flat namespace
E    in tardis/montecarlo.so

@orbitfold
Copy link
Contributor

This issue can be solved by adding extern keyword before the inline keyword in the offending function definitions. I wonder if we should do that, close this issue and make a new one about the segfault you were having. Since those two are not related as far as I can tell.

@orbitfold
Copy link
Contributor

See PR #171

wkerzendorf added a commit that referenced this issue Aug 22, 2014
Fix issues when using clang compiler (issue #170)
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