2011-08-30 01:34 who needs houses, land is what matters  ;-) 2011-08-30 01:46 xiangfu: thanks for the L19_L3 mark, i just was about to find it  :) 2011-08-30 01:49 living circumstances as a result of many events trought that culture's history too 2011-08-30 01:50 kristianpaul, :) L3 is small 2011-08-30 01:51 even better ! 2011-08-30 01:51 (for soldering) 2011-08-30 01:53 good morning everybody 2011-08-30 02:20 morning 2011-08-30 02:41 wpwrak: ""Was? Das Volk hat kein Brot? Soll es doch Kuchen essen"" ;-P 2011-08-30 02:41 DocScrutinizer: exactly :) 2011-08-30 03:24 some of you may find this video about Arduino (history) interesting. or not. http://postscapes.com/watch-arduino-the-documentary 2011-08-30 07:56 Hello all. 2011-08-30 07:59 Anyone around who knows about hacking Wifi antenna's ? 2011-08-30 07:59 Hey guys, what's up? 2011-08-30 08:00 quiet...to quiet....I got a bad feeling about this...heh.. 2011-08-30 08:02 hi 2011-08-30 08:06 vladkorotnev: hi 2011-08-30 08:06 nunoiz was too impatient :-) 2011-08-30 09:32 does that AM transmit thing actually work with the ben's lcd? 2011-08-30 09:36 btw, to whoever interested in guile 2, it failed to compile on a host with guile 2 as well 2011-08-30 10:20 The build was successfull, see images here: http://fidelio.qi-hardware.com/~xiangfu/compile-log/openwrt-xburst.full_system-08292011-0630/ 2011-08-30 15:37 hey there 2011-08-30 15:37 hi 2011-08-30 15:38 i haven't been updating my ben in years, but now i thought it's a good time to check what's new 2011-08-30 15:38 although, i have a problem with installing xburst-tools 2011-08-30 15:38 are there any precompiled packages? 2011-08-30 15:38 i can see only packages for debian and for arch (which is 404) 2011-08-30 15:39 i got the sources of xburst-tools, but in the INSTALL doc it says i require an owrt compiler to build it 2011-08-30 15:39 but i remember xbusrt-tools was a set of native x86 binaries 2011-08-30 15:39 you came just in time for the new image 2011-08-30 15:39 zear: http://projects.qi-hardware.com/index.php/p/xburst-tools/downloads/77/ 2011-08-30 15:39 :) 2011-08-30 15:40 oh no 2011-08-30 15:40 this is not the binary :) 2011-08-30 15:40 kyak, that's the sources i already got 2011-08-30 15:40 grab the deb, and just unpack it 2011-08-30 15:40 kyak, ah, of course 2011-08-30 15:40 why didn't i think about it before 2011-08-30 15:41 but anyway, the arch package link is dead, perhaps it's time to update/remove it from the website 2011-08-30 15:41 probably. Make sure you are NOT using xburst-tools older than 2011-05-30 2011-08-30 15:43 and i'm off :) have fun with the new image! 2011-08-30 15:43 kyak, thanks for the help 2011-08-30 15:45 btw freedroid segfaults after you hit poweroff when playing 2011-08-30 15:45 then the .freedroid folder have to be deleted to make it work again 2011-08-30 15:47 btw, does the ben still require you to hold the power button for few seconds before it boots? 2011-08-30 15:48 not anymore 2011-08-30 15:48 ah, great 2011-08-30 15:48 BUT, i think the default wallpaper make gmenu2x load a bit slow 2011-08-30 15:49 i just changed and it is really fast boot 2011-08-30 15:49 hmm.. i'm getting tons of "./refla1/794./reflash_ben.sh: line 149: bc: no such command" messages when running reflash_ben.sh 2011-08-30 15:49 last reflash? 2011-08-30 15:49 the one from the wiki 2011-08-30 15:50 i have no idea what's latest and what's not, i wasn't active in the scene since 2009 :D 2011-08-30 15:52 zear: looks like you need to install the bash calculator (bc) on your host 2011-08-30 15:53 jow_laptop, that doesn't sound like something everyone has by default. Why isn't it listed on the wiki in the flashing howto then? 2011-08-30 15:53 zear: probably because the author forgot about it and/or had bc by default 2011-08-30 15:53 i don't even seem to have it in my repository 2011-08-30 15:53 whats your distro? 2011-08-30 15:53 arch 2011-08-30 15:54 oh, i do 2011-08-30 15:54 hm http://www.archlinux.org/packages/extra/i686/bc/ 2011-08-30 15:54 maybe you need to activate the extra repo? 2011-08-30 15:54 oh ok 2011-08-30 15:54 but it's description was "An arbitrary precision calculator language" 2011-08-30 15:54 nothing about bash 2011-08-30 15:54 ok, sorry, maybe I got the name wrong 2011-08-30 15:55 can i ctrl+c the reflash_ben.sh script and then run it again? 2011-08-30 15:55 yes 2011-08-30 15:55 I think due to the missing bc it didn't do anything useful anyway 2011-08-30 15:55 ah 2011-08-30 15:56 it is needed to calculate offsets and such 2011-08-30 15:56 jow_laptop, nah, it actually trashed the nand 2011-08-30 15:56 i'm getting a kernel panic now :D 2011-08-30 15:57 but the bootloader seems to still be there, so i think i'll be able to software usb boot it 2011-08-30 16:55 hmm.. is there a gcc compiler available for the nanonote? 2011-08-30 16:55 something so i can compile natively on the ben 2011-08-30 16:55 instead of cross-compiling 2011-08-30 16:55 oh, there is, just found a section about it on the wiki :) 2011-08-30 17:08 wolfspraul, i must say so far i'm impressed with the current ben firmware 2011-08-30 17:08 it's a huge leap forward comared to the late 2009/early 2010 images 2011-08-30 17:08 *compared 2011-08-30 17:09 and you guys have got a port of liballegro. We'll have to adopt it to the Dingoo :) 2011-08-30 17:39 hmm.. i'm trying to compile a program that uses only ansi c + libSDL, but i'm getting this while trying to link: 2011-08-30 17:39 http://paste.pocoo.org/show/KuSHmbgorMaFM0vxl6Fx/ 2011-08-30 17:40 i'm building directly on the nanonote 2011-08-30 17:40 since the toolchain required you to make a symlink to /home/xiangfu/... and i think this is unacceptable :) 2011-08-30 17:40 *requires 2011-08-30 17:44 bad xiangfu! 2011-08-30 17:48 zear: you need to install libsdl dev libs.. which you should take either from openwrt build root, or from a respective package 2011-08-30 17:48 the repository is missing libdl, so i'm now trying to use the one from the Dingux toolchain 2011-08-30 17:48 kyak, of course i did that long time ago 2011-08-30 17:48 kyak, i already tried both the ones from qi-hardware website and the ones from the owrt repo 2011-08-30 17:49 i think if i was missing libsdl, the linker would point this out on -lSDL line 2011-08-30 17:49 isn't libdl functionality provided by uclibc? 2011-08-30 17:49 no idea, but then it means the sdl lib is broken 2011-08-30 17:50 it also complains about libdirectfb which IS already installed 2011-08-30 17:50 the above errors are not unusual 2011-08-30 17:50 did you provde the -rpath? 2011-08-30 17:50 using rpath-link as suggested will solve it 2011-08-30 17:50 kyak, no, i have no idea what that is 2011-08-30 17:50 i've been trying to compile with LDFLAGS = -L/usr/lib/ which usually fixes such problems 2011-08-30 17:50 rpath is bad because it affects the on-target runtime search paths while rpath-link is only compile time 2011-08-30 17:50 but the error message is pretty clear about what is it :) 2011-08-30 17:51 the usual syntax is  LDFLAGS += -Wl,-rpath-link=dir/with/needed/libraries 2011-08-30 17:51 kyak, not at all. What is the -rpath parameter of? gcc? 2011-08-30 17:51 in openwrt usually $(STAGING_DIR)/usr/lib 2011-08-30 17:52 gee, why openwrt must be so picky? I remember something like this was the reason i put the nanonote away back in 2009 2011-08-30 17:52 you could also add -ldl 2011-08-30 17:53 this will solve it as well 2011-08-30 17:53 jow_laptop, i tried of course 2011-08-30 17:53 to no avail ;) 2011-08-30 17:53 its not openwrt, its the linker which fails at resolving dependant libraries of linked libraries 2011-08-30 17:54 because during cross compilation there are not many environment places to initialize the search path from 2011-08-30 17:54 how can the linker fail if i give him the correct location with LDFLAGS = -L/usr/lib ? 2011-08-30 17:54 i'm not cross-compiling 2011-08-30 17:54 i'm compiling it natively on the nanonote 2011-08-30 17:54 and nope, the rpath-link didn't help 2011-08-30 17:54 are you using LD or CC for linking? 2011-08-30 17:54 gcc: unrecognized option '-rpath-link=/usr/lib/' 2011-08-30 17:55 CC 2011-08-30 17:55 well thats why I said the usual syntax is -Wl,-rpath-link=... 2011-08-30 17:55 -Wl tells the CC to pass through the flag to the LD 2011-08-30 17:55 well, CC and LD are just variables 2011-08-30 17:56 they have no real meaning unless i define them, right? 2011-08-30 17:56 like i do with CC = gcc 2011-08-30 17:56 s/CC/gcc/; s/LD/ld/ 2011-08-30 17:56 gcc does not know about -rpath-link, only ld does 2011-08-30 17:56 but gcc invokes ld 2011-08-30 17:56 so in order to convey args only for ld you have to wrap them in -Wl, 2011-08-30 17:57 zear: if you didn't put Ben away back in 2009, you wouldn't have these questions by now ;) 2011-08-30 17:57 ok, but why on earth is the nanonote's compiler so picky about everything? So far i compiled this piece of code to 8 different platforms, 2 of them not posix, and neither of them had such problems 2011-08-30 17:58 the compiler isnt, the linker is 2011-08-30 17:58 well, yes, the linker 2011-08-30 17:58 and that might be due to the fact that it runs on a uclibc host system 2011-08-30 17:58 which has differend ldso semantics than glibc 2011-08-30 17:58 nope, i already compiled to an uclibc platform 2011-08-30 17:58 and i had no such issues 2011-08-30 17:58 natively? 2011-08-30 17:58 hehe, no :D 2011-08-30 17:58 ... 2011-08-30 17:58 only by a cross-compiler 2011-08-30 18:01 I wonder whether "strings $(which ld) | grep /lib" lists /usr/lib somewhere 2011-08-30 18:02 ld: unrecognized option '-Wl,-rpath-link=/usr/lib/' 2011-08-30 18:02 well did you call ld directly now? 2011-08-30 18:02 or through gcc? 2011-08-30 18:02 yes 2011-08-30 18:02 directly 2011-08-30 18:03 if you call it directly then omit the -Wl 2011-08-30 18:03 if you call it through gcc then add the -Wl 2011-08-30 18:03 ah, i see 2011-08-30 18:03 you learn something new every day :) 2011-08-30 18:03 jow_laptop: http://dpaste.com/605320/ 2011-08-30 18:04 kyak: that looks broken 2011-08-30 18:04 ah, good :) 2011-08-30 18:04 no wonder its behaving like it is 2011-08-30 18:04 *does 2011-08-30 18:04 the "=" is apparently an artefact of the way ./configure was called 2011-08-30 18:05 or some other compile time shell / script failure 2011-08-30 18:06 ld is provided by binutils 2011-08-30 18:06 do you suspect some error there? 2011-08-30 18:06 yes 2011-08-30 18:08 i don't see anything unusual.. 2011-08-30 18:08 probably it's the defect of binutils itself 2011-08-30 18:09 or the shell its configure was run under 2011-08-30 18:10 that would be bash 2011-08-30 18:10 or /bin/sh 2011-08-30 18:11 jow_laptop, oh great, so now it's ld: cannot find -lSDL 2011-08-30 18:11 do you suggest that building binutils on another host might fix the problem? 2011-08-30 18:11 and yes, i do have libsdl in /usr/lib :) 2011-08-30 18:13 jow_laptop, that's the full linker line: http://paste.pocoo.org/show/4z5ps8cFArnbg7h2LKs7/ 2011-08-30 18:13 jow_laptop: i just installed binutils which i built on my host. It is even worse, the SEARCH_DIR is always prefixed with "=" 2011-08-30 18:13 ah no, sorry, the output is the same 2011-08-30 18:13 ld/genscripts.sh 2011-08-30 18:17 what a mess.. 2011-08-30 18:23 I think it boils down to "TARGET_SYSTEM_ROOT" defined during compilation 2011-08-30 18:23 it is set to "/home/jow/devel/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/binutils-2.20.1/ipkg-install" in my case and ends up in ldmain.o 2011-08-30 18:23 all SEARCH_DIR pathes are relative to that 2011-08-30 18:24 obviously this dir will not exist on-target 2011-08-30 18:24 I bet calling "ld" with --sysroot=/  would result in a more sane behavior 2011-08-30 18:26 --with-sysroot=$(PKG_INSTALL_DIR) in Makefile seems to be the problem? 2011-08-30 18:26 should read --with-sysroot=/ 2011-08-30 18:28 yes 2011-08-30 18:28 but I have no clue what the implications for building will be then 2011-08-30 18:28 or even drop this option.. 2011-08-30 18:29 ok ldfile.c just confirmed it, if a SEARCH_PATH entry starts with "=" it is based against the sysroot which is either supplied via cmdline or defined during compilation 2011-08-30 18:30 heh, you are a hardcore man :) 2011-08-30 18:30 this is mentioned in man ld 2011-08-30 18:30 "If searchdir begins with "=", then the "=" will be replaced by the sysroot prefix, a path specified when the linker is configured." 2011-08-30 18:30 so one can either patch genscripts.sh to not emit "=" or change the configure args to not supply --sysroot or patch ldmain.c to not define TARGET_SYSTEM_ROOT 2011-08-30 18:33 taking out --with-sysroot= is probably the best solution 2011-08-30 18:36 jow_laptop: http://dpaste.com/605335/ 2011-08-30 18:37 i've taken out the --with-sysroot :) 2011-08-30 18:37 seems that it is working! 2011-08-30 18:37 what are you playing with? 2011-08-30 18:38 with the native linker, i guess 2011-08-30 18:38 ok, time to sleep 2011-08-30 18:48 How could a swapless system hang, running processes that take a lot of memory? 2011-08-30 18:48 a linux, I mean. 2011-08-30 19:19 grmbl new hang 2011-08-30 21:06 dizy at 34 C