linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.4.5] buz.c won't compile
@ 2001-05-26 17:42 Jan Sembera
  2001-05-26 23:32 ` Alan Cox
  2001-05-28 19:15 ` Ricky Beam
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Sembera @ 2001-05-26 17:42 UTC (permalink / raw)
  To: linux-kernel

Hi,

i've got a problem compiling drivers/media/video/buz.c as module. When 
i'm trying to compile, i get couple of errors:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe 
-mpreferred-stack-boundary=2 -march=athlon  -DMODULE -DMODVERSIONS 
-include /usr/src/linux/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/drivers/media/video'
make[2]: *** [_modsubdir_video] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/media'
make[1]: *** [_modsubdir_media] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2

Jan Sembera


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

* Re: [2.4.5] buz.c won't compile
  2001-05-26 17:42 [2.4.5] buz.c won't compile Jan Sembera
@ 2001-05-26 23:32 ` Alan Cox
  2001-05-28 19:15 ` Ricky Beam
  1 sibling, 0 replies; 7+ messages in thread
From: Alan Cox @ 2001-05-26 23:32 UTC (permalink / raw)
  To: Jan Sembera; +Cc: linux-kernel

> i've got a problem compiling drivers/media/video/buz.c as module. When 
> i'm trying to compile, i get couple of errors:

If you need buz support you need -ac

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

* Re: [2.4.5] buz.c won't compile
  2001-05-26 17:42 [2.4.5] buz.c won't compile Jan Sembera
  2001-05-26 23:32 ` Alan Cox
@ 2001-05-28 19:15 ` Ricky Beam
  2001-05-28 20:53   ` Mike Castle
                     ` (2 more replies)
  1 sibling, 3 replies; 7+ messages in thread
From: Ricky Beam @ 2001-05-28 19:15 UTC (permalink / raw)
  To: Jan Sembera; +Cc: linux-kernel

On Sat, 26 May 2001, Jan Sembera wrote:
>i've got a problem compiling drivers/media/video/buz.c as module. When 
>i'm trying to compile, i get couple of errors:
...

Actually, it broke at 2.4.3.  Go look at the first change to buz.c from
that patch.

--Ricky

PS: I really hate it when people break "functional" things in the "stable"
    tree. (functional and stable are both open to debate.)

PPS: Yes, I know Linus doesn't bother compling most of the stuff :-)



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

* Re: [2.4.5] buz.c won't compile
  2001-05-28 19:15 ` Ricky Beam
@ 2001-05-28 20:53   ` Mike Castle
  2001-05-28 20:57   ` Ronald Bultje
  2001-05-28 21:08   ` Alan Cox
  2 siblings, 0 replies; 7+ messages in thread
From: Mike Castle @ 2001-05-28 20:53 UTC (permalink / raw)
  To: linux-kernel

On Mon, May 28, 2001 at 03:15:04PM -0400, Ricky Beam wrote:
> PS: I really hate it when people break "functional" things in the "stable"
>     tree. (functional and stable are both open to debate.)

I was under the impression that it really wasn't functional.

mrc
-- 
       Mike Castle       Life is like a clock:  You can work constantly
  dalgoda@ix.netcom.com  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

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

* RE: [2.4.5] buz.c won't compile
  2001-05-28 19:15 ` Ricky Beam
  2001-05-28 20:53   ` Mike Castle
@ 2001-05-28 20:57   ` Ronald Bultje
  2001-05-28 21:08   ` Alan Cox
  2 siblings, 0 replies; 7+ messages in thread
From: Ronald Bultje @ 2001-05-28 20:57 UTC (permalink / raw)
  To: Ricky Beam; +Cc: linux-kernel

>Actually, it broke at 2.4.3.  Go look at the first change to buz.c from
>that patch.

None at all. It didn't break at 2.4.3, it just didn't compile at all anymore
in 2.4.3. It was already kind of broken before that.

>PS: I really hate it when people break "functional" things in the >"stable"
>tree. (functional and stable are both open to debate.)

Nobody broke it. The fact that it didn't compile right was something nobody
ever looked at - it was already broken before and I really don't suppose
anyone uses it.
The words "if it compiles, it'll work" are not true. Really.

Ronald

PS, how about just removing it from the kernel? Would spare a lot of
troubles, and nobody uses it anyway :-).


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

* Re: [2.4.5] buz.c won't compile
  2001-05-28 19:15 ` Ricky Beam
  2001-05-28 20:53   ` Mike Castle
  2001-05-28 20:57   ` Ronald Bultje
@ 2001-05-28 21:08   ` Alan Cox
  2001-05-29  4:23     ` Ricky Beam
  2 siblings, 1 reply; 7+ messages in thread
From: Alan Cox @ 2001-05-28 21:08 UTC (permalink / raw)
  To: Ricky Beam; +Cc: Jan Sembera, linux-kernel

> Actually, it broke at 2.4.3.  Go look at the first change to buz.c from
> that patch.

buz was broken before 2.4.0

> PS: I really hate it when people break "functional" things in the "stable"
>     tree. (functional and stable are both open to debate.)

buz was never functional in 2.4


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

* Re: [2.4.5] buz.c won't compile
  2001-05-28 21:08   ` Alan Cox
@ 2001-05-29  4:23     ` Ricky Beam
  0 siblings, 0 replies; 7+ messages in thread
From: Ricky Beam @ 2001-05-29  4:23 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

On Mon, 28 May 2001, Alan Cox wrote:
>> Actually, it broke at 2.4.3.  Go look at the first change to buz.c from
>> that patch.
>
>buz was broken before 2.4.0

Where "broke" is defined as "no longer compiles".

(I'm one of those nuts that compiles everything.)

--Ricky



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

end of thread, other threads:[~2001-05-29  4:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-26 17:42 [2.4.5] buz.c won't compile Jan Sembera
2001-05-26 23:32 ` Alan Cox
2001-05-28 19:15 ` Ricky Beam
2001-05-28 20:53   ` Mike Castle
2001-05-28 20:57   ` Ronald Bultje
2001-05-28 21:08   ` Alan Cox
2001-05-29  4:23     ` Ricky Beam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).