**** BEGIN LOGGING AT Sat Jul 07 02:59:56 2007 Jul 07 08:35:08 i'm trying to get lftp to compile for kamikaze Jul 07 08:35:16 and i'm stuck on this error: Jul 07 08:35:16 /home/joost/kamikaze/staging_dir_armeb/include/c++/4.1.2/cstdlib:50:28: error: bits/c++config.h: No such file or directory Jul 07 08:35:38 the point is, that file indeed doesn't exist Jul 07 08:36:20 but it's referenced from within the cstdlib file, so why is the reference even in there? does noone else include that file? Jul 07 08:39:46 i have staging_dir_armeb/include/c++/4.1.2/armeb-linux-uclibc/bits/c++config.h Jul 07 08:40:09 did it not put the file in that place? Jul 07 08:41:19 wait Jul 07 08:41:23 i have it too... Jul 07 08:41:35 I guess the question is, why can't it find it Jul 07 08:43:52 and now i don't Jul 07 08:44:10 the files in there are changing, after i do a make package/lftp-compile V=99 Jul 07 09:05:35 crazy_imp * r7883 /packages/libs/apr/Makefile: removed apr-1-config, you won't need it on a router, it's only for building other packages Jul 07 09:06:16 crazy_imp * r7884 /packages/utils/apr-util/Makefile: Jul 07 09:06:16 removed apu-1-config, you won't need it on a router, it's only for building othe Jul 07 09:06:16 r packages Jul 07 09:27:57 hi Jul 07 09:28:04 hello Jul 07 09:28:54 since I reflashed with 7.07 I always get some strange messages when I press some keys at the serial console Jul 07 09:28:58 http://www.pastebin.ca/607012 Jul 07 09:29:13 nbd * r7885 /trunk/package/madwifi/patches/124-linux24_compat.patch: fix madwifi compile for 2.4 Jul 07 09:29:52 I'm unshure about whats causing this but it had not been there with 7.06 so I assume it's some problem with 7.07 Jul 07 09:30:21 (running buffalo whr-hp-ag108) Jul 07 09:30:50 pi: give me a minute. i'll try to come up with a fix Jul 07 10:49:25 nbd: i'm having a problem, lftp comes with a readline library included in the sources, it has it's own configure script etc. Jul 07 10:50:00 the thing is: that configure script gets run by lftp's configure, and doesn't inherit the CONFIGURE_VARS that i'm setting in package/lftp/Makefile Jul 07 10:50:33 do you have any idea how to solve that? Jul 07 11:04:55 does it have to use its own readline or can you patch it to use the real one? Jul 07 11:05:16 I just got it to do the configure script decently Jul 07 11:05:29 but now it borks on a compile error, it tries to use assembly code Jul 07 11:06:17 http://pastebin.ca/607112 < here's the output Jul 07 11:11:27 vlabakje: dunno, but the asm stuff might make problems, guess it's written for x86, is the xscale compatible to run it? Jul 07 11:12:15 i still think he should try to use the external libreadline Jul 07 11:13:11 hmmmm, lftp has readline 4.3 embedded, 5.2 is latest Jul 07 11:13:18 might not be a bad idea nbd Jul 07 11:14:39 i saw there's a makefile in my tree for readline: /feeds/https_svn.openwrt.org_openwrt_packages_/libs/readline Jul 07 11:14:50 can i just copy that dir into kamikaze/package ? Jul 07 11:17:09 vlabakje: if dou have it in feeds/... it should be already linked into the package dir Jul 07 11:17:36 s/dou/you/ Jul 07 11:20:22 it wasn't, but that was fixed with a ln Jul 07 11:20:31 building it now :) Jul 07 11:26:22 Packaged contents of /home/joost/kamikaze/build_armeb/lftp-3.5.11/ipkg/lftp into /home/joost/kamikaze/bin/packages/lftp_3.5.11-2_armeb.ipk Jul 07 11:26:28 and there was much rejoicing Jul 07 11:26:36 thanks nbd crazy_imp :) Jul 07 11:26:52 will be submitting the correct patch for kamikaze into dev.openwrt.org later today Jul 07 11:27:53 :) Jul 07 12:58:44 olli * r7886 /packages/utils/lcd4linux/ (7 files in 2 dirs): lcd4linux: fix compile (#1981) Jul 07 14:47:35 11:33 < nbd> pi: give me a minute. i'll try to come up with a fix Jul 07 14:47:48 nbd: any news on that? Jul 07 14:48:13 nbd: just let me know when you have something for me to try Jul 07 18:46:03 btw, is there no way to use distcc while building openwrt? Jul 07 18:46:32 i'm kind of limited to one CPU because i'm running inside parallels on os x Jul 07 18:47:41 vlabakje: iirc forum2006 patched distcc support into the buildsystem, maybe you can ask him Jul 07 18:48:49 forum2006 did you patch distcc support into openwrt's build system? Jul 07 19:00:19 vlabakje, no patching required. just changed hostcc and target_cc in $(topdir)/rules.mk built the toolchain and mounted it on the other pc with nfs than continue with building the packages... Jul 07 19:01:05 ah nice forum2006 Jul 07 19:01:10 np Jul 07 19:01:29 the other pc had just a ubuntu livecd Jul 07 19:02:12 aha Jul 07 19:03:13 so, the buildsystem must be in the same directories on both pc's. and both pc's must have the same architecture Jul 07 19:03:35 no problem, they will be parallels instances on my workstation Jul 07 19:04:22 k Jul 07 19:04:48 it's such a waste to have a 4 core mac pro, and see one of them on 100% cpu ;) Jul 07 19:07:11 yeah. if you have it working, maybe you can write it down to the forums or the wiki... Jul 07 19:07:26 sure Jul 07 19:07:36 I understood the wiki will be deprecated at some point Jul 07 19:07:42 so I'll put up a forum thread Jul 07 19:07:44 cool :) Jul 07 19:10:17 can you mount it ro? Jul 07 19:10:31 distcc doesn't need to write so i guess you can, righ Jul 07 19:10:32 ? Jul 07 19:11:23 maybe ro works, test it Jul 07 19:26:05 vlabakje, with distccmon-gnome you can monitor distcc's activity Jul 07 19:26:47 forum2006: nice, i'll try it out, still working on my compiler nodes at the moment :) Jul 07 20:12:39 mbm * r7887 / (2 files in 2 dirs): fix busybox --help problems on rebuild Jul 07 20:13:16 :) Jul 07 20:33:29 forum2006: do you know how the kernel .config for a system gets build in kamikaze? Jul 07 20:34:31 is it 'make kernel_menuconfig' what you mean? Jul 07 20:34:43 no Jul 07 20:34:58 i've applied this patch: https://dev.openwrt.org/ticket/1754 Jul 07 20:35:01 to my build tree Jul 07 20:35:33 and that's supposted to add sg.ko to the kernel build Jul 07 20:35:51 in my menuconfig for kamikaze it's given as an M Jul 07 20:36:14 but my compile fails with cp: cannot stat `/home/joost/kamikaze/build_armeb/linux-2.6-ixp4xx/linux-2.6.21.5/drivers/scsi/sg.ko': No such file or directory Jul 07 20:37:59 now if i check build_armeb/linux/.config for the setting, it's on this: # CONFIG_CHR_DEV_SG is not set Jul 07 20:38:15 but, toolchain_build_armeb/linux/.config, has CONFIG_CHR_DEV_SG=m Jul 07 20:38:25 so i'm a bit confused Jul 07 20:39:32 vlabakje, try with 'make kernel_menuconfig' select config_chr_dev_sh their, save and exit and recompile the kernel with: 'make target/linux-{clean,compile} V=3' Jul 07 20:41:19 hmmm Jul 07 20:41:41 edited build_armeb/linux/.config by hand and re-ran make Jul 07 20:41:44 and now it works Jul 07 20:41:47 guess that's the same thing Jul 07 20:43:16 no not the same thing. kernel_menuconfig copies the changes to target/linux//config/default so it's persistent over a 'make clean' Jul 07 20:43:40 aha Jul 07 20:43:56 aha Jul 07 20:44:08 thank you very much :) Jul 07 20:44:12 no problem Jul 07 21:35:53 /home/joost/kamikaze/staging_dir_armeb/lib/gcc/armeb-linux-uclibc/4.2.0/../../../../armeb-linux-uclibc/lib/crt1.o: In function `_start': Jul 07 21:35:57 crt1.S:(.text+0x4c): undefined reference to `main' Jul 07 21:36:00 does that ring a bell with anyone? Jul 07 21:36:10 it's stuck on compiling zlib Jul 07 21:37:01 vlabakje, what does 'make prereq' says? Jul 07 21:37:47 only one line Checking 'npe-ucode'... ok. Jul 07 21:38:53 strange thing is, it looks like it's the exact same problem as with http://www.busybox.net/lists/uclibc/2005-September/012517.html Jul 07 21:41:37 hmmm, i fixed it by runnig the strip binary from the staging dir over that file (crt1.o) Jul 07 21:46:29 is pavlov here? Jul 07 21:47:42 forum2006: his nick is lst Jul 07 21:48:04 nbd, thanks Jul 07 21:48:08 lst, ping Jul 07 21:48:28 * forum2006 tries to get postgresql server running Jul 07 21:56:05 grr. http://pastebin.ca/607767 Jul 07 21:58:09 FATAL: unrecognized configuration parameter "tcpip_socket" Jul 07 21:58:32 hmm Jul 07 21:59:05 so, does it read the config or not? Jul 07 23:03:05 think i figured it out... Jul 07 23:05:38 yup: http://pastebin.ca/607888 Jul 07 23:06:42 pidof postgres -> 1904 1903 1899 Jul 07 23:06:46 :) Jul 07 23:07:45 added a new user? Jul 07 23:09:10 crazy_imp, that's done automatically by the pgsql-server postinst script if you compiled bb with user management tools Jul 07 23:09:32 ack Jul 07 23:11:38 crazy_imp, http://pastebin.ca/607898 <-- that's all iirc Jul 07 23:11:48 maybe the default shared_buffers/max_fsm_pages should be set to a smaller value? Jul 07 23:12:13 didn't looked at the details yet. just like to get it working. Jul 07 23:13:07 hehe, sure, but it'll fill a 32mb router pretty fast i think Jul 07 23:13:27 i have 128mb :) Jul 07 23:13:48 * crazy_imp thinks thats cheating ;) Jul 07 23:14:49 grr, forgot that var is on /tmp Jul 07 23:15:02 :D Jul 07 23:16:20 thats a thing i need to teach apache, it still wants /var/logs/ for the .pid file **** ENDING LOGGING AT Sun Jul 08 02:59:57 2007