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

Linking fails on macOS 10.14 (Mojave) #13

Open
g3ntleman opened this issue Feb 23, 2019 · 0 comments
Open

Linking fails on macOS 10.14 (Mojave) #13

g3ntleman opened this issue Feb 23, 2019 · 0 comments

Comments

@g3ntleman
Copy link

g3ntleman commented Feb 23, 2019

I followed the readme for building Femto-Emacs on current macOS. It fails with the following errors:

cc -O2 -DNDEBUG -falign-functions -Wall -Wno-strict-aliasing -Illt -DUSE_COMPUTED_GOTO -DMACOSX -DARCH_X86_64 -DBITS64 -D__CPU__=686 -I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/Headers" flisp.o builtins.o string.o equalhash.o table.o iostream.o flmain.o
-o flisp llt/libllt.a -lm -framework ApplicationServices libflisp.a
ld: warning: ld: warning: ignoring file libflisp.a, file was built for archive which is not the architecture being linked (x86_64): libflisp.aignoring file llt/libllt.a, file was built for archive which is not the architecture being linked (x86_64): llt/libllt.a

Undefined symbols for architecture x86_64:
"_D_NINF", referenced from:
_isnumtok_base in flisp.o
"_D_NNAN", referenced from:
_isnumtok_base in flisp.o
"_D_PINF", referenced from:
_isnumtok_base in flisp.o

....

So it appears that the linker command is not correct. Also, the SDK header path does not seem to be used (and carbon is no longer available on 64 bit platforms). I was able to compile without the above SDK header path.

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