gta-list
[Top][All Lists]
Advanced

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

Re: [gta-list] Bug reporting


From: Martin Lambers
Subject: Re: [gta-list] Bug reporting
Date: Fri, 19 May 2017 16:38:22 +0200

Hi!

Does this also happen when you link against the system libbz2, i.e. not
the one in /usr/local? That one seems to be broken.

Martin

On Wed, 17 May 2017 18:27:50 +0430, ama ama wrote:
> Hi I tried to compile libgta 1.0.8 on ubuntu 16.04
> this happened : (on terminal )
> 
> address@hidden:~/gta/libgta$ sudo make
> make  all-recursive
> make[1]: Entering directory '/home/john/gta/libgta'
> Making all in doc
> make[2]: Entering directory '/home/john/gta/libgta/doc'
> doxygen doxyfile
> make  all-am
> make[3]: Entering directory '/home/john/gta/libgta/doc'
> make[3]: Nothing to be done for 'all-am'.
> make[3]: Leaving directory '/home/john/gta/libgta/doc'
> make[2]: Leaving directory '/home/john/gta/libgta/doc'
> Making all in src
> make[2]: Entering directory '/home/john/gta/libgta/src'
>   CC       gta.lo
>   CCLD     libgta.la
> /usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S
> against `BZ2_crc32Table' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libbz2.a: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
> Makefile:441: recipe for target 'libgta.la' failed
> make[2]: *** [libgta.la] Error 1
> make[2]: Leaving directory '/home/john/gta/libgta/src'
> Makefile:491: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/john/gta/libgta'
> Makefile:400: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> 
> H have added -fPIC flag to MakeFile (CFLAGS = -g -O2 -fPIC )
> 
> and it still not working !
> 
> Please help me with that
> 
> Thanks a bundle




reply via email to

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