hi,
i just tried to update my kernel to the latest pre2, but i ran into sone
problems regarding USB.
fyi; 2.4.19pre1 works just nicely.
root@sparkie:/usr/src/linux# sparc64-linux-gcc --version
egcs-2.92.11
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux2419pre2/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc
-mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7
-Wno-sign-compare -Wa,--undeclared-regs -DKBUILD_BASENAME=hcd
-DEXPORT_SYMTAB -c hcd.c
hcd.c: In function `usb_hcd_pci_probe':
hcd.c:627: `irq' undeclared (first use in this function)
hcd.c:627: (Each undeclared identifier is reported only once
hcd.c:627: for each function it appears in.)
make[3]: *** [hcd.o] Error 1
make[3]: Leaving directory `/usr/src/linux2419pre2/drivers/usb'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux2419pre2/drivers/usb'
make[1]: *** [_subdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux2419pre2/drivers'
make: *** [_dir_drivers] Error 2
ps: i'm not subscribed to the mailing list, but i read the linux.kernel
newsgroup on a regular base.
regards,
Jurgen.
From: Jurgen Philippaerts <[email protected]>
Date: Fri, 01 Mar 2002 15:09:04 +0100
hcd.c: In function `usb_hcd_pci_probe':
hcd.c:627: `irq' undeclared (first use in this function)
hcd.c:627: (Each undeclared identifier is reported only once
hcd.c:627: for each function it appears in.)
Go to line 627 in an editor and change "irq" to be "dev->irq"
The same build failure got introduced when this code was merged
into the 2.5.x tree and I had to fix it there too.
David S. Miller wrote:
> hcd.c: In function `usb_hcd_pci_probe':
> hcd.c:627: `irq' undeclared (first use in this function)
> hcd.c:627: (Each undeclared identifier is reported only once
> hcd.c:627: for each function it appears in.)
>
> Go to line 627 in an editor and change "irq" to be "dev->irq"
>
> The same build failure got introduced when this code was merged
> into the 2.5.x tree and I had to fix it there too.
thanks, it compiles nicely now.
Jurgen.
On Fri, 1 Mar 2002, David S. Miller wrote:
> From: Jurgen Philippaerts <[email protected]>
> Date: Fri, 01 Mar 2002 15:09:04 +0100
>
> hcd.c: In function `usb_hcd_pci_probe':
> hcd.c:627: `irq' undeclared (first use in this function)
> hcd.c:627: (Each undeclared identifier is reported only once
> hcd.c:627: for each function it appears in.)
>
> Go to line 627 in an editor and change "irq" to be "dev->irq"
>
> The same build failure got introduced when this code was merged
> into the 2.5.x tree and I had to fix it there too.
Fixed in my tree.