lkml.org 
[lkml]   [2000]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.3.39 doesn't compile on Jensen (axp) w/RH60
    Hi Andre.

    Should that maybe be #ifndef instead of #ifdef? Putting in #ifdef changed
    nothing...

    I made it #ifndef and it started compiling but in linux/kernel it spit-up:

    gcc -D__KERNEL__ -I/home/root/lx-23x/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
    -mcpu=ev4 -Wa,-mev6 -c -o printk.o printk.c
    gcc -D__KERNEL__ -I/home/root/lx-23x/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
    -mcpu=ev4 -Wa,-mev6 -c -o sys.o sys.c
    sys.c:25: `DEFAULT_OVERFLOWUID' undeclared here (not in a function)
    sys.c:26: `DEFAULT_OVERFLOWGID' undeclared here (not in a function)
    make[2]: *** [sys.o] Error 1
    make[2]: Leaving directory `/home/root/lx-23x/kernel'
    make[1]: *** [first_rule] Error 2
    make[1]: Leaving directory `/home/root/lx-23x/kernel'
    make: *** [_dir_kernel] Error 2
    [root@wakko lx-23x]#

    --Scott

    Andre Hedrick wrote:

    > Add these two lines and it will compile........
    >
    > linux-2.3.39/include/linux/types.h
    >
    > /* This is defined by include/asm-{arch}/posix_types.h */
    > + #ifdef __KERNEL__
    > typedef __kernel_old_uid_t old_uid_t;
    > typedef __kernel_old_gid_t old_gid_t;
    > + #endif
    >
    > On Tue, 11 Jan 2000, Scott A. Sibert wrote:
    >
    > > The error occurs immediately:
    > >
    > > [root@wakko lx-23x]# make boot
    > > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
    > > scripts/split-include scripts/split-include.c
    > > scripts/split-include include/linux/autoconf.h include/config
    > > gcc -D__KERNEL__ -I/home/root/lx-23x/include -Wall -Wstrict-prototypes
    > > -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs
    > > -ffixed-8 -mcpu=ev4 -Wa,-mev6 -c -o init/main.o init/main.c
    > > In file included from /home/root/lx-23x/include/linux/capability.h:12,
    > > from /home/root/lx-23x/include/linux/binfmts.h:5,
    > > from /home/root/lx-23x/include/linux/sched.h:8,
    > > from /home/root/lx-23x/include/linux/mm.h:4,
    > > from /home/root/lx-23x/include/linux/slab.h:14,
    > > from /home/root/lx-23x/include/linux/malloc.h:4,
    > > from /home/root/lx-23x/include/linux/proc_fs.h:5,
    > > from init/main.c:15:
    > > /home/root/lx-23x/include/linux/types.h:35: parse error before
    > > `old_uid_t'
    > > /home/root/lx-23x/include/linux/types.h:35: warning: type defaults to
    > > `int' in declaration of `old_uid_t'
    > > /home/root/lx-23x/include/linux/types.h:35: warning: data definition has
    > > no type or storage class
    > > /home/root/lx-23x/include/linux/types.h:36: parse error before
    > > `old_gid_t'
    > > /home/root/lx-23x/include/linux/types.h:36: warning: type defaults to
    > > `int' in declaration of `old_gid_t'
    > > /home/root/lx-23x/include/linux/types.h:36: warning: data definition has
    > > no type or storage class
    > > make: *** [init/main.o] Error 1
    > > [root@wakko lx-23x]#
    > >


    -
    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:55    [W:0.022 / U:31.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site