[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I can't compile anymore



"E.L. Meijer \(Eric\)" <tgakem@sg10.chem.tue.nl> writes:

> > 
> > 
> linux/errno.h is in libc6-dev.  You also should not try to compile 2.0

Ok, reinstalled libc6-dev, I get these messages further on in the compilation:

root@penny:/usr/src/linux # make bzImage && make modules && make modules_installegcc -D__KERNEL__ -I/scratch/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c -o init/main.o init/main.c
/usr/include/asm/string.h: In function `__constant_memcpy':
In file included from /usr/include/linux/string.h:39,
                 from /usr/include/asm/termios.h:58,
                 from /usr/include/linux/termios.h:5,
                 from /usr/include/linux/tty.h:20,
                 from /usr/include/linux/sched.h:26,
                 from init/main.c:17:
/usr/include/asm/string.h:443: warning: control reaches end of non-void function
/usr/include/asm/string.h: In function `__constant_c_and_count_memset':
/usr/include/asm/string.h:594: warning: control reaches end of non-void function
/scratch/usr/src/linux/include/linux/slab.h: At top level:
In file included from init/main.c:31:
/scratch/usr/src/linux/include/linux/slab.h:59: conflicting types for `kfree'
/usr/include/linux/malloc.h:7: previous declaration of `kfree'
init/main.c: In function `get_options':
init/main.c:379: warning: subscript has type `char'
init/main.c: At top level:
init/main.c:857: `pci_setup' undeclared here (not in a function)
init/main.c:857: initializer element for `raw_params[1].setup_func' is not constant
init/main.c: In function `start_kernel':
init/main.c:1154: warning: implicit declaration of function `dcache_init'
init/main.c:1155: warning: implicit declaration of function `vma_init'
init/main.c:1158: too few arguments to function `inode_init'
init/main.c:1159: too few arguments to function `file_table_init'
init/main.c: In function `do_basic_setup':
init/main.c:1229: too few arguments to function `pci_init'
init/main.c: In function `init':
init/main.c:1325: warning: implicit declaration of function `lock_kernel'
init/main.c:1334: warning: implicit declaration of function `unlock_kernel'
make: *** [init/main.o] Error 1
root@penny:/usr/src/linux # 


again, linux kernel to compile is 2.1.125

I would like to know if someone else is having these problems or if I
just trashed the system somehow (how? :-)


Pf


-- 

-------------------------------------------------------------------------------
 Pierfrancesco Caci  | mailto:p.caci@flashnet.it - http://gusp.infogroup.it
       ik5pvx        |         http://www.geocities.com/SoHo/Lofts/8999
  Firenze - Italia   | Office for the Complication of Otherwise Simple Affairs 
     Linux penny 2.1.122 #7 Thu Sep 17 13:56:01 CEST 1998 i586 unknown


Reply to: