Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread yy
2012/2/28 Matthew Farkas-Dyck strake...@gmail.com: 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

[dev] [dmenu-hg] stest.c: getopt

2012-02-28 Thread Bastien Dejean
Hi, I had to change the CPPFLAGS in config.mk, by appending -D_POSIX_C_SOURCE=2 Otherwise, the build process fails (because of 'getopt'). Greetings, -- b.d (| |) ^ ^

Re: [dev] [dmenu-hg] stest.c: getopt

2012-02-28 Thread Džen
getopt() shall be doomed. -- Džen

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread Anselm R Garbe
On 27 February 2012 02:30, Anthony Martin al...@pbrane.org 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,

[dev] [dwm] misbehavior with the urgent hint

2012-02-28 Thread Uli Armbruster
Hi guys There's only one thing left with dwm which bugs me a bit. So you can reproduce it, here's what's happening: I use e.g. newsbeuter to read the latest news. If if want to read an article, I hit 'o' so it opens in a web browser. I use luakit http://luakit.org. In dwm's config.h, I

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread Paul Onyschuk
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

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread Matthew Farkas-Dyck
On 28/02/2012, Anselm R Garbe garb...@gmail.com wrote: On 27 February 2012 02:30, Anthony Martin al...@pbrane.org 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

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread Paul Onyschuk
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 included

Re: [dev] Re: [9base] Failure to link against uClibc: undefined references

2012-02-28 Thread Paul Onyschuk
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 (patch