gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] gcl compilation with gcc 6.2.1 20161209


From: Wolfgang Brehm
Subject: [Gcl-devel] gcl compilation with gcc 6.2.1 20161209
Date: Tue, 20 Dec 2016 12:58:14 +0100

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]