On 3 March 2012 04:59, Matthew Farkas-Dyck wrote:
> Tried it; same trouble. Anyhow, it's moot, since I just applied it
> with the human patch algorithm and made a new patch (find attached).
Thanks applied.
Anselm
On 02/03/2012, Paul Onyschuk wrote:
> It is no surprise that patching failed. I used tip version from
> repository to generate diffs. Try this:
>
> $ hg clone http://hg.suckless.org/9base
> $ cd 9base
> $ patch -p0 < uclibc_dirread.patch
> $ patch -p1 < fix_conflicting_declarations.patch
> $ mak
On Thu, 1 Mar 2012 20:08:52 -0500
Matthew Farkas-Dyck wrote:
>
> Patch failed! Please fix 9base-6-dirread.getdents.patch!
>
> I have two tests to write and a lab report to give in tomorrow, but
> after that I shall try again.
>
It is no surprise that patching failed. I used tip version from
On 01/03/2012, Paul Onyschuk wrote:
> I would like to hear from Matthew Farkas-Dyck, if with those patches he
> can compile working 9base in his setup.
>
I cannot:
$ make
...
>>> 9base 6 Extracting
gzip -d -c /home/strake/buildroot-2011.11/dl/9base-6.tar.gz | tar
--strip-components=1 -C
/home/str
On Wed, 29 Feb 2012 20:52:50 +0100
Anselm R Garbe wrote:
>
> Thanks, applied.
>
Great, so only issues left are conflicting declarations in join case
and missing getdirentries.
In first case, the problem is that time.h is included in longer chain:
stdio.h -> bits/uClibc_stdio.h -> bits/uClibc_m
On 29 February 2012 02:09, Paul Onyschuk wrote:
> Same goes for rc/Makefile and sam/Makefile (move -lm flag to the end).
>
> Also uClibc doesn't provide futimes, so we need to use futimesat() in
> lib9/dirfwstat.c (patch is attached).
Thanks, applied.
Cheers,
Anselm
On Tue, 28 Feb 2012 18:51:39 +0100
Anselm R Garbe wrote:
>
> > The link order in yacc.mk is wrong.
> > Try building with this patch.
>
Same goes for rc/Makefile and sam/Makefile (move -lm flag to the end).
Also uClibc doesn't provide futimes, so we need to use futimesat() in
lib9/dirfwstat.c (p
One line was wrapped in my patch from previous message. Just fix this
by hand - this should be single line:
> +
> extern int _p9dir(struct stat*, struct stat*, char*, Dir*, char**,
> char*);
As for join command, problem was related to conflicting declarations -
system time.h (which was include
On 28/02/2012, Anselm R Garbe wrote:
> On 27 February 2012 02:30, Anthony Martin wrote:
>> The link order in yacc.mk is wrong.
>> Try building with this patch.
>
> Thanks, applied.
>
> As for the getdirentries() function, I would suggest adding ifdef's
> for the BSDs if needed (see the old Matthi
uClibc doesn't provide wrappers for getdents() syscall either. The
proper solution would be to use readdir()/scandir() instead I guess.
Till then people interested can use this ad-hoc patch, which uses
getdents() syscall directly. It shouldn't be applied to main repository
I think.
Also join has
On 27 February 2012 02:30, Anthony Martin wrote:
> The link order in yacc.mk is wrong.
> Try building with this patch.
Thanks, applied.
As for the getdirentries() function, I would suggest adding ifdef's
for the BSDs if needed (see the old Matthias Teege thread on 9fans).
Cheers,
Anselm
2012/2/28 Matthew Farkas-Dyck :
> I agree. A quick search yielded this: http://9fans.net/archive/2006/06/463
> Not sure where the patch is, though.
>
http://groups.google.com/group/comp.os.plan9/browse_thread/thread/f0db71974854590f/ac36ad084329a733#ac36ad084329a733
It won't solve your problem, t
On 27/02/2012, Paul Onyschuk wrote:
> I didn't drink my coffee yet, so my head isn't straight yet. I tried
> to build 9base/plan9port/9vx with uClibc year or two ago (without
> success). Those errors looks familiar, but my memory isn't fresh.
I hope that the coffee is.
> AFAIK uClibc doesn't p
On Sun, 26 Feb 2012 23:24:57 -0500
Matthew Farkas-Dyck wrote:
>
> Unfortunately, now linkage fails later. Solution might be quite plain;
> I shall try to further diagnose when I have the time.
>
I didn't drink my coffee yet, so my head isn't straight yet. I tried
to build 9base/plan9port/9vx w
On 26/02/2012, Anthony Martin wrote:
> The link order in yacc.mk is wrong.
> Try building with this patch.
Problem solved. Many thanks.
Unfortunately, now linkage fails later. Solution might be quite plain;
I shall try to further diagnose when I have the time.
Failure mode:
make[2]: Entering di
The link order in yacc.mk is wrong.
Try building with this patch.
Cheers,
Anthony
diff -r 12764b326f2b yacc.mk
--- a/yacc.mk Sun Feb 12 23:13:17 2012 +0100
+++ b/yacc.mk Sun Feb 26 17:26:11 2012 -0800
@@ -35,4 +35,4 @@
${TARG}: ${OFILES}
@echo LD ${TARG}
- @${CC} ${LDFLAGS}
16 matches
Mail list logo