williamslab / ped-sim

Pedigree simulator
GNU General Public License v3.0
25 stars 11 forks source link

Unable to compile macOS 10.13.2: error: unknown directive #1

Closed nh13 closed 5 years ago

nh13 commented 5 years ago
all  -O2 -o main.o -c main.cc
g++ -MMD -std=c++11 -Wall  -O2 -o cmdlineopts.o -c cmdlineopts.cc
g++ -MMD -std=c++11 -Wall  -O2 -o cointerfere.o -c cointerfere.cc
gcc -MMD -Wall  -O2 -o memcpy.o -c memcpy.c
<inline asm>:1:1: error: unknown directive
.symver memcpy, memcpy@GLIBC_2.2.5
^
1 error generated.
make: *** [memcpy.o] Error 1
williamslab commented 5 years ago

While I aim for the tool to be useful, it is primarily coded with the Linux environment in mind. It seems that you found a solution, and that's something you'll have to implement on your own.

williamslab commented 5 years ago

FYI, while memcpy.c remains in the repository, the default binary that the Makefile generates no longer compiles/uses this.