Error compiling/installing Tango 9.2.5a on Ubuntu 16.04.2 LTS

Hi all,

I'm trying to recompile tango on a freshly installed Ubuntu 16.04 VM.
The DataBaseds compilation failed at link stage with the following error:

make[3]: Entering directory '/home/nicolas/src/tango-9.2.5a/build/cppserver/database'
  CXXLD  DataBaseds
/usr/bin/ld: /home/nicolas/src/tango-9.2.5a/build/lib/cpp/client/.libs/libtango.a(dbapi_class.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/home/nicolas/src/tango-9.2.5a/build/lib/cpp/client/.libs/libtango.a: error adding symbols: Bad value

The error is there with both gcc 4.7 and 5.4.

Before diving deeper into the problem, I was wondering if there's a known workaround to this problem.

Thanks.
N.

Hi Nicolas,

I did manage to compile Tango 9.2.5 on Ubuntu 16.04 when it was released so I know it is possible. I did notice that if you do not have a lot of memory on your machine then gcc fails. How much RAM do you have on this machine?

Andn
Hi Andy,
I think you're right, the amount of RAM allocated to this virtual machine is the problem. So far, it has only 1Go.
Thanks for your help.
N.
 
Register or login to create to post a reply.