[Top][All Lists]
[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.
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/09
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/10
- Re: [PATCH] stdbuf work in progress, Eric Blake, 2009/06/10
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/11
- Re: [PATCH] stdbuf work in progress,
Pádraig Brady <=
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/12
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/13
- Re: [PATCH] stdbuf work in progress, Pádraig Brady, 2009/06/15
- Re: [PATCH] stdbuf work in progress, Jim Meyering, 2009/06/16