Jim Meyering wrote:
> Pádraig Brady wrote:
>> Update with fixed whitespace and added copyright message to libstdbuf.c:
>>
>> http://www.pixelbeat.org/patches/stdbuf.diff
> 
> Thanks.
> I tried to build on Fedora 10 x86_64 and got this:
> 
> /usr/bin/ld: ../lib/libcoreutils.a(quote.o): relocation R_X86_64_32 against 
> `a local symbol' can not be used when making a shared object; recompile with 
> -fPIC
> ../lib/libcoreutils.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libstdbuf.so] Error 1

Hmm. There is no real need to link libcoreutils.a with libstdbuf.so.
I had used fprintf(stderr,...) rather than error(..., quote())
so I'll revert to that. That's better than compiling
libcoreutils.a with -fPIC I think.

Though not necessary, I'd better also remove the reference to libcoreutils.a
and document that in the Makefile.am so as we don't bump into this in future.

cheers,
Pádraig.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to