TravisWhitaker / FermiShell

Retrieve, compare, calculate, analyze, graph, simulate, and experiment with chemical data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clangFailure:error: linker command failed with exit code 1

TravisWhitaker opened this issue · comments

/tmp/cc-UWfq31.o: In function `portstrcpy':
src/shell.c:(.text+0x0): multiple definition of `portstrcpy'
/tmp/cc-H4keWV.o:src/populate.c:(.text+0x0): first defined here
collect2: ld returned 1 exit status
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1

Clang refuses to link ChemTerm, I'm not sure exactly why. Here is the verbose output:

https://gist.github.com/3214816

Due to lack of forward-declaration of portstrcpy in populate.c(now ptable.c). Fixed in 7befcb8