**** BEGIN LOGGING AT Sat Jun 25 02:59:57 2011 Jun 25 22:49:20 Hello everybody. Jun 25 22:53:08 I just tried to compile bmon for the asus wl-500g running oleg's firmware. I managed to compile it after compiling ncurses and libconfuse, however when I run it i get "bus error", strace gives me this: http://pastebin.com/VuR9dQRw . Jun 25 22:53:39 What is the problem? Jun 25 23:17:53 wow...I can't remember when the oleg firmware was last updated. Jun 25 23:18:27 connex, not familiar with bmon and what it does. Jun 25 23:18:59 with older firmware I have noticed that the libc's can be too old and API's have changed. Jun 25 23:20:00 hmm.. Jun 25 23:20:26 bmon is a network monitoring software. Jun 25 23:20:59 do you know if there is someting like it already in Optware? Jun 25 23:21:21 wish there was, there are other tools such as ntop and iftop Jun 25 23:21:33 ya, I remember those Jun 25 23:21:46 and use them for different things Jun 25 23:21:46 http://www.infradead.org/~tgr/bmon/ Jun 25 23:22:28 the problem with them is that they run on one interface at a time, bmon can get stat for multiple nics. Jun 25 23:23:12 which version are you running? Jun 25 23:23:37 version of what? Jun 25 23:23:40 bmon Jun 25 23:23:50 trying to run the latest Jun 25 23:24:26 http://git.infradead.org/users/tgr/bmon.git/snapshot/HEAD.tar.gz Jun 25 23:24:42 maybe i got the wrong version? Jun 25 23:25:06 I am not familiar with git. Jun 25 23:25:10 I would say the issue is that the Oleg firmware has a version of libc that is too old. Jun 25 23:25:20 and the api changed. Jun 25 23:25:29 since it only depends on libc and ncurses Jun 25 23:26:00 I do remember something about updating the libc. Jun 25 23:26:16 i use an opt ulibc Jun 25 23:26:58 all of the other software from here: http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages works. Jun 25 23:27:15 uclibc? Jun 25 23:27:23 oh right...forgot that. Jun 25 23:32:12 What does sigbus mean? somethign with mmap? Jun 25 23:33:16 I think so... but would have to read a bit. all that IOCTL stuff I learned about 20yrs ago and haven't used enough to remember. Jun 25 23:54:16 ok gdb gives me this: Program received signal SIGBUS, Bus error. Jun 25 23:54:16 0x00452d70 in strlen () Jun 25 23:54:30 how can i trace it back to the source file? Jun 25 23:55:35 fix ltrace...and try it. Jun 25 23:55:41 its broken currently :( Jun 25 23:57:16 ltrace -f -o aaccaa ./bmon Jun 25 23:57:16 Couldn't find .dynsym or .dynstr in "./bmon" Jun 25 23:57:38 does this error come from ltrace being broken? Jun 25 23:58:02 I think its stripped Jun 25 23:58:08 so thats why... Jun 25 23:58:11 no symbols. Jun 25 23:58:51 :) it just gets better and better. Jun 25 23:58:55 how do i add symbols? Jun 26 00:00:33 don't strip the binary when you build it. Jun 26 00:00:59 makes it bigger Jun 26 00:01:06 but when you are debugging that helps. Jun 26 00:01:38 i didn't run strip on it after make. is there a switch for make to disable it? Jun 26 00:04:01 probably...gotta remember how thats done. Jun 26 00:04:19 I know for debug we needed to disable stripping. Jun 26 00:06:38 ok, i found another version of bmon, it does seem to run but it gives me this: Error opening terminal: xterm. Jun 26 00:12:46 yeay! it sorta works! Jun 26 00:13:57 connex, will you upload a makefile once you get that going please/ Jun 26 00:13:58 ? Jun 26 00:16:16 I am not that familiar with linux build system, but I will be happy to do it with some guidance. Jun 26 00:23:55 the Optware system is probably one of the easiest. Jun 26 01:42:37 Yeah!!! it works with ncurses now. Jun 26 01:43:20 Wow, it's 4:40 am, I got work tomorrow. crap! **** ENDING LOGGING AT Sun Jun 26 02:59:57 2011