**** BEGIN LOGGING AT Thu Nov 13 02:59:57 2008 Nov 13 03:49:13 interesting. libgmp is part of 8.09_RC1 but not present in the build env to build Nov 13 04:22:43 nico * r13194 /trunk/package/busybox/patches/802-brctl_linux24.patch: fix brctl on linux 2.4 Nov 13 08:03:00 florian * r13195 /packages/net/psybnc/patches/005-fix_endianess_detection.patch: Add missing psybnc patch for proper endianess detection Nov 13 08:26:48 hey guys Nov 13 08:27:04 Is there a documentation on porting an APP ? Nov 13 08:27:28 I'm looking to get MINIupnpC available, I see MINIupnpD is already available Nov 13 08:29:28 the makefile for miniupnpD looks easy Nov 13 10:27:46 nbd: i've narrowed the guilty patches Nov 13 10:27:55 to three it looks like Nov 13 10:28:39 they are in arch/x86/kernel/tsc_32.c Nov 13 10:29:17 if i revert those, soekris boots Nov 13 10:29:54 (at least, the the "Please be patient, while OpenWrt loads ...", where it got stuck on the previous openwrt revision) Nov 13 10:39:51 trying the patches with -current (ish) Nov 13 10:42:39 aha. looks like a known problem. Nov 13 10:43:10 google: tsc_32.c 486 Nov 13 10:43:42 ah Nov 13 10:43:44 that explain Nov 13 10:43:45 s Nov 13 10:45:12 thanks for tracking this down Nov 13 10:45:21 the patch inside this discussion: http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/8d95409016222d34/c52d6fa4c2cc56de?#c52d6fa4c2cc56de should work, right? Nov 13 10:45:45 * russell_ building to confirm it fixes the problem here Nov 13 11:24:14 interesting Nov 13 11:24:31 the patch in the thread cited does *not* fix it for me Nov 13 11:24:41 interesting Nov 13 11:24:55 if i revert all the 2.6.25.6 changes to tsc_32.c, it works Nov 13 11:25:20 ok, maybe we should then commit a revert patch Nov 13 11:25:40 i might be able to narrow it down a little further Nov 13 11:25:49 ok Nov 13 11:42:49 at least one of the three is okay Nov 13 12:01:35 someone who understands this code can probably fix it "properly", but the two patches i just added to https://dev.openwrt.org/ticket/4172 seem to let it boot. Nov 13 12:02:57 ... on a soekris net4526. no promises on anything else. Nov 13 12:03:16 * russell_ sleeps Nov 13 14:28:21 juhosg * r13196 /trunk/target/linux/ar71xx/ (config-2.6.27 patches-2.6.27/101-ksz8041_phy_driver.patch): [ar71xx] update 2.6.27 specific patches, and sync kernel config Nov 13 14:29:36 juhosg * r13197 /trunk/target/linux/atheros/ (2 files in 2 dirs): [atheros] update 2.6.27 specific patches, and sync kernel config Nov 13 15:55:49 juhosg * r13198 /trunk/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c: [ar71xx] rewrite memory size detection Nov 13 16:00:02 nice Nov 13 16:00:10 juhosg: is that RAM or flash memory? Nov 13 16:01:45 danage: RAM Nov 13 16:18:18 juhosg: there is not flash autodetect for ar7 yet, is there? Nov 13 16:20:28 danage: i don't know, i'm working on the Atheros AR71xx target Nov 13 16:23:10 arr Nov 13 16:23:14 of course Nov 13 16:37:25 AR7Port on WRTP54G: mii-tool always show eth with link status down. It is a AR7Port issue or is only related on WRTP54G? Nov 13 17:03:04 juhosg * r13199 /trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c: Nov 13 17:03:04 [ar71xx] fixes the ethernet port mask of RB433 in the platform data Nov 13 17:03:04 * Signed-off-by: Joerg Albert Nov 13 17:03:04 * closes #4185 Nov 13 17:53:41 xMff: Wieso ist den im RC1 noch dieses steinalte Theme? Gabs mit den aktuellen irgendentwelche Probleme? Nov 13 17:54:28 weil 0.8.1 lange vor der Fertigstellung der Ă„nderungen getaggt wurde Nov 13 17:55:22 Achso, naja... Nov 13 17:58:14 ist aber bereits gemergt, muss aber noch umgebaut werden Nov 13 21:50:06 Hello, Nov 13 21:50:25 I need build a program that need lib gps from gpsd Nov 13 21:50:52 in my machine i user -lgps Nov 13 21:51:16 but buildroot don't recognize this library Nov 13 22:25:00 Pensador: not enough information Nov 13 22:25:34 I have gps.h in trunk/staging_dir/i386/usr/include/ Nov 13 22:25:54 but in build i have this error: : error: gps.h: No such file or directory Nov 13 22:26:50 is gpsd getting built? Nov 13 22:27:29 yep Nov 13 22:28:57 libgps is already built Nov 13 22:29:26 is in staging_dir/i386/usr/lib Nov 13 22:31:42 what i do is run "script" and then "make -d V=99" which gets captured in a voluminous typescript file that i can peruse. Nov 13 22:37:36 how built Nov 13 22:37:39 but segfault at bfae0ffc ip b7fb0836 sp bfae1000 error ffff0006 in libuClibc-0.9.29.so[b7f73000+43000] Nov 13 22:41:40 Pensador: maybe your app is broken Nov 13 22:42:33 one common reason for segfault in uclibc is printf("%s", NULL) Nov 13 22:43:11 fprintf for stderr is possible? Nov 13 22:45:01 yes Nov 13 22:45:07 Ok Nov 13 22:45:12 tnks Nov 13 22:45:18 I will try Nov 13 22:45:21 without Nov 13 22:46:57 aaron are you in the channel? Nov 13 22:52:45 e Nov 13 23:01:29 larsc, i dont have any printf Nov 13 23:02:03 I built with $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I/home/pedro/Desktop/RCM/trunk/staging_dir/i386/usr/include/ -L/home/pedro/Desktop/RCM/trunk/build_dir/i386/gpsd-2.37/.libs/ -lgps Nov 13 23:02:54 the first line in main is printf("Starting\n"); Nov 13 23:12:40 Pensador: and it doesn't even print "Starting" Nov 13 23:13:59 No Nov 13 23:14:09 I tried make a simple program only with hello world Nov 13 23:14:33 and worked, but when i included gps.h and compile with lgps the program shows the same error Nov 13 23:15:30 well then there might be a problem with libgps Nov 13 23:16:25 in my makefile Nov 13 23:16:26 i used Nov 13 23:16:39 FLAGS = -g -Wall Nov 13 23:16:39 C_OBJ = spcri_client.o Nov 13 23:16:39 C_OUT = spcri_client Nov 13 23:16:39 all: Nov 13 23:16:39 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -I/home/pedro/Desktop/RCM/trunk/staging_dir/i386/usr/include/ -L/home/pedro/Desktop/RCM/trunk/build_dir/i386/gpsd-2.37/.libs/ -lgps -o spcri_client spcri_client.c Nov 13 23:19:06 larsc, do you know why i need to type -I and -L ? Nov 13 23:25:28 Pensador: you should use $(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TAGRET_LDFLAGS) $(EXTRA_LDFLAGS) Nov 13 23:26:54 lhum Nov 13 23:28:20 $(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TAGRET_LDFLAGS) $(EXTRA_LDFLAGS) -lgps -o spcri_client spcri_client.c ? Nov 13 23:30:09 yes, starting $(CC) Nov 13 23:31:05 (TAGRET_LDFLAGS) or TARGET? Nov 13 23:31:08 =) Nov 13 23:32:22 TARGET ^^ Nov 13 23:33:03 spcri_client.c:3:17: error: gps.h: No such file or directory Nov 13 23:33:43 this file is in trunk/staging_dir/i386/usr/include Nov 13 23:34:12 add $(TARGET_CPPFLAGS) Nov 13 23:34:53 same error Nov 13 23:38:56 do you have any idea? Nov 13 23:39:40 TARGET_CPPFLAGS should contain -I$(STAGING_DIR)/usr/include Nov 13 23:39:43 so Nov 13 23:39:46 it should wotk Nov 13 23:42:08 i added -I$(STAGING_DIR)/usr/include/ Nov 13 23:42:14 and now have another error Nov 13 23:42:29 /home/pedro/Works/Fac/rcm/proj/trunk/staging_dir/toolchain-i386_gcc4.1.2/lib/gcc/i386-linux-uclibc/4.1.2/../../../../i386-linux-uclibc/bin/ld: cannot find -libgps Nov 13 23:43:36 ah... Nov 13 23:43:40 my fault Nov 13 23:43:50 or not? Nov 13 23:44:20 trunk/staging_dir/toolchain-i386_gcc4.1.2/lib/gcc/i386-linux-uclibc/4.1.2/../../../../i386-linux-uclibc/bin/ld: cannot find -lgps Nov 13 23:44:21 not Nov 13 23:44:39 can you paste your makefile somewhere? Nov 13 23:44:41 but TARGET_CPPFLAGS dont conaint -I$(...)/usr/include Nov 13 23:44:58 the buildroot makefile Nov 13 23:45:01 or src makefile? Nov 13 23:45:40 both Nov 13 23:46:52 http://pastebin.com/d3863b58e Nov 13 23:47:16 http://pastebin.com/dd9024d6 Nov 13 23:52:32 do you see any error? Nov 13 23:56:58 http://pastebin.com/m7c2d5372 Nov 13 23:57:06 http://pastebin.com/m3ae54478 Nov 14 00:00:59 Ok Nov 14 00:01:03 build without problems Nov 14 00:01:11 but the error continue Nov 14 00:01:29 segfault at bf9e5ffc ip b7fb5836 sp bf9e6000 error ffff0006 in libuClibc-0.9.29.so[b7f78000+43000 Nov 14 00:04:59 maybe a problem with libgps Nov 14 00:05:10 use a debugger Nov 14 00:05:51 gdb? Nov 14 00:07:16 yes Nov 14 00:07:27 where are for openwrt? Nov 14 00:07:35 is Nov 14 00:07:57 you have to use gdbserver on the target Nov 14 00:13:19 Ok Nov 14 00:13:54 im fucked =) Nov 14 00:33:20 gdbserver is a broken package **** ENDING LOGGING AT Fri Nov 14 02:59:57 2008