Hi
I am trying to compile GCL with a more recent version of gcc.
gcc -o raw_pre_gcl -L. -Wl,-Map raw_pre_gcl_map -lpre_gcl -lX11 -lm -lreadline -lc -lgclp
./libpre_gcl.a(alloc.o): In function `m__gmpz_add':
alloc.c:(.text+0x4a00): multiple definition of `m__gmpz_add'
...
gcc --version
gcc (SUSE Linux) 6.2.1 20161209 [gcc-6-branch revision 243481]
I suppose this is because of multiple linking or multiple inclusion of gmp. I am experimenting with adding include guards or different compiling and linking options, any suggestions?
Thank you very much in advance for any advice I should recieve,
Wolfgang Brehm