All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem compiling kernel 2.4.5 with gcc 2.96
@ 2001-05-27 11:53 Peter Klotz
  2001-05-27 12:02 ` Erik Mouw
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Klotz @ 2001-05-27 11:53 UTC (permalink / raw)
  To: linux-kernel

Hi folks

When creating the modules (make modules) for my 2.4.5 kernel the compilation 
aborts with the following error messages. The problem seems to be related 
with Video for Linux and the Iomega Buz Driver.

gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 
-march=i686 -DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.5/include/linux/modversions.h   -c -o c-qcam.o c-qcam.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 
-march=i686 -DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.5/include/linux/modversions.h   -c -o bw-qcam.o bw-qcam.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 
-march=i686 -DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.5/include/linux/modversions.h   -c -o buz.o buz.c
buz.c: In function `v4l_fbuffer_alloc':
buz.c:188: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c:188: (Each undeclared identifier is reported only once
buz.c:188: for each function it appears in.)
buz.c: In function `jpg_fbuffer_alloc':
buz.c:262: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c:256: warning: `alloc_contig' might be used uninitialized in this 
function
buz.c: In function `jpg_fbuffer_free':
buz.c:322: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c:316: warning: `alloc_contig' might be used uninitialized in this 
function
buz.c: In function `zoran_ioctl':
buz.c:2837: `KMALLOC_MAXSIZE' undeclared (first use in this function)
buz.c: In function `zr36057_init':
buz.c:3215: too few arguments to function `video_register_device_Recfe1c4b'
make[3]: *** [buz.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.5/drivers/media/video'
make[2]: *** [_modsubdir_video] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.5/drivers/media'
make[1]: *** [_modsubdir_media] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.5/drivers'
make: *** [_mod_drivers] Error 2

I have run the ver_linux script as recommended. Here is the output.

[root@localhost scripts]# ./ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux localhost.localdomain 2.4.4 #1 Fri May 11 10:19:47 CEST 2001 i686 
unknown

Gnu C                  2.96
Gnu make               3.79.1
binutils               2.10.91.0.2
util-linux             2.10s
mount                  2.10r
modutils               2.4.2
e2fsprogs              1.19
reiserfsprogs          3.x.0f
PPP                    2.4.0
isdn4k-utils           3.1pre1
Linux C Library        2.2.2
Dynamic linker (ldd)   2.2.2
Procps                 2.0.7
Net-tools              1.57
Console-tools          0.3.3
Sh-utils               2.0
Modules Loaded         ppp_async ppp_generic binfmt_misc scanner autofs 3c59x 
ipchains parport_pc ppa parport ide-scsi scsi_mod ide-cd cdrom ntfs 
nls_iso8859-1
nls_cp437 vfat fat usb-uhci usbcore
[root@localhost scripts]#  

Maybe someone has an idea (other than deactivating Video for Linux).

Bye, Peter.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem compiling kernel 2.4.5 with gcc 2.96
  2001-05-27 11:53 Problem compiling kernel 2.4.5 with gcc 2.96 Peter Klotz
@ 2001-05-27 12:02 ` Erik Mouw
  0 siblings, 0 replies; 2+ messages in thread
From: Erik Mouw @ 2001-05-27 12:02 UTC (permalink / raw)
  To: Peter Klotz; +Cc: linux-kernel

On Sun, May 27, 2001 at 01:53:03PM +0200, Peter Klotz wrote:
> When creating the modules (make modules) for my 2.4.5 kernel the compilation 
> aborts with the following error messages. The problem seems to be related 
> with Video for Linux and the Iomega Buz Driver.

buz.c is broken, you need 2.4.5-ac1 for it.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-27 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-27 11:53 Problem compiling kernel 2.4.5 with gcc 2.96 Peter Klotz
2001-05-27 12:02 ` Erik Mouw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.