Skip to contentSkip to conversation

compilation error in 2.4.23-pre3

DISCUSSION chimicus 2 participants 2 messages Sep 7, 2003

lore
Share & tools
lore

chimicus

author
#0 lore raw

-----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-----

#1 lore raw
Quoted 2 lines · chimicus

Hi,

Hi,

Quoted 5 lines

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)

Quoted 8 lines

../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

Signature · 4 lines
       "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