Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13799 - 2.4.20-gentoo-r1 and 2.4.20-xfs_pre4 compile fails at 3c59x driver
Summary: 2.4.20-gentoo-r1 and 2.4.20-xfs_pre4 compile fails at 3c59x driver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 15:29 UTC by Simonics Zsolt
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simonics Zsolt 2003-01-12 15:29:37 UTC
Hi!

If I try to compile any of these kernels, this problem occurs:

make[3]: Entering directory `/usr/src/linux-2.4.20-xfs_pre4/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs_pre4/include  -Wall
-Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -Os  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=3c59x  -c -o 3c59x.o 3c59x.c
3c59x.c:133:22: pci-scan.h: No such file or directory
3c59x.c:134:25: kern_compat.h: No such file or directory
3c59x.c:281: elements of array `pci_tbl' have incomplete type
3c59x.c:282: warning: excess elements in struct initializer
3c59x.c:282: warning: (near initialization for `pci_tbl[0]')
3c59x.c:282: extra brace group at end of initializer
.....
3c59x.c:2589: warning: implicit declaration of function `acpi_set_pwr_state'
3c59x.c:2589: `ACPI_D3' undeclared (first use in this function)
3c59x.c: At top level:
3c59x.c:372: storage size of `vortex_drv_id' isn't known
make[3]: *** [3c59x.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-xfs_pre4/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-xfs_pre4/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-xfs_pre4/drivers'
make: *** [_dir_drivers] Error 2

2.4.19-gentoo-r10 compiled and running fine now. (even if there is no pci-scan.h
and kernel_compat.h in 2.4.19-gentoo-r10 source)

Thanks for any help
Comment 1 Simonics Zsolt 2003-01-12 16:56:46 UTC
Oh, and vanilla 2.4.20 compiles without any problem.
Comment 2 Phil Richards 2003-01-12 17:20:57 UTC
Yep, same problem here.  This is a blocker.

phil

[...]
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r1/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -Os  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=3c59x  -c -o 3c59x.o 3c59x.c
3c59x.c:133:22: pci-scan.h: No such file or directory
3c59x.c:134:25: kern_compat.h: No such file or directory
[...]
Comment 3 Brandon Low (RETIRED) gentoo-dev 2003-01-12 17:50:44 UTC
dropped this patch in gentoo-sources still needs done to xfs-sources