Re: [ecasound] Forward: Bug#179380: ecasound2.2_2.2.0-rel-4(hppa/unstable): FTBFS: non-PIC in shared lib

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Forward: Bug#179380: ecasound2.2_2.2.0-rel-4(hppa/unstable): FTBFS: non-PIC in shared lib
From: Kai Vehmanen (k_AT_eca.cx)
Date: Mon Mar 10 2003 - 23:59:27 EET


On Mon, 17 Feb 2003, Junichi Uekawa wrote:

>>> gcc -o pyecasound.so pyecasound.o -shared -nostartfiles -avoid-version
>>> -export-dynamic ../libecasoundc/ecasoundc_sa.lo
>>> /usr/bin/ld: pyecasound.o: relocation R_PARISC_DPREL21L can not be used
> The following is the patch I am going to use for ecasound2.2.1-1 (Debian package),
> to see how it goes.
[...]
> pyecasound.so: pyecasound.o
> - $(CC) -o pyecasound.so -shared -nostartfiles $(libpyecasound_la_LDFLAGS) pyecasound.o $(top_builddir)/libecasoundc/ecasoundc_sa.lo
> + $(CC) -o pyecasound.so -shared -nostartfiles $(libpyecasound_la_LDFLAGS) pyecasound.lo $(top_builddir)/libecasoundc/ecasoundc_sa.lo

Applied to CVS. Also, in the make rule pyecasound.o should be replaced
with .lo.

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Mar 10 2003 - 23:51:52 EET