Posts: 8
Threads: 1
Joined: Feb 2004
Reputation:
0
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
1) Copy the file /Linux/3c2000.tar.gz from the 3Com driver CD to
your hard drive.
2) Change to the directory containing 3c2000.tar.gz
3) Type 'tar zxvf 3c2000.tar.gz'
4) Type 'cd 3c2000'
5). Type 'make load'
6) Cant quite remember where it was, think it was in /etc you need to find modules.conf and add in the line
'alias eth0 3c2000'
7) Do a 'ifconfig eth0 up'
Double check by looking in X - in the network prefs that its there if it aint add it and you'll see 3c2000 there to add then press activate.
thats how i did mine anyways.
That was from 'Dave' too, I forgot to login lol
Posts: 391
Threads: 83
Joined: Dec 2003
Reputation:
0
you need to install the development tools such as GCC. also if you don't have source of your current kernel version. you can get it via apt-get, the explaintion how to use it can be found on: [/url][url=<___base_url___>/index.php?showtopic=174][/url][url=<___base_url___>/index.php?showtopic=174]https://www.linux-noob.com/forums/index.php?showtopic=174
apt-get can get anything you want/needs
I.E, to get the GCC on your linux. use:
Code: su -
(enter password)
# apt-get install gcc
if it not working. you need to do is. apt-get update, then try install it, if it not found; you can use search by using: apt-cache search gcc.
Hope this help you.
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
Probably beucase I was not able to update, probably due the fact that I don't have a net connection in Red Hat becuase I can't get my drivers to work. What now? :)
Posts: 8
Threads: 1
Joined: Feb 2004
Reputation:
0
Posts: 8
Threads: 1
Joined: Feb 2004
Reputation:
0
ok I'm going back and installing development tools. A friend of mine said that's what I needed. So we shall see if it works. Thanks for all of your help so far.
Posts: 8
Threads: 1
Joined: Feb 2004
Reputation:
0
2004-02-23, 03:58 AM
(This post was last modified: 2004-02-23, 03:59 AM by ZipCrash.)
ok that worked....kinda....here's the messages
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]#
Posts: 8
Threads: 1
Joined: Feb 2004
Reputation:
0
yay it's working. My friend told me that I needed the linux source to be in that one dir so I downloaded that and when I installed the dev tools it put the source in there so I had two. I just deleted the one I donwloaded and it compiled. Then I did what Guest_Dave ( ;) ) said and now it works! Yay! :)Thanks for all the help.
Posts: 8
Threads: 1
Joined: Feb 2004
Reputation:
0
ok I can't access some sites such as google.com
|