[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[archimedes-discuss] Undefined symbols for architecture x86_64

From: Marius Schamschula
Subject: [archimedes-discuss] Undefined symbols for architecture x86_64
Date: Thu, 28 Feb 2019 02:08:17 -0000


I’m trying to update the MacPorts Portfile for archimedes. I’ve run into an 
error similar to that which has been previously reported on StackOverflow:

In my case I find

make[2]: Entering directory 
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include  -pipe -Os -arch 
x86_64 -MT archimedes.o -MD -MP -MF .deps/archimedes.Tpo -c -o archimedes.o 
mv -f .deps/archimedes.Tpo .deps/archimedes.Po
/usr/bin/clang  -pipe -Os -arch x86_64  -L/opt/local/lib 
-Wl,-headerpad_max_install_names -arch x86_64 -o archimedes archimedes.o -lm 
Undefined symbols for architecture x86_64:
  "_creation", referenced from:
      _EMC in archimedes.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [archimedes] Error 1
make[2]: Leaving directory 
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
make: *** [all] Error 2

I’m building under macOS 10.13.6 with the current Xcode developer tool chain:

marius$ /usr/bin/clang --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin17.7.0
Thread model: posix

Any ideas would be greatly appreciated!

Marius Schamschula

reply via email to

[Prev in Thread] Current Thread [Next in Thread]