2004-02-22, 10:59 PM
I just installed Red Hat 9. I'm trying to install my network card driver. Here is what the readme says:
Quote:3Com Gigabit NIC (3C2000) Driver Readme Version A02Copyright
Quote:3Com Gigabit NIC (3C2000) Driver Readme Version A02Copyright
su -
(enter password)
# apt-get install gcc
Quote:Package gcc has no available version, but exists in the database.This typically means that the package was mentioned in the dependency and
never uploaded, has been obsoleted or is not available with the contents of the sources.list
E: Package gcc has no installation candidate
Quote:[root@localhost root]# cd 3c2000[root@localhost 3c2000]# make load
gcc: /usr/src/linux/include/linux/version.h: No such file or directory
gcc: no input files
gcc: /usr/src/linux/include/linux/autoconf.h: No such file or directory
gcc: no input files
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -DMODULE -I. -DSK_USE_CSUM -I /us
r/src/linux/include -c -o skge.o skge.c
In file included from /usr/src/linux/include/linux/config.h:4,
from /usr/src/linux/include/linux/module.h:10,
from skge.c:344:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in user
space
In file included from /usr/src/linux/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/src/linux/include/linux/spinlock.h:6,
from /usr/src/linux/include/linux/module.h:11,
from skge.c:344:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not avail
able on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in users
pace: atomicity not guaranteed
In file included from /usr/src/linux/include/linux/module.h:25,
from skge.c:344:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userlan
d program. BAD!
In file included from /usr/src/linux/include/linux/dcache.h:7,
from /usr/src/linux/include/linux/fs.h:19,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/mount.h: In function `mntget':
/usr/src/linux/include/linux/mount.h:37: warning: implicit declaration of functi
on `atomic_inc'
/usr/src/linux/include/linux/mount.h: In function `mntput':
/usr/src/linux/include/linux/mount.h:46: warning: implicit declaration of functi
on `atomic_dec_and_test'
In file included from /usr/src/linux/include/linux/ext3_fs_i.h:19,
from /usr/src/linux/include/linux/fs.h:301,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/rwsem.h: In function `down_read':
/usr/src/linux/include/linux/rwsem.h:46: warning: implicit declaration of functi
on `__down_read'
/usr/src/linux/include/linux/rwsem.h: In function `down_read_trylock':
/usr/src/linux/include/linux/rwsem.h:57: warning: implicit declaration of functi
on `__down_read_trylock'
/usr/src/linux/include/linux/rwsem.h: In function `down_write':
/usr/src/linux/include/linux/rwsem.h:68: warning: implicit declaration of functi
on `__down_write'
/usr/src/linux/include/linux/rwsem.h: In function `down_write_trylock':
/usr/src/linux/include/linux/rwsem.h:79: warning: implicit declaration of functi
on `__down_write_trylock'
/usr/src/linux/include/linux/rwsem.h: In function `up_read':
/usr/src/linux/include/linux/rwsem.h:90: warning: implicit declaration of functi
on `__up_read'
/usr/src/linux/include/linux/rwsem.h: In function `up_write':
/usr/src/linux/include/linux/rwsem.h:100: warning: implicit declaration of funct
ion `__up_write'
In file included from /usr/src/linux/include/linux/fs.h:301,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/ext3_fs_i.h: At top level:
/usr/src/linux/include/linux/ext3_fs_i.h:75: field `truncate_sem' has incomplete
type
In file included from /usr/src/linux/include/linux/fs.h:302,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/hpfs_fs_i.h:19: field `i_sem' has incomplete type
In file included from /usr/src/linux/include/linux/fs.h:309,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/affs_fs_i.h:27: field `i_link_lock' has incomplete
type
/usr/src/linux/include/linux/affs_fs_i.h:28: field `i_ext_lock' has incomplete t
ype
In file included from /usr/src/linux/include/linux/fs.h:322,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/ncp_fs_i.h:22: field `open_sem' has incomplete type
In file included from /usr/src/linux/include/linux/fs.h:325,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/jffs2_fs_i.h:26: field `sem' has incomplete type
In file included from /usr/src/linux/include/linux/fs.h:377,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from skge.c:346:
/usr/src/linux/include/linux/quota.h:282: field `dqio_sem' has incomplete type
/usr/src/linux/include/linux/quota.h:283: field `dqoff_sem' has incomplete type
/usr/src/linux/include/linux/quota.h:301: confused by earlier errors, bailing ou
t
make: *** [skge.o] Error 1
[root@localhost 3c2000]#