Hi ALL, Sorry for my previous double postings. 1st of all , I want to give thanks to Dirk for his DDE_USB release. I have downloaded all the packages and tried to compile using following commands :
cd l4 make O=/home/tapas/10AprilUserbuild
But it is giving build errors like :
=== Building IDL & includes of "usb" === PWD=/home/tapas/Latesttudos/l4/pkg/usb make -C usb include make[2]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb' test -f include/broken -o -f include/obsolete || \ if [ -f include/Makefile ] ; then PWD=/home/tapas/Latesttudos/l4/pkg/usb/include make -C include ; fi make[3]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb/include' ... Building /home/tapas/10AprilUserbuild/pkg/usb/include/.general.d make[3]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb/include' make[3]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb/include' install -d /home/tapas/10AprilUserbuild/pkg/usb/include/ echo '# automatically created -- modifications will be lost' > /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo 'SRC := /home/tapas/Latesttudos/l4/pkg/usb/include' >> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo 'OBJ := /home/tapas/10AprilUserbuild' >> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo '.PHONY: x $(MAKECMDGOALS)' >> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo 'x:' >> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo ' PWD=$(SRC) $(MAKE) -C $(SRC) O=$(OBJ)' >> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo '$(MAKECMDGOALS):' >> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile echo ' PWD=$(SRC) $(MAKE) -C $(SRC) O=$(OBJ) $@'>> /home/tapas/10AprilUserbuild/pkg/usb/include/Makefile install: creating directory `/home/tapas/10AprilUserbuild/include/l4/usb' install: creating directory `/home/tapas/10AprilUserbuild/include/l4/usb/linux' `/home/tapas/10AprilUserbuild/include/l4/usb/linux/autoconf.h' -> `/home/tapas/Latesttudos/l4/pkg/usb/include/linux/autoconf.h' `/home/tapas/10AprilUserbuild/include/l4/usb/libddeusb.h' -> `/home/tapas/Latesttudos/l4/pkg/usb/include/libddeusb.h' `/home/tapas/10AprilUserbuild/include/l4/usb/usb_ch9.h' -> `/home/tapas/Latesttudos/l4/pkg/usb/include/usb_ch9.h' `/home/tapas/10AprilUserbuild/include/l4/usb/libddeusb26.h' -> `/home/tapas/Latesttudos/l4/pkg/usb/include/libddeusb26.h' make[3]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb/include' make[2]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb' PWD=/home/tapas/Latesttudos/l4/pkg/usb make -C usb idl make[2]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb' test -f include/broken -o -f include/obsolete || \ if [ -f include/Makefile ] ; then PWD=/home/tapas/Latesttudos/l4/pkg/usb/include make -C include ; fi make[3]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb/include' make[3]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb/include' test -f idl/broken -o -f idl/obsolete || \ if [ -f idl/Makefile ] ; then PWD=/home/tapas/Latesttudos/l4/pkg/usb/idl make -C idl ; fi make[3]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb/idl' ... Building /home/tapas/10AprilUserbuild/pkg/usb/idl/.general.d make[3]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb/idl' make[3]: Entering directory `/home/tapas/Latesttudos/l4/pkg/usb/idl' install -d /home/tapas/10AprilUserbuild/pkg/usb/idl/ echo '# automatically created -- modifications will be lost' > /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo 'SRC := /home/tapas/Latesttudos/l4/pkg/usb/idl' >> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo 'OBJ := /home/tapas/10AprilUserbuild' >> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo '.PHONY: x $(MAKECMDGOALS)' >> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo 'x:' >> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo ' PWD=$(SRC) $(MAKE) -C $(SRC) O=$(OBJ)' >> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo '$(MAKECMDGOALS):' >> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile echo ' PWD=$(SRC) $(MAKE) -C $(SRC) O=$(OBJ) $@'>> /home/tapas/10AprilUserbuild/pkg/usb/idl/Makefile ==> Installing core.idl to local build-tree ==> Installing gadget.idl to local build-tree PWD=/home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2 make -C /home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2 -f Makefile make[4]: Entering directory `/home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2' ... Building .general.d ... Building Makefile.inc make[4]: Leaving directory `/home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2' make[4]: Entering directory `/home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2' ... Generating core-server.c CC="gcc -m32" /home/tapas/Latesttudos/l4/../dice/src/dice --require="3.2.0" -P-DUSE_UCLIBC=y -P-DRAM_BASE=0x0 -P-DSYSTEM_x86_l4v2 -P-DARCH_x86 -P-DCPUTYPE_586 -P-DL4API_l4v2 -P-DCONFIG_L4_CALL_SYSCALLS -P-DCONFIG_L4_ABS_SYSCALLS -P-I/home/tapas/10AprilUserbuild/include/x86/l4v2 -P-I/home/tapas/10AprilUserbuild/include/l4v2 -P-I/home/tapas/10AprilUserbuild/include/x86 -P-I/home/tapas/10AprilUserbuild/include -P-I/home/tapas/Latesttudos/l4/../dice/include -P-I/home/drops/include/x86/l4v2 -P-I/home/drops/include/l4v2 -P-I/home/drops/include/x86 -P-I/home/drops/include -P-nostdinc -P-I/home/tapas/10AprilUserbuild/include/x86/uclibc -P-I/home/tapas/10AprilUserbuild/include/uclibc -P-I/home/tapas/10AprilUserbuild/include/uclibc++ -P-I/home/drops/include/x86/uclibc -P-I/home/drops/include/uclibc -P-I/home/drops/include/uclibc++ -P-I/usr/lib/gcc/i486-linux-gnu/4.3.2/include -P-I/usr/lib/gcc/i486-linux-gnu/4.3.2/include-fixed -Bifiasco -Bpia32 -MD /home/tapas/Latesttudos/l4/pkg/usb/idl/core.idl <stdin>:1:30: error: l4/usb/usb_types.h: No such file or directory CPreprocessor: preprocessing "_wrap_BNCrnH" returned 1. In file included cannot open _wrap_BNCrnH make[4]: *** [core-server.c] Error 1 make[4]: Leaving directory `/home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2' make[3]: *** [/home/tapas/10AprilUserbuild/pkg/usb/idl/OBJ-x86-l4v2] Error 2 make[3]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb/idl' make[2]: *** [idl] Error 2 make[2]: Leaving directory `/home/tapas/Latesttudos/l4/pkg/usb' make[1]: *** [usb.headers] Error 2 make[1]: Leaving directory `/home/tapas/Latesttudos/l4/pkg' make: *** [pkg] Error 2 tapas@tapas-laptop:~/Latesttudos/l4$
Please let us know solution of this problem.
Hi,
<stdin>:1:30: error: l4/usb/usb_types.h: No such file or directory
Unfortunately it seems like this file has not found the way into the public svn... It should be there soon.
As workaround, I suggest you to download the file from the following URL http://os.inf.tu-dresden.de/~dvogt/ddeusb/usb_types.h
Regards, Dirk.
Hi
Thanks . I have build it successfully...... Could you please tell me contents of menu.lst that I need to run usbcam..
I think that it should be :
title usbcam kernel /boot/bootstrap modaddr 0x02000000 module /boot/fiasco -nokdb -nowait module /boot/sigma0 module /boot/roottask module /boot/log module /boot/names module /boot/dm_phys module /boot/l4io module /boot/dope module /boot/usbcore module /boot/usbcam
Please let me know whether am I correct or not....
Thanks Tapas
On Fri, Apr 10, 2009 at 11:57 AM, Dirk Vogt dvogt@os.inf.tu-dresden.de wrote:
Hi,
<stdin>:1:30: error: l4/usb/usb_types.h: No such file or directory
Unfortunately it seems like this file has not found the way into the public svn... It should be there soon.
As workaround, I suggest you to download the file from the following URL http://os.inf.tu-dresden.de/~dvogt/ddeusb/usb_types.h
Regards, Dirk.
Hi,
title usbcam kernel /boot/bootstrap modaddr 0x02000000 module /boot/fiasco -nokdb -nowait module /boot/sigma0 module /boot/roottask module /boot/log module /boot/names module /boot/dm_phys module /boot/l4io module /boot/dope module /boot/usbcore module /boot/usbcam
That looks good to me.
Please note that at the moment there are not many USB-cameras supported (namely CPIA, and z3xx based cameras), but it should be easy to add support of more cams. It would be nice if you report if you had success and submit patches.
Further, usbcam can be considered to be a quick'n'dirty implementation to get usbcams working for demo reasons, feel free to improve it.
Also in this case I would be thankful for patches.
Ciao, Dirk.
l4-hackers@os.inf.tu-dresden.de