lkml.org 
[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: Linux v2.5.32
    On Wed, Aug 28, 2002 at 08:18:27AM +0200, Jan-Benedict Glaw wrote:
    > On Tue, 2002-08-27 20:54:30 -0000, Gabor Z. Papp <gzp@myhost.mynet>
    > wrote in message <6e0.3d6be706.b5d05@gzp1.gzp.hu>:
    > > gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5.32-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.32-gzp3/include/linux/modversions.h -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o 8250.o 8250.c
    > > In file included from 8250.c:34:
    > > /usr/src/linux-2.5.32-gzp3/include/linux/serialP.h:50: field `icount' has incomplete type
    >
    > Header file problem. In serialP.h, right at the beginning, there's a
    > version check, which unfortunately is in wrong direction. No sources
    > available, no patch...

    Guessing it wants to be (LINUX_VERSION_CODE >= 0x020300) rather than
    (LINUX_VERSION_CODE < 0x020300):

    --- linux.orig/include/linux/serialP.h Sun Jun 9 15:27:21 2002
    +++ linux/include/linux/serialP.h Wed Aug 28 17:03:18 2002
    @@ -24,7 +24,7 @@
    #include <linux/tqueue.h>
    #include <linux/circ_buf.h>
    #include <linux/wait.h>
    -#if (LINUX_VERSION_CODE < 0x020300)
    +#if (LINUX_VERSION_CODE >= 0x020300)
    /* Unfortunate, but Linux 2.2 needs async_icount defined here and
    * it got moved in 2.3 */
    #include <linux/serial.h>
    -
    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: 2005-03-22 13:28    [W:0.024 / U:119.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site