irclog2html for #openslug on 20060707

00:00.35*** join/#openslug jacques (n=jacques@nslu2-linux/jacques)
02:40.02*** join/#openslug rwhitby-away (n=rwhitby@secure.astc-design.com)
04:18.32*** join/#openslug ]{amilion (n=Kamilion@24.182.60.242)
04:20.13*** join/#openslug UgI (n=Sinclair@p54A08434.dip0.t-ipconnect.de)
07:48.01*** join/#openslug koen (n=koen@dominion.kabel.utwente.nl)
10:08.50*** join/#openslug blomma (n=blomma@c-199b72d5.014-202-6e6b701.cust.bredbandsbolaget.se)
12:37.10adoomanyone here get DebianSlug working on hardware from Gateworks besides loft (g2)?  I think he's on vacation
15:13.24*** join/#openslug koen (n=koen@dominion.kabel.utwente.nl)
16:06.19*** join/#openslug DrZimmerman (n=theo@84-72-117-206.dclient.hispeed.ch)
16:26.43*** join/#openslug koen (n=koen@dominion.kabel.utwente.nl)
17:02.06*** join/#openslug DrZimmerman (n=theo@84-72-117-206.dclient.hispeed.ch)
17:05.55*** join/#openslug caplink811-log (n=caplink8@dslb-088-073-118-110.pools.arcor-ip.net)
17:18.05*** join/#openslug toi (n=peter@d54C27365.access.telenet.be)
17:39.54*** join/#openslug Kamilion (n=Kamilion@24.182.60.242)
17:45.31KamilionHowdy. I got the mastermakefile to build me an openslug image, so I've got everything working reasonably properly, and got bitbake to build libusb -- now, my question is, how do I set it up to build my own application that's not in the repositories and link it against libusb?
17:45.56Kamilionit's got a relatively simple makefile
17:46.38koenwrite a .bb file for it
17:47.01Kamilionokay, where might I find the documentation to do such a thing?
17:47.52eFfeMKamilion: just peek at some other bb files, if your app is simple you won''t need to provide much
17:48.03eFfeMof course you could also decide to do things natively
17:48.26Kamiliontried that, but ipkg wouldn't install openslug-native
17:48.33eFfeMhm why not?
17:48.39Kamilionprobably need to add a feed for it, but I'm not sure the name of it
17:48.48Kamilionjust a sec, lemme fire up the slug and pull the error
17:49.05Kamilionalso, does the openslug kernel have support for NBDs?
17:49.28KamilionCouldn't get my swapfile to work over NFS, and I don't have a local USB enclosure for it
17:50.10eFfeMNBD ?
17:50.16Kamilionnetwork block devices
17:50.17koennetwork block device
17:50.28koenAoE might be an option as well
17:50.30eFfeMah, don't know.
17:50.45Kamilionbasically exports a loopback filesystem over the network as a full on block device the kernel can mkswap on
17:51.07eFfeMkoen, if I were to build binutils 2.17 and then rebuild gcc 4.1.1 with it, should I then be able to build glibc 2.4 ?
17:51.17KamilionBut anyway, that doesn't matter, I can use my PSP as a temp swapdevice
17:51.50koeneFfeM: you'll need gcc-cross-initial and glibc-intermediate first for nptl
17:51.52eFfeMKamilion: you can also use a flash stick as swap (although maybe after a while it will wear out)
17:52.05Kamilionyeah, my PSP can do that. Gig of swap should be plenty.
17:52.17Kamilionroot@SLUG:~# ipkg install openslug-native
17:52.17KamilionNothing to be done
17:52.17KamilionAn error ocurred, return value: 4.
17:52.17KamilionCollected errors:
17:52.17KamilionCannot find package openslug-native.
17:52.37Kamilionprobably missing a feed, cause I ran ipkg update just before.
17:54.09eFfeMKamilion: cat /etc/ipkg/*feed*
17:54.54eFfeMthe cross feed should read:
17:54.55Kamilionroot@SLUG:~# cat /etc/ipkg/*feed*
17:54.55Kamilionsrc/gz cross http://ipkg.nslu2-linux.org/feeds/slugos-bag/cross/3.10-beta
17:54.55Kamilionsrc/gz native http://ipkg.nslu2-linux.org/feeds/slugos-bag/native/3.10-beta
17:55.13eFfeMKamilion: that's ok
17:57.11eFfeMoh, got it, do ipkg install slugos-native
17:59.28Kamilionah, lol
17:59.35Kamilionjust a sec, lemme swapon
18:00.51Kamilionyeah, that's grabbing.
18:01.10eFfeMgood, this is wrong in the wiki, I am correcting it
18:01.56KamilionThanks. By the way, http://www.nslu2-linux.org/wiki/OpenSlug/HomePage is broken too
18:02.15KamilionThe page isn't redirecting properly: Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
18:02.16eFfeMyeah, found 12 pages or so that refer to openslug-native
18:02.42Kamilioner
18:02.47Kamilionsorry
18:02.48Kamilionhttp://www.nslu2-linux.org/wiki/OpenEmbedded/HomePage
18:02.51KamilionThat's the broken page
18:02.52eFfeM? I am using ff and opened the url
18:02.53eFfeMok
18:03.05KamilionDidn't copy the right URL, heh
18:03.27eFfeMyeah, that one fails for me as well
18:03.32eFfeMmake mental note
18:03.44eFfeMcoffee & news, back in 20-30 mins
18:09.20KamilionGood thing I've got root over NFS, all these perl modules it's grabbing... LOL
18:19.10Kamilionokay, looks like it installed OK.
18:21.35Kamilionroot@SLUG:~/usbhostfs_pc# make
18:21.35Kamilioncc -Wall -ggdb -I../usbhostfs -DPC_SIDE -D_FILE_OFFSET_BITS=64 -I. -O2  -L.  -L. -o usbhostfs_pc main.o -lusb -lpthread
18:21.35Kamilion/usr/lib/gcc/armeb-linux/3.4.4/../../../../armeb-linux/bin/ld: crt1.o: No such file: No such file or directory
18:21.35Kamilioncollect2: ld returned 1 exit status
18:21.35Kamilionmake: *** [usbhostfs_pc] Error 1
18:22.05KamilionI'm missing the c runtime?
18:29.12eFfeMi would expect that you get it with openslug-image
18:29.18eFfeMeh slugos-image
18:33.24eFfeMotherwise maybe install glibc separately
18:33.31eFfeMdon't know any more how I got there
18:34.15Kamilionk, I'll give that a shot
18:54.02*** join/#openslug caplink811-log (n=caplink8@dslb-088-073-117-142.pools.arcor-ip.net)
19:12.23*** join/#openslug koen (n=koen@dominion.kabel.utwente.nl)
19:22.48*** join/#openslug EvilDevil_ (n=miau@p54A6F46B.dip.t-dialin.net)
19:41.53Kamilionokay, I've consulted with some other folks, and they've came to the conclusion that my toolchain's broken.
19:42.08Kamilionran ipkg install slugos-native
19:42.41Kamilionecho "int main(void) { return 0; }" > test.c && cc -o test.o test.c
19:42.51Kamilionroot@SLUG:~/usbhostfs_pc# cc -o test.o test.c
19:42.51Kamilion/usr/lib/gcc/armeb-linux/3.4.4/../../../../armeb-linux/bin/ld: crt1.o: No such file: No such file or directory
19:42.52Kamilioncollect2: ld returned 1 exit status
19:45.25*** join/#openslug Harvy (n=norm@80-193-172-141.cable.ubr05.pres.blueyonder.co.uk)
20:07.00*** join/#openslug orda (n=orda@port70.ds1-hgs.adsl.cybercity.dk)
20:42.16eFfeM-awayKamilion: I also have your ld problem when compiling natively
20:42.57KamilionAny fix?
20:43.14eFfeMnope, just tried it a minute ago
20:43.23KamilionOr alternatively, how might I be able to run make on my crosscompiler built with the master makefile?
20:43.46eFfeMyeah, you can build the crosscompiler using the master makefile
20:43.59eFfeMyou'll get it if you do a maken openslug-image
20:44.01Kamilionalready built, and made openslug-image
20:44.07Kamilionthen made libusb
20:44.16eFfeMthen the gcc is in openslug/tmp/cross
20:44.21KamilionAhha!
20:44.28KamilionDo I have to set up any env variables?
20:44.28eFfeMactually crt1 is also there so you could copy that one over
20:44.47Kamilionlike cd to the openslug directory and run setup-env there?
20:44.50eFfeMnot sure, I did not really build cross w/o bb
20:45.04Kamilionwell, this one's all bitbake, it seems
20:45.23eFfeMyou can try that, also you might have to add the dir with armeb-linux-gcc to the path
20:46.01Kamilionyeah, I'm trying to build a simple .c file that depends on libusb
20:46.29Kamilionand I don't really know how to write a whole ebuild file for bitbake
20:47.06Kamilion(discovered it was forked off portage ;)
20:49.52eFfeMif you want a small bb file as example look at setpwc
20:57.30Kamilionk
20:58.26eFfeMmight have found something, still testing, hang on
21:02.03Kamilionhttp://415sf.com/usbhostfs.tar.bz2
21:02.05eFfeMKamilion: do this on your slug
21:02.06eFfeMipkg install libc6-dev
21:02.09Kamilionthat's the code I'm trying to compile
21:02.14eFfeMand you can compile natively
21:02.30Kamilionrunning now
21:03.28eFfeMi get a linker warning about  interworking but my test exe runs
21:04.30Kamilioncc -Wall -ggdb -I../usbhostfs -DPC_SIDE -D_FILE_OFFSET_BITS=64 -I. -O2  -L.  -L. -o usbhostfs_pc main.o -lusb -lpthread
21:04.30Kamilion/usr/lib/gcc/armeb-linux/3.4.4/../../../../armeb-linux/bin/ld: main.o: Relocations in generic ELF (EM: 3)
21:04.30Kamilionmain.o: could not read symbols: File in wrong format
21:06.55eFfeMfile main.o
21:07.14eFfeM(i am using gcc 4.1.1)
21:07.21Kamilion....
21:07.22Kamilionmain.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
21:07.36eFfeMheh, you got yourself a pc .o file
21:07.52eFfeMnote that there is a main.o file in the bz2 you mention above
21:07.57eFfeMrm main.o and rerun make
21:08.16Kamilionholy crap, load of errors
21:08.34eFfeMmissing libs and includes ?
21:08.36Kamilionmain.c:19:17: usb.h: No such file or directory
21:08.39KamilionYep.
21:08.55Kamilionbut that at least got it trying to compile.
21:09.10Kamilionlemme pastebin the errorlist
21:09.11eFfeMipkg install libusb-dev
21:09.15Kamilionorn ot
21:09.17eFfeMand maybe some more lib*dev
21:10.06eFfeMabout to call it a day (2310 out here)
21:10.43Kamilionwell, it's cranking at the make now
21:10.55Kamilioncc -Wall -ggdb -I../usbhostfs -DPC_SIDE -D_FILE_OFFSET_BITS=64 -I. -O2   -c -o main.o main.c
21:10.55Kamilioncc -Wall -ggdb -I../usbhostfs -DPC_SIDE -D_FILE_OFFSET_BITS=64 -I. -O2  -L.  -L. -o usbhostfs_pc main.o -lusb -lpthread
21:10.55Kamilion/usr/lib/gcc/armeb-linux/3.4.4/../../../../armeb-linux/bin/ld: Warning: main.o does not support interworking, whereas usbhostfs_pc does
21:11.01KamilionLooks like that may have gotten it
21:11.17Kamilionit runs.
21:11.39eFfeMyeah, this has to do with the lib compiled with different options than the main prog, add -mthumb-interwork or so to your CFLAGS
21:11.41eFfeMgreat
21:11.58KamilionThanks so much for your time and effort.
21:12.12KamilionI really appreciate your help.
21:18.16eFfeMKamilion: no problem.
21:18.25eFfeMthe slug is a source of fun and learning for me
21:18.59Kamilionyeah, same here. Got mine 2 days ago.
21:19.22KamilionOpneslug's pretty nice. Love how it controls the status LED differently than the stock firmware
21:19.26eFfeMdidn't use unix for 15 years or so, started with the slug a year ago and got severely addicted
21:19.45Kamilionhehe, I've been a linux abuser since slackware 1.5 and kernel 1.3.22 ;)
21:20.08eFfeMnice thing is that you can add all kind of usb devices, check out my wiki page (eFfeM)  to see what I have connected
21:20.34eFfeMKamilion: I already exchanged email with Linus before linux; I used to work on minix for the atari st
21:20.45KamilionAhh, another ST user.
21:20.50KamilionI miss my 1040STF.
21:21.02Kamilionfloppy burnt out and needs a replacement power supply.
21:21.03eFfeMyup. still have 2 1040's and a tt030
21:21.09Kamilionmmm, always loved the TTs.
21:21.38eFfeMtt030 monitor doesn't work any more, one ST has been subject to a hw mod (68020 upgrade) and probably does not work any more either
21:21.45eFfeMhaven't tried the other one for ages
21:21.46KamilionI've got a sony Playstation Portable, and I'm trying to get the slug to work as a USB file host for it
21:21.55eFfeMcool
21:22.06eFfeMif you get it running please add a page to the wiki on this
21:22.09Kamilionbasically acts as a huge virtual memory stick
21:22.13KamilionDefinitely will.
21:22.18eFfeMgreat
21:22.21KamilionHopefully I'll be able to get it packaged too.
21:22.43Kamilionso it'll be as easy as ipkg install libusb && ipkg install psplink
21:22.45eFfeMotherwise ping me if I'm around and I help you
21:22.54eFfeMactually it can be made simpler
21:22.56KamilionAppreciate it. Get some sleep. :)
21:23.01eFfeM<PROTECTED>
21:23.15KamilionI've got work to do, think it's not properly compiling for bigendian
21:23.16eFfeMyou can add a dependency that drags in libusb automatically
21:23.31KamilionGonna talk to the dev about that, I think he already added bigendian support, just needs to be ifdef'd on
21:23.35eFfeMgood. I'll be online every now and then for the next week after that I'm on holiday for 2 weeks
21:23.50eFfeMi can also help you getting your package in the archive
21:23.56KamilionCool.
21:24.04KamilionI'm sure the devs will appreciate that
21:24.12eFfeMyup
21:24.15eFfeMcu
21:24.17Kamiliononce it works on openembedded, there's plenty of stuff it'll work on
21:24.21Kamilionlike the asus wl500s
21:24.27eFfeMcool
21:24.39KamilionCheers. Sleep well.
21:24.53KamilionBy the by, Amsterdam is really beautiful.
21:25.00KamilionLove the horticultural gardens.
21:25.15Kamilionvisited in march :)
21:25.34eFfeMjust saw this: http://usbip.naist.jp/ also cool
21:25.45eFfeMactually I live near the belgian border
21:25.48eFfeMwhere are you from ?
21:25.52KamilionCalifornia.
21:26.16KamilionThat's america, but without the stupid. ;)
21:26.23eFfeMah been there several times, mostly work, once holiday, love hwy 1 and yosemite
21:26.27Kamilionyeah.
21:26.46Kamilionnice up north too, humboldt county. Nice redwood forests up there.
21:26.55eFfeMnever been there
21:27.02eFfeMcheck this out if you are interested in where I have been
21:27.04eFfeMhttp://www.dse.nl/~meulenbr/holiday2000/
21:27.20KamilionCool. I'll grok it in a bit
21:27.24eFfeMnow really calling it a day, otherwise the wife will become angry ...
21:27.25eFfeMcu
21:27.33KamilionSee yah.
21:47.40*** join/#openslug VoodooZ (n=VoodooZ@modemcable214.50-82-70.mc.videotron.ca)
22:03.52*** join/#openslug koen (n=koen@dominion.kabel.utwente.nl)
23:09.23*** join/#openslug gerdi__ (n=gerdi@dslb-084-058-132-049.pools.arcor-ip.net)
23:37.11*** join/#openslug npt-laptop (n=npt@12-218-7-27.client.mchsi.com)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.