certi-devel
[Top][All Lists]
Advanced

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

Re: [certi-dev] Building CERTI on Ubuntu 15.10 (64bit)


From: Åsmund Hjulstad
Subject: Re: [certi-dev] Building CERTI on Ubuntu 15.10 (64bit)
Date: Wed, 14 Oct 2015 09:42:15 +0200

Hi Eric,

Thanks for your help. I thought I would mention that I did a parallel install on Ubuntu 14.04 LTS, with g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4, with an OK build.

Back in my Ubuntu 15.10, installing g++-4.8 and doing

$ g++-4.8 --version
g++-4.8 (Ubuntu 4.8.5-1ubuntu1) 4.8.5

$ cmake -DCMAKE_CXX_COMPILER=g++-4.8 ..

still gives me the same build error. 


I am out of my comfort zone, though, but could this be a linker issue?  (I have no idea...)

$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.25.1

On my working 14.04 

$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.24


Thanks, anyways.

Åsmund Hjulstad



2015-10-13 18:36 GMT+02:00 Eric Noulard <address@hidden>:


2015-10-13 14:58 GMT+02:00 Åsmund Hjulstad <address@hidden>:

Hi,

$ gcc --version
gcc (Ubuntu 5.2.1-22ubuntu1) 5.2.1 20151010

Strange enough on My Debian Strech 64 bits I have:

 $ gcc --version
gcc (Debian 5.2.1-21) 5.2.1 20151003

which compiles CERTI without trouble...

I'll try to seek what's the difference between those 2 ??


$ clang --version
Ubuntu clang version 3.6.2-1 (tags/RELEASE_362/final) (based on LLVM 3.6.2)


Switching to CLANG using 
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang ..

Another way to achieve this is:

CC=clang CXX=clang++ cmake ..



gives a successfull build.

Then you are not blocked.

--
Eric

--
CERTI-Devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/certi-devel




--
mvh,
Åsmund Hjulstad

reply via email to

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