bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] stdbuf work in progress


From: Pádraig Brady
Subject: Re: [PATCH] stdbuf work in progress
Date: Thu, 11 Jun 2009 11:40:21 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

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.




reply via email to

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