2003-09-07 00:03:27

by chimicus

[permalink] [raw]
Subject: compilation error in 2.4.23-pre3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
i failed compiling 2.4.23-pre3 because of this error:
...
In file included from via82cxxx.c:39:
../ide-timing.h: In function `ide_find_best_mode':
../ide-timing.h:124: `XFER_UDMA_133' undeclared (first use in this function)
../ide-timing.h:124: (Each undeclared identifier is reported only once
../ide-timing.h:124: for each function it appears in.)
via82cxxx.c: In function `via_get_info':
via82cxxx.c:250: duplicate case value
via82cxxx.c:246: previously used here
via82cxxx.c: In function `via82cxxx_ide_dma_check':
via82cxxx.c:407: `XFER_UDMA_133' undeclared (first use in this function)
make[4]: *** [via82cxxx.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.22/drivers/ide/pci'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.22/drivers/ide/pci'
make[2]: *** [_subdir_pci] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers'
make: *** [_dir_drivers] Error 2
...
I think it's not difficult to correct but i'm not a C programmer :-(
- --
trattiamo gli italiani come persone e non come italiani

Emiliano Testa
ICQ #:64933789
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/WnZwQ324q/o2n0ERAu8wAJ4t99aCzpRC/IgWx3DJjb1IPHPmfACfR8tm
pjVSxR1kd2qeK10i5hOLTH8=
=6X0b
-----END PGP SIGNATURE-----


2003-09-07 09:42:26

by Adrian Bunk

[permalink] [raw]
Subject: Re: compilation error in 2.4.23-pre3

On Sun, Sep 07, 2003 at 02:05:57AM +0200, chimicus wrote:
>
> Hi,

Hi,

> i failed compiling 2.4.23-pre3 because of this error:
> ...
> In file included from via82cxxx.c:39:
> ../ide-timing.h: In function `ide_find_best_mode':
> ../ide-timing.h:124: `XFER_UDMA_133' undeclared (first use in this function)
> ../ide-timing.h:124: (Each undeclared identifier is reported only once
> ../ide-timing.h:124: for each function it appears in.)
> via82cxxx.c: In function `via_get_info':
> via82cxxx.c:250: duplicate case value
> via82cxxx.c:246: previously used here
> via82cxxx.c: In function `via82cxxx_ide_dma_check':
> via82cxxx.c:407: `XFER_UDMA_133' undeclared (first use in this function)
>...

this doesn't seem to be a plain 2.4.23-pre3, in 2.4.23-pre3 ide-timing.h
XFER_UDMA_133 is #define'd and line 124 is completely empty.

Which modifications did you make in your kernel sources?

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed