Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
Próbuje na nowym ajjku 2.6.31.-486 skompilowac sobie driver ov51x-jpeg pod kamerke i mam zonka. Na poprzednim jajku było ok.
# make make -C /lib/modules/2.6.31-1-686/build M=/usr/src/modules/ov51x-jpeg modules make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.31-1-686' CC [M] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'create_proc_ov511_ca m': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:677: error: implicit declaration o f function 'info' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:681: error: 'struct proc_dir_entry ' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:689: error: 'struct proc_dir_entry ' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:700: error: 'struct proc_dir_entry ' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:712: error: 'struct proc_dir_entry ' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'proc_ov511_create': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:766: error: 'struct proc_dir_entry ' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'ov51x_clear_snapshot ': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:1691: error: implicit declaration of function 'warn' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'ov51x_v4l1_ioctl': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 1 of 'video_usercopy' from incompatible pointer type /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 2 of 'video_usercopy' makes integer from pointer without a cast /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 4 of 'video_usercopy' makes pointer from integer without a cast /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: error: too many arguments to function 'video_usercopy' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: At top level: /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6651: warning: initialization from incompatible pointer type make[4]: *** [/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o] Błąd 1 make[3]: *** [_module_/usr/src/modules/ov51x-jpeg] Błąd 2 make[2]: *** [sub-make] Błąd 2 make[1]: *** [all] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.31-1-686' make: *** [all] Błąd 2
Da rade coś z tym zrobić?
Ostatnio edytowany przez korbol (2009-12-22 18:19:31)
Offline
Uff a tak nie idzie http://packages.debian.org/search?keywords=ov51x-jpeg-source
Offline
Tenże pakiet ze źródłami właśnie instaluje, następnie trzeba go rozpakować i skompilować ale mam błęda.
Offline
następnie trzeba go rozpakować i skompilować[/quote]
Niezupełnie, należy użyć [tt]module-assistant[/tt]:Kod:
module-assistant -t a-i ov51x-jpegOstatnio edytowany przez azhag (2009-12-23 16:00:13)
Błogosławieni, którzy czynią FAQ.
[url=http://www.opencaching.pl]opencaching[/url] :: [url=http://dug.net.pl/sources.list]debian sources.list[/url] :: [url=http://www.linuxportal.pl/blogi/azhag/wpisy]coś jakby blog[/url] :: [url=http://dug.net.pl/]polski portal debiana[/url] :: linux user #403712
Offline
No niestety też klops.
A mozęjakies pakiety trzeba zainstalować (tak jak to ma miejsce przy kompilacji kernela) probowalem aktualizować gcc+ i make ale w koncu tego nie zrobiłem bo jakies zaleznosci nia pasily jedne do drugiego.
# module-assistant -t a-i ov51x-jpeg . Updated infos about 1 packages Getting source for kernel version: 2.6.31-1-686 Kernel headers available in /lib/modules/2.6.31-1-686/build apt-get install build-essential Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe build-essential jest już w najnowszej wersji. 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 899 nieaktualizowanych. Done! unpack The source tarball could not be found! Package ov51x-jpeg-source not installed? Running "m-a -f get ov51x-jpeg-source" may help. "/usr/share/modass/packages/default.sh" build KVERS=2.6.31-1-686 KSRC=/lib/modules/2.6.31-1-686/build KDREV=2.6.31-2 kdist_image hostname: Unknown host for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-1-686/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.31-1-686/g ;s/#KVERS#/2.6.31-1-686/g ; s/_KVERS_/2.6.31-1-686/g ; s/##KDREV##/2.6.31-2/g ; s/#KDREV#/2.6.31-2/g ; s/_KDREV_/2.6.31-2/g ' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean /usr/bin/make -f debian/rules clean hostname: Unknown host make[1]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean make[1]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' hostname: Unknown host /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules hostname: Unknown host make[1]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-1-686/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.31-1-686/g ;s/#KVERS#/2.6.31-1-686/g ; s/_KVERS_/2.6.31-1-686/g ; s/##KDREV##/2.6.31-2/g ; s/#KDREV#/2.6.31-2/g ; s/_KDREV_/2.6.31-2/g ' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean /usr/bin/make -w -f debian/rules clean hostname: Unknown host make[2]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean make[2]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' make[1]: Nie ma nic do zrobienia w `kdist_config'. dh_testroot dh_clean -k # Build the module /usr/bin/make KERNEL_DIR=/lib/modules/2.6.31-1-686/build KDIR=/lib/modules/2.6.31-1-686/build KVERS=2.6.31-1-686 make[2]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' /usr/bin/make -C /lib/modules/2.6.31-1-686/build M=/usr/src/modules/ov51x-jpeg modules make[3]: Wejście do katalogu `/usr/src/linux-headers-2.6.31-1-686' CC [M] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'create_proc_ov511_cam': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:677: error: implicit declaration of function 'info' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:681: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:689: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:700: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:712: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'proc_ov511_create': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:766: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'ov51x_clear_snapshot': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:1691: error: implicit declaration of function 'warn' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'ov51x_v4l1_ioctl': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 1 of 'video_usercopy' from incompatible pointer type /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 2 of 'video_usercopy' makes integer from pointer without a cast /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 4 of 'video_usercopy' makes pointer from integer without a cast /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: error: too many arguments to function 'video_usercopy' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: At top level: /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6651: warning: initialization from incompatible pointer type make[6]: *** [/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o] Błąd 1 make[5]: *** [_module_/usr/src/modules/ov51x-jpeg] Błąd 2 make[4]: *** [sub-make] Błąd 2 make[3]: *** [all] Błąd 2 make[3]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.31-1-686' make[2]: *** [all] Błąd 2 make[2]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' make[1]: *** [binary-modules] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' make: *** [kdist_build] Błąd 2 BUILD FAILED! See /var/cache/modass/ov51x-jpeg-source.buildlog.2.6.31-1-686.1261582557 for details. Build failed. Press Return to continue...
A tutaj:/var/cache/modass/ov51x-jpeg-source.buildlog.2.6.31-1-686.1261582557
for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-1-686/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.31-1-686/g ;s/#KVERS#/2.6.31-1-686/g ; s/_KVERS_/2.6.31-1-686/g ; s/##KDREV##/2.6.31-2/g ; s/#KDREV#/2.6.31-2/g ; s/_KDREV_/2.6.31-2/g ' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean /usr/bin/make -f debian/rules clean make[1]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean make[1]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' hostname: Unknown host /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules hostname: Unknown host make[1]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-1-686/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.31-1-686/g ;s/#KVERS#/2.6.31-1-686/g ; s/_KVERS_/2.6.31-1-686/g ; s/##KDREV##/2.6.31-2/g ; s/#KDREV#/2.6.31-2/g ; s/_KDREV_/2.6.31-2/g ' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean /usr/bin/make -w -f debian/rules clean hostname: Unknown host make[2]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp build-stamp dh_clean make[2]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' make[1]: Nie ma nic do zrobienia w `kdist_config'. dh_testroot dh_clean -k # Build the module /usr/bin/make KERNEL_DIR=/lib/modules/2.6.31-1-686/build KDIR=/lib/modules/2.6.31-1-686/build KVERS=2.6.31-1-686 make[2]: Wejście do katalogu `/usr/src/modules/ov51x-jpeg' /usr/bin/make -C /lib/modules/2.6.31-1-686/build M=/usr/src/modules/ov51x-jpeg modules make[3]: Wejście do katalogu `/usr/src/linux-headers-2.6.31-1-686' CC [M] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'create_proc_ov511_cam': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:677: error: implicit declaration of function 'info' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:681: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:689: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:700: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:712: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'proc_ov511_create': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:766: error: 'struct proc_dir_entry' has no member named 'owner' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'ov51x_clear_snapshot': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:1691: error: implicit declaration of function 'warn' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: In function 'ov51x_v4l1_ioctl': /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 1 of 'video_usercopy' from incompatible pointer type /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 2 of 'video_usercopy' makes integer from pointer without a cast /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: warning: passing argument 4 of 'video_usercopy' makes pointer from integer without a cast /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6386: error: too many arguments to function 'video_usercopy' /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: At top level: /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c:6651: warning: initialization from incompatible pointer type make[6]: *** [/usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.o] Błąd 1 make[5]: *** [_module_/usr/src/modules/ov51x-jpeg] Błąd 2 make[4]: *** [sub-make] Błąd 2 make[3]: *** [all] Błąd 2 make[3]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.31-1-686' make[2]: *** [all] Błąd 2 make[2]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' make[1]: *** [binary-modules] Błąd 2 make[1]: Opuszczenie katalogu `/usr/src/modules/ov51x-jpeg' make: *** [kdist_build] Błąd 2
Offline
Faktycznie coś jest na rzeczy — [bug]530805[/bug].
Offline
Dzięki :)
Z tego co wyczytałem pod tym linkiem http://lists.rastageeks.org/pipermail/ov51x-jpeg/2009-May/000491.html
To chyba mam pecha póki co, po kamerce pod debianem :-/
Offline
Może dla testów ściągnij ostatnie źródła ze strony projektu oraz najnowsze patche...
EDIT: Co Ty masz za sprzęt że jajka -486 używasz ?
Ostatnio edytowany przez pasqdnik (2009-12-23 18:30:32)
Offline
No właśnie -486
Offline
686 rzecz jasna :)
Sciągne te nowe źródła w takim razie i zobacze.
Dzieki.
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00097 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.137.180.62' WHERE u.id=1 |
0.00065 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.137.180.62', 1732891621) |
0.00040 | SELECT * FROM punbb_online WHERE logged<1732891321 |
0.00058 | DELETE FROM punbb_online WHERE ident='18.188.227.64' |
0.00051 | DELETE FROM punbb_online WHERE ident='3.145.180.152' |
0.00042 | SELECT topic_id FROM punbb_posts WHERE id=137115 |
0.00005 | SELECT id FROM punbb_posts WHERE topic_id=15786 ORDER BY posted |
0.00059 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=15786 AND t.moved_to IS NULL |
0.00006 | SELECT search_for, replace_with FROM punbb_censoring |
0.00100 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=15786 ORDER BY p.id LIMIT 0,25 |
0.00098 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=15786 |
Total query time: 0.00634 s |