**** BEGIN LOGGING AT Fri Feb 29 10:59:56 2008 Feb 29 14:58:26 03bzhou * r7888 10optware/trunk/platforms/packages-angstrombe.mk: packages-angstrombe: iftop broken Feb 29 18:34:56 hi, i'm trying to compile the optware package ncursesw, but shortly after configure ends, i get this compile error:" ../ncurses/curses.priv.h:1083: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_nc_to_widechar'" do you know what to do here? Feb 29 18:48:04 03bzhou * r7889 10optware/trunk/make/nload.mk: nload: hacked UINT_MAX into CPPFLAGS for certain platforms Feb 29 18:51:24 for your information: i'm now using ncurses instead of ncursesw (by changing ncurses_for_optware variable). this seems to work fine. it complies at least. Feb 29 18:52:07 bredde: which optware platform? Feb 29 18:55:18 eno: nslu slufos Feb 29 18:57:38 i've seen similar report http://tech.groups.yahoo.com/group/nslu2-developers/message/1847 Feb 29 18:57:58 problem is i cannot replicate the problem Feb 29 18:59:37 i saw this mail, but there are no replies. if you want some information about my build-machine, i can give them to you, but you have to say which information. Feb 29 19:00:33 i'm at work, so i don't have time right now Feb 29 19:00:44 ah ok, no problem Feb 29 19:01:13 but it would be good if you can pastebin the build log Feb 29 19:02:58 if you want to contact me later, you may contact me through email (mail -at- bredde -dot de), due i'm not very often joined in this channel Feb 29 19:04:04 ok, i give you the log, wait some moments Feb 29 19:04:09 sure, will investigate a bit more tonight (pacific time) Feb 29 19:07:08 http://pastebin.com/f215aa127 Feb 29 19:08:46 so it's not optware/slugos but optware/nslu2 (unslung) Feb 29 19:09:27 i thought it would be the same.. both big endian Feb 29 19:09:48 no, different toolchain/glibc Feb 29 19:09:54 oh Feb 29 19:10:15 i noticed both Robert and you are building directly under optware Feb 29 19:10:16 could it help to switch to slugos? Feb 29 19:10:52 can you try build one level deeper? Feb 29 19:11:22 with the master makefile? Feb 29 19:11:38 optware$ make nslu2-target; cd nslu2; make directories ipkg-utils toolchain Feb 29 19:11:53 not necessarily with master makefile Feb 29 19:12:19 ok, i'll do Feb 29 19:13:11 should i delete and re-create the optware dir first? Feb 29 19:13:42 (not sure it'll make any difference, just trying to rule out some obvious) Feb 29 19:14:27 no need, but it won't hurt by starting from scratch Feb 29 19:14:43 ok, i thought this ;) Feb 29 19:15:05 before doing that, what's 'gcc --version' ? Feb 29 19:15:31 gcc on your build machine Feb 29 19:17:04 i first tried to build with 4.2.3, but i got an error shortly after the whole process started, so now i'm at 3.4.6 Feb 29 19:19:39 what distro, if debian based, dpkg -l | grep ncurses Feb 29 19:19:57 i've got gentoo Feb 29 19:20:35 can you list all installed ncurses packages? Feb 29 19:21:20 there is only version 5.6-r2 Feb 29 19:22:07 on my ubuntu box, i hve libncurses5 libncurses5-dev and libncursesw5 Feb 29 19:22:22 is there similar package for gentoo ? Feb 29 19:24:17 under gentoo, there is no need to install a separate dev-package, due the package system downloads the source and compiles it, so the development files are installed automatically. i'm going to check whats about the ncursesw package.. Feb 29 19:25:31 ah, ok, in the ebuild (it's like a makefile) are some comments: First we build the regular ncurses ... Then we build the UTF-8 version Feb 29 19:25:41 ok, i'm asking this because the problematic line is using gcc on your build machine Feb 29 19:27:39 hmm, i cannot obviate, but in the configure the crosscompiler looks good Feb 29 19:31:56 so, my optware dir is deleted, i'm going to create a new one. may it be better to use slugosbe as target (due i'm compiling the slugos target with the master makefile) Feb 29 19:32:12 instead of nslu? Feb 29 19:32:56 if you're targeting optware/slugosbe, then you should start from master makefile to build slugosbe release toolchain Feb 29 19:34:30 ok, it may be better ;) Feb 29 19:34:45 see http://www.nslu2-linux.org/wiki/Optware/SlugosbeDevel Feb 29 19:35:12 (release-specific minimum required toolchains ...) Feb 29 19:35:54 ahh, thank you for this page, i haven't seen it, yet! Feb 29 19:36:10 but OTOH, i don't think the ncursesw problem is related to the toolchain or directory level Feb 29 19:36:37 anyone getting a lot of kernel traps using libtorrent 0.12 on NSLU2/SLUGOSBE Feb 29 19:36:54 I have compiled native with --enable-aligned Feb 29 19:37:09 i hope it is :) but ok, i'm creating a clean toolchain and then lets see what happens Feb 29 19:39:03 for now i'm saying tank you and sorry for interrupting you from work ;) i'm sure we are going to speak to each other again. hope i can say it was successful ;) Feb 29 19:39:26 nhoman: http://www.nslu2-linux.org/wiki/HowTo/BitTorrent Feb 29 19:39:46 rtorrent and gcc4 does not get along on slugos Feb 29 19:39:57 bredde: np Feb 29 19:42:31 eno: thanks I have read that ... rtorrent works fine except for the kernel alignment messages. kernel: Alignment trap: rtorrent (7782) PC=0x40109144 Instr=0xe5843014 Feb 29 19:44:41 eno: i'm still using slugos 3.10, gcc version =3.44, Kernel 2.6.16. Feb 29 19:45:11 eno: thanks for getting back though Feb 29 19:46:32 nhoman: can you try the unofficial build listed on that page? Feb 29 19:48:35 eno: apologies I didn't see that Feb 29 20:10:07 I cannot install the unofficial build without messing up my environment. Anyone compiled libtorrent from source on slugosbe? Feb 29 20:10:21 (native) Feb 29 20:11:01 nhoman: the installation instruction of optware on slugosbe is at http://www.nslu2-linux.org/wiki/Optware/Slugosbe Feb 29 20:11:10 it won't mess up your existing env Feb 29 20:12:34 native development is rare these days, i only use it for making sure configuration is correct Feb 29 20:13:32 eno: thanks. i have already set up the optware feed under opt/bin/ipkg ... i'll give it a whirl... again thanks for your time Feb 29 20:14:41 hi! i just flashed debian onto my slug, installation went fine, but after the d-i step, when it rebooted it just kept on blinkin the read-led short orange, short yellow, short orange, long yellow Feb 29 20:15:15 and i can't reach it via network, though it seems to access the hard disk every now and then. what did i do wrong? Feb 29 20:15:33 argh. topic. sorry... Feb 29 21:00:57 eno: you are not going to believe this but i still get the alignment trap with the unofficial build (and i loose xmlrpc support) Feb 29 21:01:50 i'm beginning to think it may be a dependency that is causing the alignment traps Feb 29 21:37:15 temporary/bad solution - echo 0 > /proc/cpu/alignment Feb 29 21:37:22 Ignores alignment errors Feb 29 22:36:45 I am trying (again) to set up a debian crosscompiler using rwhitby's makefile but it gives me these warnings towards the end http://pastebin.ca/923875 Feb 29 22:42:54 can I just ignore them and continue? Feb 29 22:43:26 eno: i followed your instructions you gave me (http://www.nslu2-linux.org/wiki/Optware/SlugosbeDevel), and again the ncurses package fails to compile with the same error Feb 29 23:04:09 eno: yeah, i got it!! after the compile error, i switched into the work-directory of ncursesnw. i set the environment variables as its done by the makefile and called configure with the same parameters as its called by the makefile. then i ran make in the work directory and it completed without errors. afterwards, i changed back to the optware/slugosbe dir and retyped the 'make ' again (for me 'make py-bluez') and ncursesw co Feb 29 23:05:37 see http://pastebin.com/f186f223f for what i've entered exactly Feb 29 23:11:57 bredde: can you try one thing? try add cf_cv_wint_t=yes before ./configure Feb 29 23:15:06 bredd1, bredd2: can you try one thing? try add cf_cv_wint_t=yes before ./configure in make/ncursesw.mk Feb 29 23:18:58 then "make ncursesw-dirclean ncursesw" Feb 29 23:21:18 eno: ok, i'll try Feb 29 23:24:54 eno: sry, it does not help, the same error as before Feb 29 23:27:10 it looks like wint_t was not defined in ../ncurses/curses.priv.h based on the original error msg Feb 29 23:28:51 my theory was that, the gcc line was applying cross config to build gcc Feb 29 23:36:41 bredde: how about try cf_cv_wint_t=unknown ? Feb 29 23:37:00 eno: one moment.. Feb 29 23:38:35 eno: negative :( Feb 29 23:39:06 hmm Feb 29 23:40:15 eno: hmm, now i cannot recompile the way i described above (the manual way).. i may have oversight something Feb 29 23:44:23 bredd1: think i have some idea Feb 29 23:47:45 eno: let's hear ;) Feb 29 23:48:50 on your build machine, we want ncursesw/include/curses.h to be configured to have a line like Feb 29 23:48:56 typedef unsigned int wint_t; Feb 29 23:50:52 so we might want to patch include/curses.h.in Feb 29 23:54:34 eno: sry, i've got some problems with my internet connection, the last thing i gou from you was "so we might want to patch include/curses.h.in" Feb 29 23:56:02 bredd2: i did not say anything after that, (sorry), i'm trying a sed Feb 29 23:56:22 eno: ok, no problem ;) Mar 01 00:02:32 ok, i can now compile again manually by this way (reproducible!): make ncursesw; cd builds/ncursesw; ./configure [.., without '--enable-widec']; make (works successfully); ./configure --enable-widec [..]; make (successful again); cd ../..; make ncursesw (nothing to do); make ncursesw-ipk (package builds successful) Mar 01 00:03:13 the environment settings were set Mar 01 00:07:08 ok, please test one more time: Mar 01 00:07:32 1) add cf_cv_wint_t=unknown before ./configure in make/ncursesw.mk Mar 01 00:08:09 eno: ok Mar 01 00:08:15 2) add a line of Mar 01 00:08:18 sed -i -e '/typedef.*wint_t/s/wint_t.*;/wint_t;/' $(@D)/include/curses.h* Mar 01 00:08:36 after ");" line of ./configure Mar 01 00:08:45 before ifneq line Mar 01 00:09:08 with linebreak (\)? Mar 01 00:09:34 no \ Mar 01 00:09:37 ok Mar 01 00:10:12 make ncursesw-dirclean ncurses Mar 01 00:10:22 already doing Mar 01 00:10:24 make ncursesw-dirclean ncursesw Mar 01 00:10:41 no, sorry Mar 01 00:10:54 same error? Mar 01 00:21:37 ok, another idea is to automate your workaround Mar 01 00:21:39 sry.. my internet beakes down constantly because of a thunderstorm outside.. Mar 01 00:21:58 instead of doing configure and build twice in ncursesw Mar 01 00:22:36 just use the make_hash and make_keys from builds/ncurses Mar 01 00:28:05 sry, but i think it makes no sense to continue with my connection. i'll come back tomorrow at about the same time as today, ok? also i've got to go to bed due it's 1:30h at night and i have to get up at 8h ;) i try to be online in this channel the next days, so we can go on (if you want to). and again, i have to thank you very much for your help! Mar 01 01:07:39 03osas * r7890 10optware/trunk/ (4 files in 3 dirs): asterisk16-addons: ready for testing Mar 01 01:15:39 eno, osas: we're transitioning svn and trac to the new server instance in the next 4 hours - can you please hold all checkins during that time? Mar 01 01:15:58 rwhitby: sure thing Mar 01 01:16:02 sure Mar 01 01:16:37 the blackout period will start in about an hour and last for a couple of hours, so if you have something urgent in the next hour feel free to check it in. I'll announce again when the hold starts. Mar 01 01:16:52 I done for today :) Mar 01 01:17:01 * rwhitby heads out for dinner before starting ... Mar 01 01:17:04 s/I/I'm/ Mar 01 01:17:05 osas meant: I'm done for today :) **** ENDING LOGGING AT Sat Mar 01 10:59:57 2008