1 |
Hi all, |
2 |
|
3 |
The kernel compilation for 2.4.5 gives the following error |
4 |
|
5 |
gcc -D__KERNEL__ -I/tmp/portage/linux-2.4.5/work/linux-2.4.5/include -Wall |
6 |
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe |
7 |
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -DMODVERSIONS -include |
8 |
/tmp/portage/linux-2.4.5/work/linux-2.4.5/include/linux/modversions.h -c |
9 |
-o buz.o buz.c buz.c:188: `KMALLOC_MAXSIZE' undeclared (first use in this |
10 |
function) buz.c:188: (Each undeclared identifier is reported only once |
11 |
buz.c:188: for each function it appears in.) |
12 |
buz.c: In function `jpg_fbuffer_alloc': |
13 |
buz.c:262: `KMALLOC_MAXSIZE' undeclared (first use in this function) |
14 |
buz.c:256: warning: `alloc_contig' might be used uninitialized in this |
15 |
function buz.c: In function `jpg_fbuffer_free': |
16 |
buz.c:322: `KMALLOC_MAXSIZE' undeclared (first use in this function) |
17 |
buz.c:316: warning: `alloc_contig' might be used uninitialized in this |
18 |
function buz.c: In function `zoran_ioctl': |
19 |
buz.c:2837: `KMALLOC_MAXSIZE' undeclared (first use in this function) |
20 |
buz.c: In function `zr36057_init': |
21 |
buz.c:3215: too few arguments to function `video_register_device_R224aa13e' |
22 |
make[3]: *** [buz.o] Error 1 |
23 |
make[3]: Leaving directory |
24 |
`/tmp/portage/linux-2.4.5/work/linux-2.4.5/drivers/media/video' make[2]: *** |
25 |
[_modsubdir_video] Error 2 |
26 |
make[2]: Leaving directory |
27 |
`/tmp/portage/linux-2.4.5/work/linux-2.4.5/drivers/media' make[1]: *** |
28 |
[_modsubdir_media] Error 2 |
29 |
make[1]: Leaving directory |
30 |
`/tmp/portage/linux-2.4.5/work/linux-2.4.5/drivers' make: *** [_mod_drivers] |
31 |
Error 2 |
32 |
|
33 |
so i copied the old config.bootcomp from 2.4.4.9 and said no to everything |
34 |
under video for linux section |
35 |
|
36 |
and it compiled ... not a good solution if some one needs video for linux :( |
37 |
|
38 |
and then with the linux extras compilation i got the following error |
39 |
|
40 |
Config file /usr/src/linux-2.4.5/.config not present! |
41 |
|
42 |
so i did |
43 |
|
44 |
cp /tmp/portage/linux-2.4.5/work/linux-2.4.5/.config /usr/src/linux-2.4.5/ |
45 |
|
46 |
and it compiled without problems :) |
47 |
|
48 |
maybe someone needs to look into this |
49 |
|
50 |
Best Regards |
51 |
Prakash Shetty |
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
_______________________________________________ |
60 |
gentoo-dev mailing list |
61 |
gentoo-dev@××××××××××.org |
62 |
http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |