[plt-scheme] Further linking problems

From: jblazi (jblazi at gmx.de)
Date: Fri Dec 6 07:06:04 EST 2002

After I could not work with Cygwin, I switched to Linux. Here is the Makefile, 
I use:

CORE_PATH = /home/bz/downloads/core

plttest.so : plttest.o
	mzc ++ldf -L$(CORE_PATH)/lib ++ldf -L$(CORE_PATH)/gmp/lib ++ldf -lstdc++ 
++ldf -lcore ++ldf -lgmp ++ldf -lm  --ld plttest.so plttest.o

plttest.o : plttest.cpp geotypes.h
	mzc ++ccf -I$(CORE_PATH)/inc ++ccf -I$(CORE_PATH)/gmp/include --cc 

I get the following error message:

bz at linux:~/plt-programme> make
mzc ++ldf -L/home/bz/downloads/core/lib ++ldf 
-L/home/bz/downloads/core/gmp/lib ++ldf -lstdc++ ++ldf -lcore ++ldf -lgmp 
++ldf -lm  --ld plttest.so plttest.o
MzScheme compiler (mzc) version 202, Copyright (c) 1996-2002 PLT
/usr/bin/ld: plttest.so: undefined versioned symbol name 
/usr/bin/ld: failed to set dynamic section sizes: Bad value
make: *** [plttest.so] Error 1
bz at linux:~/plt-programme>

Can anybody give me a hint? CORE is a library for multi precision arithmetics 
which I have to use.

Janos Blazi

Janos Blazi

Posted on the users mailing list.