Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-03-2003, 01:12 AM   #1
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Rep: Reputation: 30
Why the errors occur after I used "make" command?

Why the errors occur after I used "make" command?
I want to drive my RADTEK RTK8189C Based Fast Ethernet Card.
The Ethernet Card's driver has six files:
kern_compat.h; Makefile; pci-scan.c; pci-scan.h; RTK8189C.c; Readme.txt;
This is the Readme file:
RADTEK RTK8189C Based Fast Ethernet Card
Linux 2.4.X Driver Installation Guide
Installation Procedure
1. Make network adapter driver modules
touch *
make clean
*Under some distribution, such as SuSe 7.2 and BluePoint 2.0, there is no version.h.
You have to run "make config" or "make menuconfig" at /usr/src/linux to create it.
**If you are using Mandrake 8.0 and you have problems when insmod the dirver, please
remove "-DMODVERSIONS" option from makefile.
***On SMP system, the driver may NOT work well. The bug will be fixed in the future.
***On SMP system, the driver may NOT work well. The bug will be fixed in the future.
2. Insert network adapter driver modules
insmod pciscan.o
insmod RTK8189C.o
After I used "make" command, the errors occur:
usr/include/linux/string.h:8:2: warning:#warning Using kernel header in userhand!
usr/include/asm/bitops.h:333:2: warning:#warning this includefile in not available on all architectures.
usr/include/asm/bitops.h:334:2: warning:#warning Using kernel header in userhand!
usr/include/asm/signal.h:107: parse error before "sigset_t"
usr/include/asm/signal.h:110: parse error before "}" token.
usr/include/linux/timer.h:45: parse error before "spinlock_t"
usr/include/linux/timer.h:53: parse error before "}" token"
usr/include/linux/timer.h:67: parse error before "tvec_base_t"
usr/include/linux/timer.h:101: parse error before "tvec_bases"
usr/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h
pci-scan.c: In funtion 'pci_drv_register':
pci-scan.c:149: warning: implicit declaration of funtion 'pci_find_class'
pci-scan.c:149: warning: assignment makes pointer from integer without a cast
pci-scan.c:157: warning: implicit declaration of funtion 'pci_read_config_dword'
pci-scan.c:163: warning: implicit declaration of funtion 'printk'
make ***[pci-scan.o] Error 1
It is not a famous and very good Ethernet Card.
Because the errors' information is very heavy,
so I have posted the pictures on the websit:
Please go to the fifth post, there are three pictures.
This is a Chinese website, but I use Chinese and English to explain the meaning.
Thank you.

Last edited by Xiangbuilder; 04-03-2003 at 02:43 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
Errors Trying to "make menuconfig" kernel-source-2.6.10 Royle Debian 2 02-14-2005 06:53 AM
"make-kpkg --revision=foo.1.0 kernel_image" gives some errors (kernel 2.6.3) Duukkis Debian 14 05-23-2004 03:58 AM
WPC11 Ver4 and "Make" errors. plz help JRR Linux - Hardware 4 05-22-2004 05:08 PM
What the? "make nvnet" gives strange errors on A7N8X-VM. Dunedain Linux - Newbie 1 02-03-2004 07:49 AM

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

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