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óbowałem skompilować kernela ze źródeł. Ściągnąłem najnowszą wersję następnie rozpakowałem do /usr/src i podlinkowałem do /usr/src/linux. Uruchomiłem # make mencuonfig i skonfigurowałem kernel'a. Przyszła pora na skompilowanie źródeł. Wpisuje # make-kpkg clean. Niestety nic się nei dzieje. Napisane jest tylko, że nie ma takiego polecenia. Dlaczego tak się dzieje? O czymś zapomniałem?
Offline
Brakowało kernel-package... Mam jeszcze jeden problem. Tym razem chodzi o instalację sterowników nVidii:
config/auto.conf are mis sing."; echo " Run 'make oldconfig && make prepare' on kernel src to fix it ."; echo; /bin/false) mkdir -p /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.tmp_vers ions rm -f /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.tmp_version s/* make -f /usr/src/linux-2.6.19.1/scripts/Makefile.build obj=/tmp/selfgz3466/N VIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz3466/NVI DIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.nv.o .d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL_ _ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.19.1/include -include include/li nux/autoconf.h -I/tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c ommon -Os -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -mre gparm=3 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG _AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.19.1/include/asm-i386/mach-defau lt -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz3466/NVIDIA-Li nux-x86-1.0-7184-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wf ormat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multich ar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LO OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_ NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_P ATCHLEVEL=7184 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEB UG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DN V_PCI_GET_CLASS_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRES ENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAG E_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_B ASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/se lfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.o /tmp/selfgz3466/NVID IA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c In file included from /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src /nv/nv.c:14: /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv-linux.h:17:26: error: linux/config.h: Nie ma takiego pliku ani katalogu In file included from include/linux/list.h:8, from include/linux/wait.h:22, from include/asm/semaphore.h:41, from include/linux/sched.h:59, from include/linux/utsname.h:35, from /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src /nv/nv-linux.h:19, from /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src /nv/nv.c:14: include/linux/prefetch.h: In function ‘prefetch_range’: include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a rithmetic /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c: In function ‘nv_kern_open’: /tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c:1764: warning : passing argument 2 of ‘request_irq’ from incompatible pointer type make[4]: *** [/tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.o ] Błąd 1 make[3]: *** [_module_/tmp/selfgz3466/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src /nv] Błąd 2 make[2]: *** [modules] Błąd 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Błąd 1 make: *** [module] Błąd 2 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Co tym razem jest nie tak?
Offline
Dopiero po skompilowaniu i zainstalowaniu kernela i nagłówków.
make-kpkg linux-image linux-headers
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00142 | 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='18.217.208.220' WHERE u.id=1 |
0.00072 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.217.208.220', 1732531021) |
0.00073 | SELECT * FROM punbb_online WHERE logged<1732530721 |
0.00068 | DELETE FROM punbb_online WHERE ident='18.216.42.122' |
0.00059 | SELECT topic_id FROM punbb_posts WHERE id=47517 |
0.00017 | SELECT id FROM punbb_posts WHERE topic_id=6208 ORDER BY posted |
0.00076 | 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=6208 AND t.moved_to IS NULL |
0.00008 | SELECT search_for, replace_with FROM punbb_censoring |
0.00145 | 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=6208 ORDER BY p.id LIMIT 0,25 |
0.00098 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=6208 |
Total query time: 0.00772 s |