1 Mar 2009 06:27
Re: Cross toolchain, SlugOS5, webcam support (uvcvideo)?
2009-03-01 05:27:30 GMT
2009-03-01 05:27:30 GMT
--- In nslu2-linux@..., "Mike (mwester)" <mwester <at> ...> wrote: > > reuter.rudolf wrote: > ... > > What I get now, after deleting > > linux-ixp4xx-188.8.131.52+svnr1085-r2.do_compile and "make slugosbe-image" is: > > > > make: Entering directory > > `/home/rudi/slug/slugos/tmp/work/nslu2be-linux-gnueabi/linux-ixp4xx-184.108.40.206+svnr1085-r2/linux-2.6.27' > > CC init/main.o > > armeb-linux-gnueabi-ld: init/.tmp_main.o: compiled for a little endian > > system and target is big endian > > armeb-linux-gnueabi-ld: failed to merge target specific data of file > > init/.tmp_main.o > > make: *** [init/main.o] Error 1 > > > > Then I deleted init/.tmp_main.o and started again, with the same > > results. Is it now the best to delete the whole /slug/slugos/tmp folder? > > Wow! I have no idea what happened, but it looks like you have part of > your environment built with little-endian, and part with big-endian -- > that's one of those things that I suspect the OE experts would "that > can't happen". > > Yes, delete the entire tmp directory, and start fresh. Make sure that > you take care to make "slugosbe-image", and never "slugosle-image" (or, > for those that prefer little-endian, the other way around - it makes > little difference as long as its all consistent). > > Again, that can't happen. But clearly it did, somehow. > > Mike (mwester) > > > BTW, if you can just provide the complete list of modules you need > enabled, we can add them to the SlugOS 5 feeds as soon as I get the > release done, and the feeds building -- hopefully a matter of one final > opkg patch to do, and then the mechanics of the release process to execute. > Thank you for your help Mike, and for the offer to include the modules in the feed. I like to have uvcvideo.ko (probably CONFIG_USB_VIDEO_CLASS=m) for my webcam and pwc.ko (probably CONFIG_USB_PWC=m) which is for Philips webcams, just in case. They use the V4L2 (Video for Linux version 2) support, which is already enabled in the feed, but I could not test that yet, because of the missing uvcvideo.ko driver. I tried to compile with a new "tmp" folder, with the following result: 2009-02-28 23:13 slug/slugos/tmp deleted and make slugosbe-image: NOTE: Tasks Summary: Attempted 732 tasks of which 0 didn't need to be rerun and 1 failed. ERROR: '/home/rudi/slug/slugos/openembedded/packages/glibc/glibc_2.6.1.bb' failed NOTE: build 200902282313: completed make: *** [image] Fehler 1 make: Verlasse Verzeichnis '/home/rudi/slug/slugos' make: *** [slugosbe-image] Fehler 2 In my next try I will delete slug/slugos and start again. Regards, Rudolf ------------------------------------