lkml.org 
[lkml]   [1999]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.2.2ac2 the "Gimme back my audio" release
On Wed, Feb 24, 1999 at 05:32:17AM +0000, Alan Cox wrote:
[...]
> Differences between 2.2ac1 and 2.2.2ac2
[...]
> o CDROM driver update (Jens Axboe)
[...]

Fails to compile:

[...]
egcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486 -c -o ide-cd.o ide-cd.c
ide-cd.c: In function `ide_cdrom_probe_capabilities':
ide-cd.c:2862: warning: unused variable `rq'
ide-cd.c: In function `ide_cdrom_init':
ide-cd.c:3217: `ignore' undeclared (first use in this function)
ide-cd.c:3217: (Each undeclared identifier is reported only once
ide-cd.c:3217: for each function it appears in.)
make[3]: *** [ide-cd.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

The code is obviously lacking a pair of

#ifdef MODULE
...
#endif

because the comment at the start of the file indicates that the "ignore"
parameter is solely for the use with MODULE After adding #ifdef..#endif
pair everything compiled as it should...

Yours,
Dominik Kubla

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.117 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site