lkml.org 
[lkml]   [2006]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.17-rc4-mm3-lockdep compilation error
Hi Ingo,

lockdep-serial.patch is causing this error
/usr/src/linux-work/drivers/serial/serial_core.c:621:16: warning: incorrect type
in assignment (different base types)
/usr/src/linux-work/drivers/serial/serial_core.c:621:16: expected int [signed
] [addressable] [assigned] flags
/usr/src/linux-work/drivers/serial/serial_core.c:621:16: got
restricted unsig ned int
[usertype] flags
/usr/src/linux-work/drivers/serial/serial_core.c:686:12: warning:
incorrect type in
assignment (different base types)
/usr/src/linux-work/drivers/serial/serial_core.c:686:12: expected
restricted unsigned int
[usertype] new_flags
/usr/src/linux-work/drivers/serial/serial_core.c:686:12: got int
[signed] [ad dressable]
[assigned] flags
/usr/src/linux-work/drivers/serial/serial_core.c:2264:3: error:
undefined identi fier
'port_lock_key'
/usr/src/linux-work/drivers/serial/serial_core.c: In function
'uart_add_one_port ':
/usr/src/linux-work/drivers/serial/serial_core.c:2264: error:
'port_lock_key' un declared
(first use in this function)
/usr/src/linux-work/drivers/serial/serial_core.c:2264: error: (Each
undeclared i dentifier is
reported only once
/usr/src/linux-work/drivers/serial/serial_core.c:2264: error: for each
function it appears in.)
make[3]: *** [drivers/serial/serial_core.o] Error 1
make[2]: *** [drivers/serial] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2

gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-29 20:12    [W:0.050 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site