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

Re: I can't compile anymore



Pierfrancesco Caci wrote:
> "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_install
> egcc -D__KERNEL__ -I/scratch/usr/src/linux/include -Wall
                      ^^^^^^^^^^^^^^^^^^^^^^^
is this *really* where your kernel sources are installed?  It seems like
egcc is picking up the headers that come with libc6-dev instead of the
headers that come with the kernel source. Did you remember to run `make
dep; make clean' before running `make bzimage'?

Besides, you should take a look at the kernel-package package which can
automate the entire kernel build process and produce a nice .deb package
which can be installed with dpkg.  Works like a charm.

> -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
[snip]

HTH
-- 
       /'"`\  zzzZ  | My PGP Public Key is available at:
      ( - - )       | <http://home1.inet.tele.dk/renehl/>
--oooO--(_)--Oooo------------------------------------------ 
 Don't ya just hate it when there's not enough room to fin 


Reply to: