Mandrake + ATi 8.10 + gcc = mist?

Hefty

Commodore Special
Mitglied seit
11.11.2001
Beiträge
357
Renomée
0
Okay, was mache ich falsch? Ich wollte den neuen 8.10er-Treiber installieren. Bewährte Methode, nur hat er diesmal nicht vor sich hingerödelt, sondern tatsächlich nur das RPM installiert, und that's it. Nach X-Neustart dann auch konsequenterweise kein 3D mehr.

Gut, also habe ich gedacht, kompiliere ich mir den Mist doch einfach selbst, macht er aber nicht.

Hier das log:

Code:
ATI module generator V 2.0
==========================
initializing...
build_date =Sa Feb 19 17:56:55 CET 2005
uname -a =Linux localhost 2.6.8.1-24mdk #1 Fri Jan 14 03:01:00 MST 2005 i686 AMD Athlon(tm) XP 1800+ unknown GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.8.1-24mdk
uname -v =#1 Fri Jan 14 03:01:00 MST 2005
uid=0(root) gid=0(root) Gruppen=0(root)
.
drwxr-xr-x  33 root root 4096 Feb 19 17:31 /usr/include
.
insgesamt 12
drwxr-xr-x  2 root root 4096 Feb 19 13:55 ATI
lrwxrwxrwx  1 root root   19 Feb 19 17:44 linux -> linux-2.6.8.1-24mdk
drwxr-xr-x  8 root root 4096 Feb 19 17:44 linux-2.6.8.1-24mdk
drwxr-xr-x  3 root root 4096 Jan 28 00:23 RPM
.
file /lib/modules/2.6.8.1-24mdk/build/include/linux/agp_backend.h says: AGP=1
file /proc/kallsyms says: SMP=1
assuming default: MODVERSIONS=0
.
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 Feb 19 17:56 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC3
.
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.8.1-24mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
gcc: installation problem, cannot exec `cc1': No such file or directory
gcc: installation problem, cannot exec `cc1': No such file or directory
make[1]: Entering directory `/usr/src/linux-2.6.8.1-24mdk'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
gcc: installation problem, cannot exec `cc1': No such file or directory
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agp3.o] Fehler 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-24mdk'
make: *** [kmod_build] Fehler 2
build failed with return value 2

Hab dann einfach mal aus Verzweiflung noch zwei andere gcc-Versionen sowie alle zusätzlichen gcc-Pakete, die es gab, installiert, aber nachdem das nix gebracht hatte, habe ich sie wieder runtergeschmissen und hoffe jetzt auf eure Tipps.

Viele Grüße:

Hannes
 
Schau mal nach dem Link in meiner Sig! Dann können Dir unsere Ati-User sicher helfen.
 
Hallo Andy,

sorry, ich fühle mich in dem forum nicht wirklich wohl (bin aber angemeldet). Ich versuche es lieber hier ;-)
Bin einen Schritt weiter: cc1 hat tatsächlich gefehlt, obwohl das betreffende Paket installiert war. Deinstallieren konnte ich es nicht, wegen irgendwelcher deps. Also unabhängig gesaugt und per force drübergebügelt - funzt. Jetzt sieht die Sache so aus:

Code:
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.8.1-24mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-24mdk'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /lib/modules/fglrx/build_mod/2.6.x/agp3.c:60:
include/linux/kernel.h:10:20: stdarg.h: No such file or directory
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /lib/modules/fglrx/build_mod/2.6.x/agp3.c:60:
include/linux/kernel.h:80: error: syntax error before "va_list"
include/linux/kernel.h:80: warning: function declaration isn't a prototype
include/linux/kernel.h:83: error: syntax error before "va_list"
include/linux/kernel.h:83: warning: function declaration isn't a prototype
include/linux/kernel.h:86: error: syntax error before "va_list"
include/linux/kernel.h:86: warning: function declaration isn't a prototype
include/linux/kernel.h:90: error: syntax error before "va_list"
include/linux/kernel.h:90: warning: function declaration isn't a prototype
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agp3.o] Fehler 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-24mdk'
make: *** [kmod_build] Fehler 2
build failed with return value 2

Kernelsourcen sind installiert, mit den source-stripped habe ich es auch versucht. Any suggestions?

Hannes
 
was steht denn in der include/linux/kernel.h Zeile 80 - 90?
 
Code:
extern int vsprintf(char *buf, const char *, va_list);
extern int snprintf(char * buf, size_t size, const char * fmt, ...)
        __attribute__ ((format (printf, 3, 4)));
extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
extern int scnprintf(char * buf, size_t size, const char * fmt, ...)
        __attribute__ ((format (printf, 3, 4)));
extern int vscnprintf(char *buf, size_t size, const char *fmt, va_list args);

extern int sscanf(const char *, const char *, ...)
        __attribute__ ((format (scanf,2,3)));
extern int vsscanf(const char *, const char *, va_list);
 
Zurück
Oben Unten