LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2008, 01:37 AM   #1
ilai
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Question make install error installing Attensic L2 Network Driver


I am trying to install an Attensic L2 Network Driver. I followed the instructions that came with the motherboard but still doesn't work for me. I am using a Fedora 8 distribution.

When I do a "make install" in the source folder I get the following errors. What am I missing?

[root@localhost Attansic]# cd l2-linux-v1.0.40.4
[root@localhost l2-linux-v1.0.40.4]# cd src/
[root@localhost src]# make install
make -C /lib/modules/2.6.23.1-42.fc8/build SUBDIRS=/root/Attansic/l2-linux-v1.0.40.4/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
CC [M] /root/Attansic/l2-linux-v1.0.40.4/src/at_main.o
/root/Attansic/l2-linux-v1.0.40.4/src/at_main.c: In function ‘at_intr_rx’:
/root/Attansic/l2-linux-v1.0.40.4/src/at_main.c:2081: error: implicit declaration of function ‘eth_copy_and_sum’
make[2]: *** [/root/Attansic/l2-linux-v1.0.40.4/src/at_main.o] Error 1
make[1]: *** [_module_/root/Attansic/l2-linux-v1.0.40.4/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
make: *** [default] Error 2


ilai
 
Old 09-22-2008, 06:50 AM   #2
shvnsen
Member
 
Registered: Sep 2008
Location: india
Distribution: redhat
Posts: 47

Rep: Reputation: 15
Quote:
Originally Posted by ilai View Post
I am trying to install an Attensic L2 Network Driver. I followed the instructions that came with the motherboard but still doesn't work for me. I am using a Fedora 8 distribution.

When I do a "make install" in the source folder I get the following errors. What am I missing?

[root@localhost Attansic]# cd l2-linux-v1.0.40.4
[root@localhost l2-linux-v1.0.40.4]# cd src/
[root@localhost src]# make install
make -C /lib/modules/2.6.23.1-42.fc8/build SUBDIRS=/root/Attansic/l2-linux-v1.0.40.4/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
CC [M] /root/Attansic/l2-linux-v1.0.40.4/src/at_main.o
/root/Attansic/l2-linux-v1.0.40.4/src/at_main.c: In function ‘at_intr_rx’:
/root/Attansic/l2-linux-v1.0.40.4/src/at_main.c:2081: error: implicit declaration of function ‘eth_copy_and_sum’
make[2]: *** [/root/Attansic/l2-linux-v1.0.40.4/src/at_main.o] Error 1
make[1]: *** [_module_/root/Attansic/l2-linux-v1.0.40.4/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
make: *** [default] Error 2


ilai

Hi,
This error generally comes when ur makefile file is not correct so either install it again or install from another link.
If u have any zip file then do the following commands
#tar zxf <driver.name>.tar.gz
#cd <driver name>
#make
#make install

I hope this helps you.
 
Old 09-28-2008, 09:36 AM   #3
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
Fedora 9 ships with the atl2 driver so you don't have to build your own. I don't know about your Fedora 8 kernel version, but with newer F8 kernels (2.6.25 and 2.6.26, at least), the atl2 driver is also present.

You can check to see if it's already in your kernel by running this command:

Code:
$ rpm -q --list kernel | grep atl2
Now to address your build error...

The driver you're trying to build is too old for your kernel. The kernel function "eth_copy_and_sum" was removed in kernel version 2.6.23 -- which is the kernel version you're using -- but your driver source contains a call to that function.

Go here and see if you can find a driver that builds for you.

http://people.redhat.com/csnook/atl2/

But again, I'm not sure you really need to build your own.
 
Old 01-23-2009, 11:59 AM   #4
squirrelist
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by jcliburn View Post
But again, I'm not sure you really need to build your own.
I too was having this problem, but understand why jcliburn needs to do this. I have an application that will only run under Fedora 8, and I'm installing it on a system that only has the atl2. I can't just upgrade to the new kernel for Fedora 8 because, well, I don't have working ethernet yet.

It took me a couple of hours this morning, but I finally figured it out, thanks to jcliburn's link.

I downloaded the latest driver, transferred it to the Linux machine with a USB drive, ran the Make command, and then I got stuck when I tried to run insmod. Apparently the sbin folder in Fedora 8 is not in the path, so you need to either add it or run /sbin/insmod followed by the location and name of the atl2.ko that was created during the Make command.

Then I had to enable and activate the ethernet card using the networking tools in Gnome and then run the system updater.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install network card driver error loplayers Linux - Hardware 2 12-26-2007 07:36 AM
command make install for installing driver loader is not accepted forrehmmnd Linux - Wireless Networking 15 08-05-2006 10:06 AM
iBurst driver install make error 2 Ubuntu 2.6.10 linux Young_Pilgrim Linux - Hardware 6 05-25-2006 04:49 PM
installing orinoco_cs driver (make error) Xoom Linux - Newbie 2 06-09-2004 01:21 AM
modem driver make install error msg Daveb3 Linux - Hardware 0 12-24-2002 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration