Ulf Kuehn on Tue, 07 Mar 2017 12:58:08 +0100


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

Install gp2c on Mac OS X El Capitan


Hi,
unfortunally i'm unable to install gp2c on my mac, it seems to be related to the error message

ld: illegal thread local variable reference to regular symbol  ....

(similar OS X errors are reported here https://github.com/gambit/gambit/issues/109)

There are no errors with configure and with make there is just 1 warning

mv -f .deps/parse.Tpo .deps/parse.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/share/gp2c/func.dsc\" -g -O2 -MT printnode.o -MD -MP -MF .deps/printnode.Tpo -c -o printnode.o printnode.c
printnode.c:48:10: warning: enumeration value 'Fnorange' not handled in switch [-Wswitch]
  switch(tree[n].f)
         ^
1 warning generated.

With linux gp2c installed without problems and it runs fine, thus i wonder how to make gp2c run on OS X.


best regards,
ulf



-- 


===================================
   gp2c 0.0.10: ./test-suite.log
===================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: scripts/runtest
=====================

Running test traditional
Testing script affect...ld: illegal thread local variable reference to regular symbol _PARI_SIGINT_block for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
FAIL scripts/runtest (exit status: 1)