- Mitglied seit
- 6 Sep 2006
- Beiträge
- 424
- Punkte für Reaktionen
- 0
- Punkte
- 0
/var/mod/root # find / -name "ov51*"
find: unable to open `/proc/7/fd': No such file or directory
olistudent schrieb:Vom Weihnachtsmann... :mrgreen:
Geht natürlich nicht fürs Labor-Image!
MfG Oliver
/var/mod/root # cat /proc/bus/usb/devices | grep Driver
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
I: If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=ov511
5. make menuconfig (ov511 und videodev auswählen)config DS_MODULE_videodev
bool "videodev.o"
default n
config DS_MODULE_ov511
bool "ov511.o"
default n
[EDIT]: Bin schon etwas weiter gekommen.
Nach Crosscompile und installation in der Toolchain von
http://www.ijg.org/files/jpegsrc.v6b.tar.gz
findet configure nun die headers.
Nur leider stockt es später mit:
checking for jpeg_start_compress in -ljpeg... no
configure: error: Could not find libjpeg
Jpeg-6b hab ich wie folgt installiert:
1. LDFLAGS=-static ./configure --target=mipsel-linux --host=mipsel-linux --prefix=/home/emule/downloads/ds-0.2.9/toolchain/target --enable-static
2. Dann im Makefile händisch CC=mipsel-linux-gcc gesetzt
3. make
4. make install
5. make install-headers
$ qemu-mipsel ./camsource
Camsource 0.7.0 starting up...
Loading modules:
: '/usr/lib/camsource/libinput_v4l.so' is not an ELF executable for MIPS
Failed to load module input_v4l
Last dlopen error: File not found
: '/usr/lib/camsource/libhttp.so' is not an ELF executable for MIPS
Failed to load module http
Last dlopen error: File not found
: '/usr/lib/camsource/libfilewrite.so' is not an ELF executable for MIPS
Failed to load module filewrite
Last dlopen error: File not found
: '/usr/lib/camsource/libjpeg_comp.so' is not an ELF executable for MIPS
Failed to load module jpeg_comp
Last dlopen error: File not found
: '/usr/lib/camsource/libflip.so' is not an ELF executable for MIPS
Failed to load module flip
Last dlopen error: File not found
: '/usr/lib/camsource/libresize.so' is not an ELF executable for MIPS
Failed to load module resize
Last dlopen error: File not found
: '/usr/lib/camsource/libtext.so' is not an ELF executable for MIPS
Failed to load module text
Last dlopen error: File not found
Invalid or missing "plugin" attribute for 'default'
No valid <camdev> sections found, exit
/var/tmp/flash # ./camsource
Camsource 0.7.0 starting up...
Loading modules:
Failed to load module input_v4l
Last dlopen error: File not found
Failed to load module wc_serv
Last dlopen error: File not found
Failed to load module wc_serv
Last dlopen error: File not found
Failed to load module http
Last dlopen error: File not found
Failed to load module jpeg_comp
Last dlopen error: File not found
Failed to load module flip
Last dlopen error: File not found
Failed to load module resize
Last dlopen error: File not found
Failed to load module text
Last dlopen error: File not found
Invalid or missing "plugin" attribute for 'default'
No valid <camdev> sections found, exit
/var/mod/root # ./ldd camsource
libxml2.so.2 => not found
libm.so.0 => /lib/libm.so.0 (0x2aaee000)
libpthread.so.0 => /lib/libpthread.so.0 (0x2ab40000)
libdl.so.0 => /lib/libdl.so.0 (0x2ab96000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abd8000)
libc.so.0 => /lib/libc.so.0 (0x2ac24000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
/var/mod/root #
LDFLAGS="-L/path-to-toolchain/usr/lib" CPPFLAGS="-I/path-to-toolchain/usr/include" ./configure --build=i386 --host=mipsel-linux --target=mipsel-linux --with-gnu-ld --enable-shared --enable-static