lkml.org 
[lkml]   [2000]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectProblem compiling 2.3.99-pre1
Date
I went to kernel.org, and retrieved 2.3.99-pre1.
I configured it, and went to compile and got the messages below.
When I disabled drm, everything compiled smoothly. I checked newsflash and
the archives and didn't see anything like this.

I am running debian potato w/ libc 2.1.3 and gcc 2.95.2

Not that I actually need drm, but I was surprised to see it break the
compile.
Is this a known problem?

Thanks,
.Geoff

make[4]: Entering directory `/usr/src/linux-2.3.99-pre1/drivers/char/drm'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -DCPU=686
-march=i686 -fno-strct-aliasing -c -o init.o init.c
In file included from drmP.h:53,
from init.c:32:
/usr/src/linux/include/asm/spinlock.h:36: warning:
`SPIN_LOCK_UNLOCKED' redefind
/usr/src/linux/include/linux/spinlock.h:51: warning: this
is the location of th previous definition
/usr/src/linux/include/asm/spinlock.h:38: warning:
`spin_lock_init' redefined
/usr/src/linux/include/linux/spinlock.h:54: warning: this
is the location of th previous definition
/usr/src/linux/include/asm/spinlock.h:46: warning:
`spin_unlock_wait' redefined/usr/src/linux/include/linux/spinlock.h:58:
warning: this is the location of th previous definition
/usr/src/linux/include/asm/spinlock.h:47: warning:
`spin_is_locked' redefined
/usr/src/linux/include/linux/spinlock.h:56: warning: this
is the location of th previous definition
/usr/src/linux/include/asm/spinlock.h:101: warning:
`spin_trylock' redefined
/usr/src/linux/include/linux/spinlock.h:57: warning: this
is the location of th previous definition
/usr/src/linux/include/asm/spinlock.h:128: warning:
`RW_LOCK_UNLOCKED' redefine/usr/src/linux/include/linux/spinlock.h:114:
warning: this is the location of te previous definition
/usr/src/linux/include/asm/spinlock.h:159: warning:
`read_unlock' redefined
/usr/src/linux/include/linux/spinlock.h:118: warning: this
is the location of te previous definition
/usr/src/linux/include/asm/spinlock.h:160: warning:
`write_unlock' redefined
/usr/src/linux/include/linux/spinlock.h:120: warning: this
is the location of te previous definition
In file included from drmP.h:53,
from init.c:32:
/usr/src/linux/include/asm/spinlock.h:26:
conflicting types for `spinlock_t'

/usr/src/linux/include/linux/spinlock.h:50: previous declaration of
`spinlock_t/usr/src/linux/include/asm/spinlock.h:73: parse error before
`void'
/usr/src/linux/include/asm/spinlock.h:88:
parse error before `do'
/usr/src/linux/include/asm/spinlock.h:118:
conflicting types for `rwlock_t'

/usr/src/linux/include/linux/spinlock.h:113: previous declaration of
`rwlock_t'/usr/src/linux/include/asm/spinlock.h:141: parse error before
`void'
/usr/src/linux/include/asm/spinlock.h:150:
parse error before `void'
make[4]: *** [init.o] Error 1
make[4]: Leaving directory
`/usr/src/linux-2.3.99-pre1/drivers/char/drm'



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.123 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site