[Savage40] DRM Won't compile ???

Tidus tidus3012 at wanadoo.fr
Sat Jan 22 12:25:38 PST 2005


When I try to compile DRM on my Mandrake 10.1 (Reconfigured Kernel, 
optimized for my Duron and his awful VIA chipset, with an ugly S3 
Twister-K (huuuu)), using "make" or whatever the variant, I get these 
errors :

make -C /lib/modules/2.6.8.1-12mdk/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` 
modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-12mdk'
  CC [M]  /home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.o
In file included from /home/tidus/X-DRI-DRM/drm/linux-core/drmP.h:44,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.c:36:
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from include/linux/module.h:10,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drmP.h:45,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.c:36:
include/linux/sched.h:4:36: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
                 from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drmP.h:45,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.c:36:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or 
directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drmP.h:45,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.c:36:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drmP.h:45,
                 from /home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.c:36:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration 
of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or 
storage class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration 
of `dev_t'
include/linux/types.h:21: warning: data definition has no type or 
storage class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration 
of `ino_t'
include/linux/types.h:22: warning: data definition has no type or 
storage class
include/linux/types.h:23: error: syntax error before "mode_t"
include/linux/types.h:23: warning: type defaults to `int' in declaration 
of `mode_t'
include/linux/types.h:23: warning: data definition has no type or 
storage class
include/linux/types.h:24: error: syntax error before "nlink_t"
include/linux/types.h:24: warning: type defaults to `int' in declaration 
of `nlink_t'
include/linux/types.h:24: warning: data definition has no type or 
storage class
include/linux/types.h:25: error: syntax error before "off_t"
include/linux/types.h:25: warning: type defaults to `int' in declaration 
of `off_t'
include/linux/types.h:25: warning: data definition has no type or 
storage class
include/linux/types.h:26: error: syntax error before "pid_t"
include/linux/types.h:26: warning: type defaults to `int' in declaration 
of `pid_t'
include/linux/types.h:26: warning: data definition has no type or 
storage class
include/linux/types.h:27: error: syntax error before "daddr_t"
include/linux/types.h:27: warning: type defaults to `int' in declaration 
of `daddr_t'
include/linux/types.h:27: warning: data definition has no type or 
storage class
include/linux/types.h:29: error: syntax error before "suseconds_t"
include/linux/types.h:29: warning: type defaults to `int' in declaration 
of `suseconds_t'
include/linux/types.h:29: warning: data definition has no type or 
storage class
include/linux/types.h:30: error: syntax error before "timer_t"
include/linux/types.h:30: warning: type defaults to `int' in declaration 
of `timer_t'
include/linux/types.h:30: warning: data definition has no type or 
storage class
include/linux/types.h:31: error: syntax error before "clockid_t"
include/linux/types.h:31: warning: type defaults to `int' in declaration 
of `clockid_t'

[... AND SO ON ...]

{standard input}:408: Error: symbol `lock' is already defined
{standard input}:1511: Error: symbol `files' is already defined
{standard input}:1682: Error: symbol `blocks' is already defined
{standard input}:2142: Error: symbol `parent' is already defined
/home/tidus/X-DRI-DRM/drm/linux-core/drmP.h:619: error: storage size of 
`ctxlist_sem' isn't known
include/linux/proc_fs.h:210: warning: 'create_proc_read_entry' declared 
`static' but never defined
{standard input}:2459: Error: symbol `d_flags' is already defined
{standard input}:3079: Error: symbol `flags' is already defined
{standard input}:3154: Error: symbol `s_type' is already defined
{standard input}:3382: Error: symbol `lock' is already defined
{standard input}:3442: Error: symbol `nlink' is already defined
{standard input}:3448: Error: symbol `size' is already defined
{standard input}:3472: Error: symbol `owner' is already defined
{standard input}:3478: Error: symbol `next' is already defined
{standard input}:3484: Error: symbol `parent' is already defined
{standard input}:3753: Error: symbol `release' is already defined
{standard input}:3783: Error: symbol `dma_mask' is already defined
{standard input}:3819: Error: symbol `resource' is already defined
{standard input}:3909: Error: symbol `private' is already defined
{standard input}:3945: Error: symbol `data' is already defined
{standard input}:3963: Error: symbol `next' is already defined
{standard input}:3992: Error: symbol `lock' is already defined
{standard input}:4022: Error: symbol `next' is already defined
{standard input}:4118: Error: symbol `flags' is already defined
{standard input}:4178: Error: symbol `flags' is already defined
{standard input}:4334: Error: symbol `lock' is already defined
{standard input}:4370: Error: symbol `irq' is already defined
{standard input}:4585: Error: symbol `driver' is already defined
make[2]: *** [/home/tidus/X-DRI-DRM/drm/linux-core/drm_auth.o] Erreur 1
make[1]: *** [_module_/home/tidus/X-DRI-DRM/drm/linux-core] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-12mdk'
make: *** [modules] Erreur 2


(This error log is 255.4ko, so I can give it entirely if needed ... I 
kept it safe ...)
 >> So, you see what I mean, now ... Anywone can help ???


Thank you forward !
R. MULLER



More information about the Savage40 mailing list