**** BEGIN LOGGING AT Sat Jan 28 03:00:00 2012 Jan 28 03:30:34 jow * r29927 /trunk/target/sdk/Makefile: Jan 28 03:30:34 [sdk] make sure .config gets copied as file Jan 28 03:30:34 When using scripts/env, .config is most likely a symbolic link Jan 28 03:30:34 pointing to env/.config. Previously the symbolic link got Jan 28 03:30:34 copied as-is into the SDK tarball, leading to a dangling .config Jan 28 03:30:34 symlink on the target system which prevented the SDK from working. Jan 28 03:30:53 jow * r29928 /branches/backfire/target/sdk/Makefile: [backfire] sdk: merge r29927 Jan 28 03:51:25 jow * r29929 /trunk/tools/automake/Makefile: [tools] automake: generate relative aclocal symlinks in staging_dir Jan 28 03:52:26 jow * r29930 /branches/backfire/tools/automake/Makefile: [backfire] tools: merge r29929 Jan 28 04:42:17 jow * r29931 /trunk/tools/autoconf/patches/000-relocatable.patch: [tools] autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg Jan 28 04:43:17 jow * r29932 /branches/backfire/tools/autoconf/patches/000-relocatable.patch: [backfire] tools: merge r29931 Jan 28 04:46:42 jow * r29933 /branches/backfire/ (10 files in 10 dirs): [backfire] toolchain: relocate gcc, binutils and tools from /usr/ prefix to / - fixes implicit search path of libc Jan 28 05:45:11 jow_laptop: can I get #1795 committed please? Jan 28 05:46:52 and no, I've not had time to try to debug the ath5k thing... was trying to get some x86 platform drivers into 3.3 before it releases. Jan 28 13:18:27 hi! i have to add these flag (-D_GNU_SOURCE) to the crosscompiler. which makefile needs to be edit and which flag? Jan 28 13:19:46 florian * r29934 /trunk/target/linux/ar71xx/patches-3.2/ (12 files): [ar71xx] refresh 3.2 patches Jan 28 13:19:50 florian * r29935 /trunk/target/linux/ar71xx/ (14 files in 9 dirs): Jan 28 13:19:51 [ar71xx] add support for the Atheros AP113 reference board Jan 28 13:19:51 This reference board is equipped with: Jan 28 13:19:51 - AR7242 SoC Jan 28 13:19:51 - AR9580 on-board Wi-Fi Jan 28 13:19:51 - AR8316 switch Jan 28 13:52:40 hauke * r29936 /trunk/package/switch/src/ (switch-adm.c switch-core.c switch-robo.c): switch: fix some memory leaks in switch_parse_vlan() Jan 28 14:03:36 Big-R: the makefile of the package needing it Jan 28 14:08:48 jow_laptop: ok, i tried it, but it doesn't work, or i set the wrong flag at the wrong place... Jan 28 14:10:15 i get the same error Jan 28 14:11:11 I'm not in your brain so I don't now what you're talking about Jan 28 14:11:30 *lol* Jan 28 14:12:09 ok i try to compile openwrt and i get a compile error in ncurses Jan 28 14:12:17 what error? Jan 28 14:13:23 http://pastebin.com/ehDEBjUq Jan 28 14:21:45 try TARGET_CFLAGS += -D_GNU_SOURCE Jan 28 14:21:55 and HOST_CFLAGS += -D_GNU_SOURCE Jan 28 14:25:14 an even cleaner solutions is Jan 28 14:25:29 CONFIGURE_ARGS += --with-build-cppflags=-D_GNU_SOURCE Jan 28 14:30:13 ok where do i have to add this? in the Makefile from ncurses? Jan 28 14:30:31 actually its already in there Jan 28 14:30:43 what version of openwrt do you build? Jan 28 14:32:30 trunk, i edited this lines in rules.mk "HOSTCC:=gcc" and "TARGET_CC:=$(TARGET_CROSS)gcc" to "HOSTCC:=gcc -D_GNU_SOURCE"and "TARGET_CC:=$(TARGET_CROSS)gcc -D_GNU_SOURCE" Jan 28 14:32:35 maybe it was not correct Jan 28 14:33:10 yeah, that will probably break other stuff Jan 28 14:33:15 i removed this now back to the original Jan 28 14:33:35 so what do i have edit in which file? Jan 28 14:33:43 package/ncurses/Makefile Jan 28 14:34:18 right now --with-build-cppflags=-D_GNU_SOURCE is only added in the ncursesw case Jan 28 14:34:27 move it to the generic args Jan 28 14:35:45 generic args are the CONFIGURE_ARGS? Jan 28 14:36:08 CONFIGURE_ARGS outside the conditionals Jan 28 14:36:37 ok, i appended this line, now make clean && make? Jan 28 14:36:52 or only make Jan 28 14:38:07 make package/ncurses/{clean,compile} V=99 Jan 28 14:42:22 samke error Jan 28 14:42:25 same Jan 28 14:43:00 http://pastebin.com/MdhuqVFs Jan 28 14:43:28 seems to be an OSX problem then Jan 28 14:43:35 I have no issues building it on Ubuntu Jan 28 14:48:25 jow_laptop. i will try to set a vm with ubuntu, maybe it works... Jan 28 16:43:52 * stappers is looking for effective ways to add print statement is preinit scripts Jan 28 16:44:28 only few echo statements did generate output for me Jan 28 17:03:23 Why don't I get output from the echo statements in http://pastebin.com/Mtvwmzif ? Jan 28 17:04:19 I do have output from an echo statement in /etc/preinit Jan 28 17:10:31 prefixing the 'echo' with 'debug' did not help for me, your help is welcome Jan 28 17:20:28 Found a running syslog, now looking where it logs ... Jan 28 17:27:44 * stappers found logread \o/ Jan 28 17:54:14 * stappers is been searching for the string ttyS2 because the syslog buffer is flodded with lines like Jan 28 17:54:21 Jan 28 17:51:44 OpenWrt daemon.info init: starting pid 2384, tty '/dev/ttyS2': '/bin/ash --login' Jan 28 17:54:24 Jan 28 17:51:45 OpenWrt daemon.info init: process '/bin/ash --login' (pid 2384) exited. Scheduling for restart. Jan 28 17:54:27 Jan 28 17:51:45 OpenWrt daemon.info init: starting pid 2397, tty '/dev/ttyS2': '/bin/ash --login' Jan 28 17:54:30 Jan 28 17:51:46 OpenWrt daemon.info init: process '/bin/ash --login' (pid 2397) exited. Scheduling for restart. Jan 28 17:54:33 Jan 28 17:51:46 OpenWrt daemon.info init: starting pid 2411, tty '/dev/ttyS2': '/bin/ash --login' Jan 28 17:57:27 what kind of device? Jan 28 17:59:29 that stuff is obviously caused by something in /etc/inittab Jan 28 18:00:21 are you by any chance using mips malta in an emulator? Jan 28 18:09:36 Yep, I'm on mips malta in QEMU Jan 28 18:10:25 * stappers searches for 'askfirst' string Jan 28 18:16:27 Got it: target/linux/malta/base-files/etc/inittab:ttyS2::askfirst:/bin/ash --login Jan 28 18:23:19 flooding of syslog buffer is stopped due the updated Malta /etc/inittab Jan 28 18:24:47 My debugging 'logger -t tag' are not in the syslog buffer :-( Jan 28 18:26:15 * stappers is going to place logger statements in other preinit scripts ... Jan 28 18:37:44 mmm, syslogd started later as the scripts that I want to lart with echo or other print statements Jan 28 19:21:24 jow_laptop, compiling ncurses works, but now i get an other error on package appweb Jan 28 19:21:25 http://pastebin.com/unxJCWGM Jan 28 20:50:53 build #124 of cobalt is complete: Failure [failed compile_10] Build details are at http://buildbot.openwrt.org:8010/builders/cobalt/builds/124 Jan 28 20:58:30 swalker * r29937 /packages/utils/psmisc/Makefile: [packages] psmisc: Revert r29738's peekfd addition (#10862) Jan 28 21:49:29 question: I have a mtd partition art containing ath5k/9k calibration data. how do i get this loaded to device? Jan 28 21:53:35 ok, first gonna try ath9k rather than ath5k; might be best with the correct driver. added as a module so i can add and remove at will. Jan 28 21:54:06 btsimonh: check arv45xx_register_ath5k inside lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c Jan 28 22:05:24 ath9k == wireless n chipsets? correct? Jan 28 22:05:44 (ath5k == g?) Jan 28 22:08:24 yes Jan 28 22:09:19 you should first do something like lantiq/files-3.1/arch/mips/lantiq/xway/dev-wifi-ath5k.c but for ath9k so that all devices who use ath9k on lnatiq can share that code Jan 28 22:10:19 yeah, tracing it all through :) Jan 29 00:24:39 crow: any luck building Alix? Jan 29 01:15:19 hello Jan 29 01:17:24 Growly: the guys might be sleeping or away, but have no fear, many devs read back on the channel Jan 29 01:17:53 * dape_x60 goes back to his porn tablet. Jan 29 01:18:04 lol thanks Jan 29 01:18:13 i'll throw my problems out there in any case Jan 29 01:19:12 i updated trunk to head, from scratch, and tried to make the default image, but i get: fread failure or file "/home/arya/openwrt/trunk/build_dir/linux-brcm47xx/root.squashfs" too large Jan 29 01:20:17 (host filesystem is ext4) Jan 29 02:20:54 hmm Jan 29 02:21:09 some combination of make clean and make menuconfig seems to have fixed it 0.o **** ENDING LOGGING AT Sun Jan 29 02:59:58 2012