Kezdőlap › Fórumok › Videokártyák › ATi driver › Radeon 9200-fglrx+tv out
- This topic has 146 hozzászólás, 10 résztvevő, and was last updated 17 years, 8 months telt el by
birno.
-
SzerzőBejegyzés
-
2007-09-12-16:42 #2132438Hybrid wrote:Nem kell symlink. Nézd meg mit ír nálad a version.h -ban, az első sor fog hiányozni és azt írd be a kerneled verziójának megfelelően. Utána működni fog.Code:hybrid[~]$ cat /usr/src/linux/include/linux/version.h
#define UTS_RELEASE „2.6.20.1”
#define LINUX_VERSION_CODE 132628
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))Kudarc.
Valamiért nem akar menni ez a patch.
Mikor kiadom a patchelési parancsot valami ilyesmit ír ki:Code:HUNK #1 succeded at 176 (offset -5 lines
can’t find file to patch at input line 76
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 10:58:15.000000000 -0500
|+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 11:14:04.000000000 -0500
————————–
File to patch:Beírom, hogy a firegl_public.c-t, majd:
Code:HUNK #1 FAILED at 5265
1 out of 1 hunk failed
saving rejects to file firegl_public.c.rejHa ezután azárt kiadom a make.sh parancsot akkor ezt kapom:
Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 18.27.51 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 18:27 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
/lib/modules/fglrx/build_mod/firegl_public.c:89:26: error: linux/config.h: No such file or directory
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_vm_map’:
/lib/modules/fglrx/build_mod/firegl_public.c:3239: error: ‘VM_SHM’ undeclared (first use in this function)
/lib/modules/fglrx/build_mod/firegl_public.c:3239: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/firegl_public.c:3239: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
make: *** [kmod_build] Error 2
build failed with return value 2Miért nem jó a patch?
Vagy akkor nem is kell, mert nálad elvileg ok?
Mondjuk patch nélkül is próbáltam, de a make.sh akkro is hibára futott, annak a logja most nincs meg.2007-09-12-16:42 #2132439Hybrid wrote:Nem kell symlink. Nézd meg mit ír nálad a version.h -ban, az első sor fog hiányozni és azt írd be a kerneled verziójának megfelelően. Utána működni fog.Code:hybrid[~]$ cat /usr/src/linux/include/linux/version.h
#define UTS_RELEASE „2.6.20.1”
#define LINUX_VERSION_CODE 132628
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))Kudarc.
Valamiért nem akar menni ez a patch.
Mikor kiadom a patchelési parancsot valami ilyesmit ír ki:Code:HUNK #1 succeded at 176 (offset -5 lines
can’t find file to patch at input line 76
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 10:58:15.000000000 -0500
|+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 11:14:04.000000000 -0500
————————–
File to patch:Beírom, hogy a firegl_public.c-t, majd:
Code:HUNK #1 FAILED at 5265
1 out of 1 hunk failed
saving rejects to file firegl_public.c.rejHa ezután azárt kiadom a make.sh parancsot akkor ezt kapom:
Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 18.27.51 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 18:27 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
/lib/modules/fglrx/build_mod/firegl_public.c:89:26: error: linux/config.h: No such file or directory
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_vm_map’:
/lib/modules/fglrx/build_mod/firegl_public.c:3239: error: ‘VM_SHM’ undeclared (first use in this function)
/lib/modules/fglrx/build_mod/firegl_public.c:3239: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/firegl_public.c:3239: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
make: *** [kmod_build] Error 2
build failed with return value 2Miért nem jó a patch?
Vagy akkor nem is kell, mert nálad elvileg ok?
Mondjuk patch nélkül is próbáltam, de a make.sh akkro is hibára futott, annak a logja most nincs meg.2007-09-12-17:06 #2132440Na mostmár jó úton jársz. Még két dolgot kell csinalj, először létrehozni egy config.h fájlt ezzel a tartalommal:
Code:hybrid[~]$ cat /usr/src/linux/include/linux/config.h
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* * autoconf.h is now included via -imacros on the commandline
* */
#include#endif
és az mm.h -t kell módosítsd, berakj 1 sort az include -ok után kb. az elejére
Code:hybrid[~]$ fgrep -i VM_SHM /usr/src/linux/include/linux/mm.h
#define VM_SHM 0x00000000ez a sor lényegében semmit nem módosit de mégis nagyban segít hogy működjön a driver. Ezeket ha megcsináltad akkor kellene menjen.
2007-09-12-17:06 #2132441Na mostmár jó úton jársz. Még két dolgot kell csinalj, először létrehozni egy config.h fájlt ezzel a tartalommal:
Code:hybrid[~]$ cat /usr/src/linux/include/linux/config.h
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* * autoconf.h is now included via -imacros on the commandline
* */
#include#endif
és az mm.h -t kell módosítsd, berakj 1 sort az include -ok után kb. az elejére
Code:hybrid[~]$ fgrep -i VM_SHM /usr/src/linux/include/linux/mm.h
#define VM_SHM 0x00000000ez a sor lényegében semmit nem módosit de mégis nagyban segít hogy működjön a driver. Ezeket ha megcsináltad akkor kellene menjen.
2007-09-12-17:44 #2132442Hybrid wrote:Na mostmár jó úton jársz. Még két dolgot kell csinalj, először létrehozni egy config.h fájlt ezzel a tartalommal:Code:hybrid[~]$ cat /usr/src/linux/include/linux/config.h
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* * autoconf.h is now included via -imacros on the commandline
* */
#include#endif
és az mm.h -t kell módosítsd, berakj 1 sort az include -ok után kb. az elejére
Code:hybrid[~]$ fgrep -i VM_SHM /usr/src/linux/include/linux/mm.h
#define VM_SHM 0x00000000ez a sor lényegében semmit nem módosit de mégis nagyban segít hogy működjön a driver. Ezeket ha megcsináltad akkor kellene menjen.
Ok, de azt nem írtad, hogy akkor kell patchelni vagy nem, így megcsináltam mindkétféleképp.
Ha nem patcheltem(ami ugyanazokat írta mint eddig) akkor nem volt jó(log csatolva, mert elég nagy), ha patcheltem akkor ez lett a végeredmény:Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 19.25.50 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 19:25 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/firegl_public.c:89:
include/linux/config.h:8:7: warning: no newline at end of file
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeA logban nincs, de a terminálban mintha a végén lett volna egy „done” is, viszont ha nyomtam egy „cd ..” parancsot akkor nem volt make_install.sh-m és a fentebb lévő könyvtárakban sem.
Ja és a patchnél ezek vannak:
Code:can’t find file to patch at input line 3
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 10:58:15.000000000 -0500
|+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 11:14:04.000000000 -0500
————————–
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can’t find file to patch at input line 76
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2007-02-20 19:23:07.000000000 +0100
|+++ ATi/common/lib/modules/fglrx/build_mod/firegl_public.c.new 2007-02-21 23:36:19.000000000 +0100
————————–
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignoredPersze képzeld oda, hogy beírom a firegl_public.c-t mind a kétszer.
Valami azért alakul. 🙂
2007-09-12-17:44 #2132443Hybrid wrote:Na mostmár jó úton jársz. Még két dolgot kell csinalj, először létrehozni egy config.h fájlt ezzel a tartalommal:Code:hybrid[~]$ cat /usr/src/linux/include/linux/config.h
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* * autoconf.h is now included via -imacros on the commandline
* */
#include#endif
és az mm.h -t kell módosítsd, berakj 1 sort az include -ok után kb. az elejére
Code:hybrid[~]$ fgrep -i VM_SHM /usr/src/linux/include/linux/mm.h
#define VM_SHM 0x00000000ez a sor lényegében semmit nem módosit de mégis nagyban segít hogy működjön a driver. Ezeket ha megcsináltad akkor kellene menjen.
Ok, de azt nem írtad, hogy akkor kell patchelni vagy nem, így megcsináltam mindkétféleképp.
Ha nem patcheltem(ami ugyanazokat írta mint eddig) akkor nem volt jó(log csatolva, mert elég nagy), ha patcheltem akkor ez lett a végeredmény:Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 19.25.50 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 19:25 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/firegl_public.c:89:
include/linux/config.h:8:7: warning: no newline at end of file
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeA logban nincs, de a terminálban mintha a végén lett volna egy „done” is, viszont ha nyomtam egy „cd ..” parancsot akkor nem volt make_install.sh-m és a fentebb lévő könyvtárakban sem.
Ja és a patchnél ezek vannak:
Code:can’t find file to patch at input line 3
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 10:58:15.000000000 -0500
|+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 11:14:04.000000000 -0500
————————–
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can’t find file to patch at input line 76
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2007-02-20 19:23:07.000000000 +0100
|+++ ATi/common/lib/modules/fglrx/build_mod/firegl_public.c.new 2007-02-21 23:36:19.000000000 +0100
————————–
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignoredPersze képzeld oda, hogy beírom a firegl_public.c-t mind a kétszer.
Valami azért alakul. 🙂
2007-09-12-18:30 #2132444birno wrote:include/linux/config.h:8:7: warning: no newline at end of fileen erre a sorra figyelnék kicsit…amikor létrehoztad a fájlt elfelejtettél egy üres sort hagyni a végén, tehát nyomj még egy entert. Próbáld meg úgy, kéné menjen.
2007-09-12-18:30 #2132445birno wrote:include/linux/config.h:8:7: warning: no newline at end of fileen erre a sorra figyelnék kicsit…amikor létrehoztad a fájlt elfelejtettél egy üres sort hagyni a végén, tehát nyomj még egy entert. Próbáld meg úgy, kéné menjen.
2007-09-12-20:26 #2132446Hybrid wrote:birno wrote:include/linux/config.h:8:7: warning: no newline at end of fileen erre a sorra figyelnék kicsit…amikor létrehoztad a fájlt elfelejtettél egy üres sort hagyni a végén, tehát nyomj még egy entert. Próbáld meg úgy, kéné menjen.
A jelenlegi helyzet:
Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 22.16.32 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 22:16 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeMost már csak a firegl_public.c-nél van warning, meg ez
Code:WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmdde az a fájl valóban nem jön létre és make_install.sh sincs most sem.
2007-09-12-20:26 #2132447Hybrid wrote:birno wrote:include/linux/config.h:8:7: warning: no newline at end of fileen erre a sorra figyelnék kicsit…amikor létrehoztad a fájlt elfelejtettél egy üres sort hagyni a végén, tehát nyomj még egy entert. Próbáld meg úgy, kéné menjen.
A jelenlegi helyzet:
Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 22.16.32 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 22:16 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeMost már csak a firegl_public.c-nél van warning, meg ez
Code:WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmdde az a fájl valóban nem jön létre és make_install.sh sincs most sem.
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz