**** BEGIN LOGGING AT Thu Jul 17 02:59:57 2008 Jul 17 04:37:45 thepeople: I split the sierra patch up a little more (individual mods to the 2.4 kernel instead of a monolithic patch) and will post it tomorrow after I run it through a build on my build server (ramdisk, much faster) and boot/run it on a test box. Jul 17 04:39:28 aoz: alright sounds good Jul 17 04:40:26 I am busy seeing if I can fix up a bunch of outstanding x-wrt issues Jul 17 04:40:30 tonight Jul 17 08:24:19 hi all Jul 17 08:24:26 Nix: huh? Jul 17 08:24:29 hey mtp_ Jul 17 08:24:54 wrt: good morning :-) Jul 17 08:26:27 hello Jul 17 08:26:34 mtp_: what? Jul 17 10:08:35 florian * r11852 /trunk/target/linux/rb532/files-2.6.24/drivers/ (char/watchdog/ watchdog/): 2.6.24 moved watchdog drivers to drivers/watchdog Jul 17 10:09:17 florian * r11853 /trunk/target/linux/rb532/files-2.6.24/drivers/net/korina.c: Working korina driver for 2.6.24, still needs fixing in the tx tasklet which introduces high latency when transmitting packets, rx path works ok Jul 17 19:35:12 cyrus * r11854 /packages/utils/collectd/ (4 files in 2 dirs): [packages] utils/collectd: Updated to 4.4.2 Jul 17 21:26:32 there it went... Jul 17 22:06:54 nbd * r11855 /trunk/package/madwifi/patches-r3776/303-bssid_alloc.patch: remove a wrong patch chunk in the madwifi update Jul 18 01:16:39 i saw that nbd made the latest update of the aircrack-ng 7 months ago in trunk... i'm trying to build the aircrack 1.0-rc1 but it looks like it can't find its way to the staging_dir/toolchain-mipsel_gcc4.1.2/include in a gracefull way for system headers Jul 18 01:17:00 anyone tried to build some recent version of aircrack? Jul 18 01:17:43 i tried to reuse info found in this patch for svn or betabuild of aircrack but without luck: https://dev.openwrt.org/cgi-bin/trac.fcgi/attachment/ticket/3298/aircrack-svn-build.2.patch Jul 18 01:19:04 does include $(INCLUDE_DIR)/kernel.mk have anything to do with what's in my staging_dir/toolchain? Jul 18 01:20:25 hmm.. I've been having trouble building some things - but aircrack-ng aircrack-ptw packages seems to have been built. Jul 18 01:20:27 mean how the build can find headers etc in it Jul 18 01:20:35 (from trunk a week ago) Jul 18 01:20:57 -- but I've had problems with packages mysteriously not finding the include directory. Jul 18 01:21:02 aircrack-ng 0.9.1 builds just fine Jul 18 01:21:19 but i run into problems with more recent versions of it Jul 18 01:21:29 oh - ok. 1.0-rc1 I c Jul 18 01:22:26 breaks with a: aircrack-ng.c: In function 'main': \ aircrack-ng.c:4418: error: expected expression before ',' token Jul 18 01:22:55 is it a patch problem? Jul 18 01:23:08 no Jul 18 01:23:52 but the build doesn't find all the right headers even though every dependent header are in staging_dir Jul 18 01:24:10 so i guess it't more of a make file problem Jul 18 01:24:41 is bcm63xx in a SCM yet? Jul 18 01:24:51 Philip5: hard to know without seeing the V=99 output with the include paths etc. Jul 18 01:29:06 frogonwheels: http://pastebin.com/m3522a010 Jul 18 01:29:13 there you have the buildlog Jul 18 01:30:38 Philip5: doesn't seem to be not finding files - what's on aircrack-ng.c: 4418 Jul 18 01:32:33 continue; Jul 18 01:33:17 now that just doesn't make sense. Jul 18 01:33:37 you you send me the files on irc? Jul 18 01:33:53 with DCC Jul 18 01:34:15 wait Jul 18 01:35:15 this is the right line that it beaks in: Jul 18 01:35:16 progname = getVersion("Aircrack-ng", _MAJ, _MIN, _SUB_MIN, _REVISION, _BETA, _RC); Jul 18 01:35:51 do you want all the files or just this file that breaks? Jul 18 01:36:01 I'm guessing that one of _MAJ, _MIN etc is not defined. Jul 18 01:36:30 i guess that too Jul 18 01:37:53 that was a very slow transfer but it works :) Jul 18 01:38:12 Yeah - still coming my end. Jul 18 01:38:26 oh. um.. have you found where any of those defines are defined? Jul 18 01:38:47 no but i guess it's in the system headers Jul 18 01:38:52 i.e #include Jul 18 01:38:55 that it uses Jul 18 01:39:15 there is a bunch of that kind of incluedes in this file Jul 18 01:40:24 to get anywhere i used this concept of cflags from this make file patch: https://dev.openwrt.org/cgi-bin/trac.fcgi/attachment/ticket/3298/aircrack-svn-build.2.patch Jul 18 01:40:27 Philip5: my guess is it's finding the wrong version.h somehow!? Jul 18 01:40:28 so anyhow Jul 18 01:40:36 is there a version.h in the directory Philip5? Jul 18 01:40:42 any clue why my clock/uptime/sleep etc run about 5 x too fast? Jul 18 01:40:57 luke-jr: your router is in a hurry Jul 18 01:41:25 yes and it defines MAJ and MIN Jul 18 01:41:26 damn, NAiL beet me to the glib answer. Jul 18 01:41:34 _MAJ I hope Jul 18 01:41:39 yes Jul 18 01:41:59 it's the versioning of the software Jul 18 01:42:26 Philip5: ah.. but _REVISON ?? where is that from? Jul 18 01:42:51 http://pastebin.com/m97026c9 Jul 18 01:42:56 that's the version.h Jul 18 01:43:28 yeah - that's similar to the old one. but stilll.. no _REVISION Jul 18 01:43:37 wonder where the version I've got gets it from. Jul 18 01:43:43 I'm guessing not where it thinkgs. Jul 18 01:43:45 thinks. Jul 18 01:44:39 i don't know where it sets it but in my ipkg make file i have -D_REVISION=$(PKG_REV) Jul 18 01:44:51 oh! Jul 18 01:44:54 that's also something i got from the svn-patch Jul 18 01:44:56 make file Jul 18 01:45:23 that makes sense. Jul 18 01:45:24 CFLAGS="$(TARGET_CFLAGS) -Wall -I$(STAGING_DIR)/usr/include -D_REVISION=$(PKG_REV)" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" Jul 18 01:45:40 that's what i use to get it find headers at all Jul 18 01:46:01 that makes sense. Jul 18 01:46:02 otherwise it breaks without finding openssl headers or the pcap.h Jul 18 01:46:24 Philip5: I'd be putting in some code (possibly via a patch) to work out whether it's finding the CORRECT version.h Jul 18 01:46:27 even though they in fact are in staging_dir Jul 18 01:46:49 Finding the version.h has nothing to do with the include directory as it should find the one in the current dir first!? Jul 18 01:47:25 could i do some ugly hardcoding to get it to point to the right version-h? Jul 18 01:47:41 Philip5: I think it probably is already. Jul 18 01:47:49 Philip5: I can't see how it can get the wrong one. Jul 18 01:48:22 Philip5: hey you could define all the _MAJ _MIN _SUB_MIN in your make file and see if that fixes it.. Jul 18 01:48:44 Philip5: at the least, it should break redefining or something... possibly.. Jul 18 01:49:12 using -D_MAJ etc? Jul 18 01:49:28 yeah - just to see if that helps understand the problem. Jul 18 01:50:28 ok... just a sec Jul 18 01:52:50 the code builds just fine on my ubuntubox here but the problem is when i try to compile with the openwrt toolchain Jul 18 01:54:06 it's very strange. Jul 18 01:54:24 it breaks with exactly the same errormessage Jul 18 01:55:28 hmm.. I wonder if one of those defines isbeing redefined on you? Jul 18 01:55:40 woohoo Jul 18 01:55:43 ☹ Jul 18 01:55:48 i think i got it Jul 18 01:55:53 I need help making Linux smaller Jul 18 01:56:04 !? Jul 18 01:56:05 decrease your font size Jul 18 01:56:21 ka tish Jul 18 01:56:25 i had -D_REVISION=$(PKG_REV) but PKG_REV wasn't defind Jul 18 01:56:33 lol Jul 18 01:56:51 Philip5: that'll do it. Jul 18 01:57:13 so i gave -D_REVISION=1 and it got passed it but broke again later in an other part Jul 18 01:57:28 that's another issue. Jul 18 01:57:53 yes Jul 18 01:58:00 I should get back to working now. Let me know if you're really stuck. it's still AM here so will be around for a while. Jul 18 01:58:34 it's still AM here too... 4 am Jul 18 01:58:36 :) Jul 18 01:58:43 i haven't slept yet Jul 18 01:58:44 hehe Jul 18 01:58:59 Philip5: go to sleep. Jul 18 01:59:11 i want to solve this Jul 18 01:59:31 Philip5: sounds like you need to sleep though. Jul 18 01:59:37 now it broke as it couldn't find ieee80211.h Jul 18 02:10:22 frogonwheels: thanks for the help so far... Jul 18 02:10:25 :) Jul 18 02:10:34 now i got momentum Jul 18 02:16:22 yw Jul 18 02:17:55 frogonwheels: got it built now Jul 18 02:18:03 yeay! Jul 18 02:18:11 woo hoo! Jul 18 02:18:52 frogonwheels: is there any interest in sending a patch on how to update aircrack-ng? Jul 18 02:19:08 if so where do i send it? the openwrt mailinglist? Jul 18 02:19:18 Philip5: yep - read the howto Jul 18 02:19:35 i'll do... again.. thanks for the help Jul 18 02:19:40 Philip5: you can post it to a forum as well - but a patch to the mailing list is the way to go. Jul 18 02:20:24 Philip5: One thing they don't show is removing/adding files locally with svn - if you are familiar with svn, then that's not a problem Jul 18 02:20:53 Philip5: but took me a few months to work out that it had to be done to get the svn patch to work properly with added/removed fiels Jul 18 02:21:23 ok but to do that i guess i need to have access and rights to upload patches to svn Jul 18 02:21:49 i'll look into that tomorrow after i had some sleep Jul 18 02:21:57 Philip5: nope - the svn add svn remove (delete?) are local only and nothing to do with server. Jul 18 02:22:04 Philip5: It took me a while to realise this Jul 18 02:22:11 aha Jul 18 02:22:33 Philip5: then when you do the svn diff - it correctly reports those files as added/removed Jul 18 02:22:43 Philip5: before commiting (which we don't have rights to) Jul 18 02:23:11 aha, nice Jul 18 02:23:57 yeah, quite neet. Jul 18 02:24:03 neat **** ENDING LOGGING AT Fri Jul 18 02:59:56 2008