nixp.ru v3.0

16 ноября 2024,
суббота,
14:23:34 MSK

anonymous написал 11 февраля 2005 года в 21:02 (771 просмотр) Ведет себя неопределенно; открыл 1814 темы в форуме, оставил 5575 комментариев на сайте.

Установлено ядро 2.6.10, дистр archlinux, хотел собрать атишные дрова, не получилось,, вот что пишет:

[root@myhost build_mod]# sh make.sh

ATI module generator V 2.0

==========================

initializing…

cleaning…

patching 'highmem.h’…

assuming new VMA API since we do have kernel 2.6.x…

doing Makefile based build for kernel 2.6.x and higher

make -C /lib/modules/2.6.10-ARCH/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.xmodules

make[1]: Entering directory `/usr/src/linux-2.6.10-ARCH'

CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o

CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o

CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_generic_agp_v2_enable’:

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:721: warning: implicit declaration of function `pci_find_class'

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:722: warning: assignment makes pointer from integer without a cast

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:843: warning: assignment makes pointer from integer without a cast

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `x86_64_insert_memory’:

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:3784: warning: integer constant is too large for «long» type

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `serverworks_agp_enable’:

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:5123: warning: assignment makes pointer from integer without a cast

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:5221: warning: assignment makes pointer from integer without a cast

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device’:

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6500: warning: assignment makes pointer from integer without a cast

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6492: warning: unused variable `cap_ptr'

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:

/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6473: warning: 'agp_check_supported_device' defined but not used

CC [M] /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o

CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor’:

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:503: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:582)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:505: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:578)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register’:

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:525: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:577)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:556: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:582)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2532: warning: initialization from incompatible pointer type

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_map’:

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2593: warning: `remap_page_range' is deprecated (declared at include/linux/mm.h:770)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2660: warning: `remap_page_range' is deprecated (declared at include/linux/mm.h:770)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2697: warning: `remap_page_range' is deprecated (declared at include/linux/mm.h:770)

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_uninit’:

/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3018: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:582)

LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o

Building modules, stage 2.

MODPOST

Warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC3.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC3

CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o

LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko

make[1]: Leaving directory `/usr/src/linux-2.6.10-ARCH'

build succeeded with return value 0

duplicating results into driver repository…

done.

==============================

You must change your working directory to /lib/modules/fglrx

and then call ./make_install.sh in order to install the built module.

==============================

[root@myhost build_mod]# cd ..

[root@myhost fglrx]# sh make_install.sh

- creating symlink

- recreating module dependency list

- trying a sample load of the kernel module

FATAL: Error inserting fglrx (/lib/modules/2.6.10-ARCH/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)

failed.

[root@myhost fglrx]#

На mandrake стоит ядро 2.6.8.1, там этиже дрова встали нормально.

anonymous

А всегото нужен был вот этот патчик

http://www.stanford.edu/~fenn/linux/fglrx-kernel2.6.10.patch

sky

Мне почему-то патчик не понадобился…

Ещё кстати бывает полезно перед сборкой модуля зайти в

/lib/modules/fglrx/build_mod/2.6.x

и выполнить там

#make clean

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.