Find the answer to your Linux question:
Results 1 to 10 of 10
I am trying to install a driver for my ethernet, and i got the latest linux driver form http://www.realtek.com.tw/downloads/...&Software=True . and how do i run the make file? Edit: Hell, ...
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    6

    Quick Question



    I am trying to install a driver for my ethernet, and i got the latest linux driver form http://www.realtek.com.tw/downloads/...&Software=True. and how do i run the make file?

    Edit: Hell, i can't make heads or tails of the readme either.

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Location
    Indiana
    Posts
    18
    I think that you have to download it and sometimes I just click open on the download screen.

    I know I'm a book full o f wisdom.

  3. #3
    Just Joined!
    Join Date
    Oct 2005
    Location
    Mass
    Posts
    52

    Re: Quick Question

    Quote Originally Posted by rohit507
    I am trying to install a driver for my ethernet, and i got the latest linux driver form http://www.realtek.com.tw/downloads/...&Software=True. and how do i run the make file?

    Edit: Hell, i can't make heads or tails of the readme either.
    to run the make file cd into the directory where you unziped and type make.. if you don't have make then download and install the make package from you're distro

    according the the description on the site it's designed for the 2.4.x kernel .. if you have a 2.6.x kernel it might not work but give it the old college try and i'll be crossing my fingers for you

    what distro are you using?

  4. #4
    Just Joined!
    Join Date
    Oct 2005
    Posts
    6
    Mandrake Power pakc 2006
    i'm sorry i didn't put it into my profile, it's there now.
    and i tried puting the driver.c fileinto the specified dirctory, and then running the make file, but it didn't work.

  5. #5
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    What errors did you get? Did the downloaded file not come with a README or INSTALL?

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  6. #6
    Just Joined!
    Join Date
    Oct 2005
    Posts
    6
    YEs it came with a readme;
    Code:
    8139too.c release note
    2001/10/31 by ShuChen Shao
    
    1.This driver was originally based on 8139too.c version "0.9.15".
    	
    2.It has been enhanced to support RTL8139C+ PCI ethernet controller.
    
    3.RTL8139C+ PCI ethernet chips is set to support C+ mode by default.
      If FORCE_C_Mode below is enabled, the RTL8139C+ chip will be forced to support C mode 
      after reboot.
    
    
    4.This program can be compiled using the attached Makefile.
      Please remember to SPECIFY "NEW_INCLUDE_PATH" in Makefile according to your linux environment.
      The object file named 8139too.o should be moved to the directory 
      /lib/modules/<linux-version>/kernel/drivers/net/
      The driver could be brought up by the following steps&#58;
    	'insmod 8139too'
    	'ifconfig eth0 up'
    
    5.It can support Auto-Negotiation ability,that is
    	10-half	 0x01
    	10-full	 0x02
    	100-half 0x04
    	100-full 0x08
      If 10-half mode is expected, it can be achieved by the following steps&#58;
    	#ifconfig eth0 down
    	#rmmod 8139too
    	#insmod 8139too media=0x01
    
    6.If the "Install Type", selected during the Linux install procedure, is "laptop",
      this driver can work normally for CardBus application without any modification.
      Otherwise, reinstall Linux and select "Install Type" as "laptop". 
      Then this driver can also work.
    
    ---------------------------------------------------------------------------------------
    8139too.c version 1.5.0 release note
    2003/3/4 by ShuChen  Shao
    
    1.Add flag in Makefile to specify access type to operation register on PCI
    ethernet chips.
    i tried to follow the instructions.
    but i dont understand what it mesns by "include path"
    here is the makefile.
    Code:
    # Makefile for a basic kernel module
    
    # ----------------------------------------------------------------------------------------------------
    # This flag specifies access type to operation register on PCI ethernet chips.
    # If you apply 8139/8139CP ethernet controller via cardbus interface on linux distribution Red Hat 7.3
    # please turn on this macro.
    # ----------------------------------------------------------------------------------------------------
    #RTL_MEM_ACCESS = USE_IO_OPS
    RTL_MEM_ACCESS = USE_MEM_OPS
    
    
    # ----------------------------------------------------------------------------------------------------
    # Please specify the include path according to your kernel.
    # ----------------------------------------------------------------------------------------------------
    NEW_INCLUDE_PATH = /usr/src/linux-2.4.20-8/include/
    
    # ----------------------------------------------------------------------------------------------------
    # GNU C compiler and its flags
    # ----------------------------------------------------------------------------------------------------
    CC=gcc
    MODCFLAGS &#58;= -O6 -Wall -DCONFIG_KERNELD -DMODULE -D__KERNEL__ -DLINUX -D$&#123;RTL_MEM_ACCESS&#125;
    
    
    
    all&#58; 8139too
    
    8139too&#58;	8139too.c /usr/include/linux/version.h
    		$&#40;CC&#41; $&#40;MODCFLAGS&#41; -I$&#40;NEW_INCLUDE_PATH&#41; -c 8139too.c -o $@.o

  7. #7
    Just Joined!
    Join Date
    Oct 2005
    Posts
    6
    sorry i clicked post twice

  8. #8
    Just Joined!
    Join Date
    Oct 2005
    Location
    Mass
    Posts
    52
    Quote Originally Posted by rohit507
    YEs it came with a readme;
    Code:
    NEW_INCLUDE_PATH = /usr/src/linux-2.4.20-8/include/
    it's safe to say this hardware's linux software isn't for people new to building kernel modules

    see that NEW_INLCUDE_PATH variable up there? it's given a pathname to you're linux header files... now, that path assumes you're kernel version is linux-2.4.20-8.. that's probably not your kernel version

    in order to access the correct directory you can retrive you're kernel version by
    Code:
    uname -r
    whatever gets spit out by that command is what you should replace that section of the path
    for example, what I get on my box is
    Code:
    $ uname -r
    2.6.12-9-686-smp
    and i would change that line to
    Code:
    NEW_INCLUDE_PATH = /usr/src/2.6.12-9-686-smp/include/
    but, if it still doesn't work then you need to download and install the headers from you're distro.. i believe you use rpmdrake(?).. use that to find and install you're kernel headers

    hope that helps a little and it didn't lose you too much

  9. #9
    Just Joined!
    Join Date
    Oct 2005
    Posts
    6
    TRIED THAT DIDN'T WORK
    (sorry about caps lock)
    here is the big long monstrosity of an error


    Code:
    2.6.12-12mdksmp
    &#91;rohit507@localhost ~&#93;$ cd /tmp/linux24x-8139cp\&#40;160\&#41;/
    &#91;rohit507@localhost linux24x-8139cp&#40;160&#41;&#93;$ make
    gcc -O6 -Wall -DCONFIG_KERNELD -DMODULE -D__KERNEL__ -DLINUX -DUSE_MEM_OPS -I/usr/src/2.6.12-12mdksmp/kernel/drivers/net/ -c 8139too.c -o 8139too.o
    In file included from /usr/include/linux/sched.h&#58;14,
                     from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/linux/cpumask.h&#58;85&#58; error&#58; syntax error before 'DECLARE_BITMAP'
    /usr/include/linux/cpumask.h&#58;86&#58; error&#58; syntax error before '_unused_cpumask_arg_'
    /usr/include/linux/cpumask.h&#58;89&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpu_set'&#58;
    /usr/include/linux/cpumask.h&#58;91&#58; error&#58; 'cpu' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;91&#58; error&#58; &#40;Each undeclared identifier is reported only once
    /usr/include/linux/cpumask.h&#58;91&#58; error&#58; for each function it appears in.&#41;
    /usr/include/linux/cpumask.h&#58;91&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;95&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpu_clear'&#58;
    /usr/include/linux/cpumask.h&#58;97&#58; error&#58; 'cpu' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;97&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;101&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_setall'&#58;
    /usr/include/linux/cpumask.h&#58;103&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;103&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;107&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_clear'&#58;
    /usr/include/linux/cpumask.h&#58;109&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;109&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;116&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/cpumask.h&#58; In function '__cpu_test_and_set'&#58;
    /usr/include/linux/cpumask.h&#58;118&#58; error&#58; 'cpu' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;118&#58; error&#58; 'addr' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;122&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_and'&#58;
    /usr/include/linux/cpumask.h&#58;125&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;125&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;125&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;125&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;129&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_or'&#58;
    /usr/include/linux/cpumask.h&#58;132&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;132&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;132&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;132&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;136&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_xor'&#58;
    /usr/include/linux/cpumask.h&#58;139&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;139&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;139&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;139&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;144&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_andnot'&#58;
    /usr/include/linux/cpumask.h&#58;147&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;147&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;147&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;147&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;151&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_complement'&#58;
    /usr/include/linux/cpumask.h&#58;154&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;154&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;154&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;158&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_equal'&#58;
    /usr/include/linux/cpumask.h&#58;161&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;161&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;161&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;165&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_intersects'&#58;
    /usr/include/linux/cpumask.h&#58;168&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;168&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;168&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;172&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_subset'&#58;
    /usr/include/linux/cpumask.h&#58;175&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;175&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;175&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;179&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_empty'&#58;
    /usr/include/linux/cpumask.h&#58;181&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;181&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;185&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_full'&#58;
    /usr/include/linux/cpumask.h&#58;187&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;187&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;191&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_weight'&#58;
    /usr/include/linux/cpumask.h&#58;193&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;193&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;198&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_shift_right'&#58;
    /usr/include/linux/cpumask.h&#58;201&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;201&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;201&#58; error&#58; 'n' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;201&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;206&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpus_shift_left'&#58;
    /usr/include/linux/cpumask.h&#58;209&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;209&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;209&#58; error&#58; 'n' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;209&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;213&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__first_cpu'&#58;
    /usr/include/linux/cpumask.h&#58;215&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;215&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;219&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__next_cpu'&#58;
    /usr/include/linux/cpumask.h&#58;221&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;221&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;221&#58; error&#58; 'n' undeclared &#40;first use in this function&#41;
    In file included from /usr/include/linux/sched.h&#58;14,
                     from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/linux/cpumask.h&#58;238&#58;5&#58; error&#58; missing binary operator before token "&#40;"
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;270&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpumask_scnprintf'&#58;
    /usr/include/linux/cpumask.h&#58;272&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;272&#58; error&#58; 'len' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;272&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;272&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;278&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/cpumask.h&#58; In function '__cpumask_parse'&#58;
    /usr/include/linux/cpumask.h&#58;280&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;280&#58; error&#58; 'len' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;280&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;280&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;286&#58; error&#58; syntax error before '*' token
    /usr/include/linux/cpumask.h&#58; In function '__cpulist_scnprintf'&#58;
    /usr/include/linux/cpumask.h&#58;288&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;288&#58; error&#58; 'len' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;288&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;288&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;292&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/cpumask.h&#58; In function '__cpulist_parse'&#58;
    /usr/include/linux/cpumask.h&#58;294&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;294&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;294&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/cpumask.h&#58;297&#58;5&#58; error&#58; missing binary operator before token "&#40;"
    /usr/include/linux/cpumask.h&#58; At top level&#58;
    /usr/include/linux/cpumask.h&#58;362&#58; error&#58; syntax error before 'cpu_possible_map'
    /usr/include/linux/cpumask.h&#58;363&#58; error&#58; syntax error before 'cpu_online_map'
    /usr/include/linux/cpumask.h&#58;364&#58; error&#58; syntax error before 'cpu_present_map'
    /usr/include/linux/cpumask.h&#58;366&#58;5&#58; error&#58; missing binary operator before token "&#40;"
    In file included from /usr/include/linux/sched.h&#58;16,
                     from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/linux/nodemask.h&#58;85&#58; error&#58; syntax error before 'DECLARE_BITMAP'
    /usr/include/linux/nodemask.h&#58;86&#58; error&#58; syntax error before '_unused_nodemask_arg_'
    /usr/include/linux/nodemask.h&#58;89&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__node_set'&#58;
    /usr/include/linux/nodemask.h&#58;91&#58; error&#58; 'node' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;91&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;95&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__node_clear'&#58;
    /usr/include/linux/nodemask.h&#58;97&#58; error&#58; 'node' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;97&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;101&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_setall'&#58;
    /usr/include/linux/nodemask.h&#58;103&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;103&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;107&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_clear'&#58;
    /usr/include/linux/nodemask.h&#58;109&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;109&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;117&#58; error&#58; syntax error before 'nodemask_t'
    /usr/include/linux/nodemask.h&#58; In function '__node_test_and_set'&#58;
    /usr/include/linux/nodemask.h&#58;119&#58; error&#58; 'node' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;119&#58; error&#58; 'addr' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;124&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_and'&#58;
    /usr/include/linux/nodemask.h&#58;127&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;127&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;127&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;127&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;132&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_or'&#58;
    /usr/include/linux/nodemask.h&#58;135&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;135&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;135&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;135&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;140&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_xor'&#58;
    /usr/include/linux/nodemask.h&#58;143&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;143&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;143&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;143&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;148&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_andnot'&#58;
    /usr/include/linux/nodemask.h&#58;151&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;151&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;151&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;151&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;156&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_complement'&#58;
    /usr/include/linux/nodemask.h&#58;159&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;159&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;159&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;164&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_equal'&#58;
    /usr/include/linux/nodemask.h&#58;167&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;167&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;167&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;172&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_intersects'&#58;
    /usr/include/linux/nodemask.h&#58;175&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;175&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;175&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;180&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_subset'&#58;
    /usr/include/linux/nodemask.h&#58;183&#58; error&#58; 'src1p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;183&#58; error&#58; 'src2p' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;183&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;187&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_empty'&#58;
    /usr/include/linux/nodemask.h&#58;189&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;189&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;193&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_full'&#58;
    /usr/include/linux/nodemask.h&#58;195&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;195&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;199&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_weight'&#58;
    /usr/include/linux/nodemask.h&#58;201&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;201&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;206&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_shift_right'&#58;
    /usr/include/linux/nodemask.h&#58;209&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;209&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;209&#58; error&#58; 'n' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;209&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;214&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodes_shift_left'&#58;
    /usr/include/linux/nodemask.h&#58;217&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;217&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;217&#58; error&#58; 'n' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;217&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;224&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__first_node'&#58;
    /usr/include/linux/nodemask.h&#58;226&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;230&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__next_node'&#58;
    /usr/include/linux/nodemask.h&#58;232&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;232&#58; error&#58; 'n' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;248&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__first_unset_node'&#58;
    /usr/include/linux/nodemask.h&#58;250&#58; error&#58; 'maskp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;283&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodemask_scnprintf'&#58;
    /usr/include/linux/nodemask.h&#58;285&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;285&#58; error&#58; 'len' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;285&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;285&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;291&#58; error&#58; syntax error before 'nodemask_t'
    /usr/include/linux/nodemask.h&#58; In function '__nodemask_parse'&#58;
    /usr/include/linux/nodemask.h&#58;293&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;293&#58; error&#58; 'len' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;293&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;293&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;299&#58; error&#58; syntax error before '*' token
    /usr/include/linux/nodemask.h&#58; In function '__nodelist_scnprintf'&#58;
    /usr/include/linux/nodemask.h&#58;301&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;301&#58; error&#58; 'len' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;301&#58; error&#58; 'srcp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;301&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;305&#58; error&#58; syntax error before 'nodemask_t'
    /usr/include/linux/nodemask.h&#58; In function '__nodelist_parse'&#58;
    /usr/include/linux/nodemask.h&#58;307&#58; error&#58; 'buf' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;307&#58; error&#58; 'dstp' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58;307&#58; error&#58; 'nbits' undeclared &#40;first use in this function&#41;
    /usr/include/linux/nodemask.h&#58; At top level&#58;
    /usr/include/linux/nodemask.h&#58;326&#58; error&#58; syntax error before 'node_online_map'
    /usr/include/linux/nodemask.h&#58;327&#58; error&#58; syntax error before 'node_possible_map'
    In file included from /usr/include/linux/list.h&#58;7,
                     from /usr/include/linux/wait.h&#58;23,
                     from /usr/include/asm/semaphore.h&#58;41,
                     from /usr/include/linux/sched.h&#58;19,
                     from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/linux/prefetch.h&#58; In function 'prefetch_range'&#58;
    /usr/include/linux/prefetch.h&#58;64&#58; error&#58; 'CONFIG_X86_L1_CACHE_SHIFT' undeclared &#40;first use in this function&#41;
    In file included from /usr/include/asm/siginfo.h&#58;4,
                     from /usr/include/linux/signal.h&#58;7,
                     from /usr/include/linux/sched.h&#58;27,
                     from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/asm-generic/siginfo.h&#58; At top level&#58;
    /usr/include/asm-generic/siginfo.h&#58;58&#58; error&#58; size of array '_pad' is too large
    In file included from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/linux/sched.h&#58;162&#58; error&#58; syntax error before 'nohz_cpu_mask'
    In file included from /usr/include/linux/module.h&#58;9,
                     from 8139too.c&#58;107&#58;
    /usr/include/linux/sched.h&#58;252&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/sched.h&#58;273&#58; error&#58; syntax error before '&#125;' token
    /usr/include/linux/sched.h&#58;600&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/sched.h&#58;624&#58; error&#58; syntax error before '&#58;' token
    /usr/include/linux/sched.h&#58;665&#58; error&#58; syntax error before '&#58;' token
    /usr/include/linux/sched.h&#58;750&#58; error&#58; syntax error before '&#125;' token
    /usr/include/linux/sched.h&#58; In function 'process_group'&#58;
    /usr/include/linux/sched.h&#58;754&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'pid_alive'&#58;
    /usr/include/linux/sched.h&#58;767&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; At top level&#58;
    /usr/include/linux/sched.h&#58;830&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/sched.h&#58; In function 'set_cpus_allowed'&#58;
    /usr/include/linux/sched.h&#58;832&#58; error&#58; 'new_mask' undeclared &#40;first use in this function&#41;
    /usr/include/linux/sched.h&#58; In function 'dequeue_signal_lock'&#58;
    /usr/include/linux/sched.h&#58;935&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58;937&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'on_sig_stack'&#58;
    /usr/include/linux/sched.h&#58;977&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58;977&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'sas_ss_flags'&#58;
    /usr/include/linux/sched.h&#58;982&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'capable'&#58;
    /usr/include/linux/sched.h&#58;993&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58;994&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'mmdrop'&#58;
    /usr/include/linux/sched.h&#58;1017&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; At top level&#58;
    /usr/include/linux/sched.h&#58;1033&#58; error&#58; 'exit_signal' redeclared as different kind of symbol
    /usr/include/linux/sched.h&#58;620&#58; error&#58; previous declaration of 'exit_signal' was here
    /usr/include/linux/sched.h&#58; In function 'thread_group_empty'&#58;
    /usr/include/linux/sched.h&#58;1096&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'task_lock'&#58;
    /usr/include/linux/sched.h&#58;1114&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'task_unlock'&#58;
    /usr/include/linux/sched.h&#58;1119&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'set_tsk_thread_flag'&#58;
    /usr/include/linux/sched.h&#58;1127&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'clear_tsk_thread_flag'&#58;
    /usr/include/linux/sched.h&#58;1132&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'test_and_set_tsk_thread_flag'&#58;
    /usr/include/linux/sched.h&#58;1137&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'test_and_clear_tsk_thread_flag'&#58;
    /usr/include/linux/sched.h&#58;1142&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; In function 'test_tsk_thread_flag'&#58;
    /usr/include/linux/sched.h&#58;1147&#58; error&#58; dereferencing pointer to incomplete type
    /usr/include/linux/sched.h&#58; At top level&#58;
    /usr/include/linux/sched.h&#58;1250&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/sched.h&#58;1251&#58; error&#58; syntax error before 'cpumask_t'
    In file included from /usr/include/linux/module.h&#58;22,
                     from 8139too.c&#58;107&#58;
    /usr/include/asm/module.h&#58;60&#58;2&#58; error&#58; #error unknown processor family
    In file included from /usr/include/asm/pci.h&#58;7,
                     from /usr/include/linux/pci.h&#58;906,
                     from 8139too.c&#58;109&#58;
    /usr/include/linux/mm.h&#58; In function 'can_do_mlock'&#58;
    /usr/include/linux/mm.h&#58;566&#58; error&#58; dereferencing pointer to incomplete type
    In file included from /usr/include/linux/if_ether.h&#58;107,
                     from /usr/include/linux/netdevice.h&#58;29,
                     from 8139too.c&#58;112&#58;
    /usr/include/linux/skbuff.h&#58;30&#58;26&#58; error&#58; net/checksum.h&#58; No such file or directory
    In file included from /usr/include/linux/irq.h&#58;21,
                     from /usr/include/asm/hardirq.h&#58;6,
                     from /usr/include/linux/hardirq.h&#58;6,
                     from /usr/include/linux/interrupt.h&#58;11,
                     from /usr/include/linux/netdevice.h&#58;514,
                     from 8139too.c&#58;112&#58;
    /usr/include/asm/irq.h&#58;16&#58;25&#58; error&#58; irq_vectors.h&#58; No such file or directory
    In file included from /usr/include/asm/hardirq.h&#58;6,
                     from /usr/include/linux/hardirq.h&#58;6,
                     from /usr/include/linux/interrupt.h&#58;11,
                     from /usr/include/linux/netdevice.h&#58;514,
                     from 8139too.c&#58;112&#58;
    /usr/include/linux/irq.h&#58; At top level&#58;
    /usr/include/linux/irq.h&#58;49&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/irq.h&#58;70&#58; error&#58; 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here &#40;not in a function&#41;
    /usr/include/linux/irq.h&#58;70&#58; error&#58; requested alignment is not a constant
    /usr/include/linux/irq.h&#58;72&#58; error&#58; 'NR_IRQS' undeclared here &#40;not in a function&#41;
    In file included from /usr/include/linux/irq.h&#58;74,
                     from /usr/include/asm/hardirq.h&#58;6,
                     from /usr/include/linux/hardirq.h&#58;6,
                     from /usr/include/linux/interrupt.h&#58;11,
                     from /usr/include/linux/netdevice.h&#58;514,
                     from 8139too.c&#58;112&#58;
    /usr/include/asm/hw_irq.h&#58;28&#58; error&#58; 'NR_IRQ_VECTORS' undeclared here &#40;not in a function&#41;
    In file included from /usr/include/linux/hardirq.h&#58;6,
                     from /usr/include/linux/interrupt.h&#58;11,
                     from /usr/include/linux/netdevice.h&#58;514,
                     from 8139too.c&#58;112&#58;
    /usr/include/asm/hardirq.h&#58;13&#58; error&#58; requested alignment is not a constant
    In file included from /usr/include/linux/netdevice.h&#58;514,
                     from 8139too.c&#58;112&#58;
    /usr/include/linux/interrupt.h&#58;39&#58; error&#58; syntax error before 'cpumask_t'
    /usr/include/linux/interrupt.h&#58;45&#58; error&#58; syntax error before '&#125;' token
    In file included from 8139too.c&#58;112&#58;
    /usr/include/linux/netdevice.h&#58; In function 'netif_poll_disable'&#58;
    /usr/include/linux/netdevice.h&#58;871&#58; error&#58; dereferencing pointer to incomplete type
    In file included from 8139too.c&#58;117&#58;
    /usr/include/linux/version.h&#58;2&#58;2&#58; error&#58; #error "======================================================="
    /usr/include/linux/version.h&#58;3&#58;2&#58; error&#58; #error "You should not include /usr/include/&#123;linux,asm&#125;/ header"
    /usr/include/linux/version.h&#58;4&#58;2&#58; error&#58; #error "files directly for the compilation of kernel modules."
    /usr/include/linux/version.h&#58;5&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;6&#58;2&#58; error&#58; #error "glibc now uses kernel header files from a well-defined"
    /usr/include/linux/version.h&#58;7&#58;2&#58; error&#58; #error "working kernel version &#40;as recommended by Linus Torvalds&#41;"
    /usr/include/linux/version.h&#58;8&#58;2&#58; error&#58; #error "These files are glibc internal and may not match the"
    /usr/include/linux/version.h&#58;9&#58;2&#58; error&#58; #error "currently running kernel. They should only be"
    /usr/include/linux/version.h&#58;10&#58;2&#58; error&#58; #error "included via other system header files - user space"
    /usr/include/linux/version.h&#58;11&#58;2&#58; error&#58; #error "programs should not directly include <linux/*.h> or"
    /usr/include/linux/version.h&#58;12&#58;2&#58; error&#58; #error "<asm/*.h> as well."
    /usr/include/linux/version.h&#58;13&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;14&#58;2&#58; error&#58; #error "To build kernel modules please do the following&#58;"
    /usr/include/linux/version.h&#58;15&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;16&#58;2&#58; error&#58; #error " o Have the kernel sources installed"
    /usr/include/linux/version.h&#58;17&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;18&#58;2&#58; error&#58; #error " o Make sure that the symbolic link"
    /usr/include/linux/version.h&#58;19&#58;2&#58; error&#58; #error "   /lib/modules/`uname -r`/build exists and points to"
    /usr/include/linux/version.h&#58;20&#58;2&#58; error&#58; #error "   the matching kernel source directory"
    /usr/include/linux/version.h&#58;21&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;22&#58;2&#58; error&#58; #error " o Now copy /boot/vmlinuz.version.h to"
    /usr/include/linux/version.h&#58;23&#58;2&#58; error&#58; #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
    /usr/include/linux/version.h&#58;24&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;25&#58;2&#58; error&#58; #error " o When compiling, make sure to use the following"
    /usr/include/linux/version.h&#58;26&#58;2&#58; error&#58; #error "   compiler option to use the correct include files&#58;"
    /usr/include/linux/version.h&#58;27&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;28&#58;2&#58; error&#58; #error "   -I/lib/modules/`uname -r`/build/include"
    /usr/include/linux/version.h&#58;29&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;30&#58;2&#58; error&#58; #error "   instead of"
    /usr/include/linux/version.h&#58;31&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;32&#58;2&#58; error&#58; #error "   -I/usr/include/linux"
    /usr/include/linux/version.h&#58;33&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;34&#58;2&#58; error&#58; #error "   Please adjust the Makefile accordingly."
    /usr/include/linux/version.h&#58;35&#58;2&#58; error&#58; #error "======================================================="
    8139too.c&#58; In function 'rtl8139_init_board'&#58;
    8139too.c&#58;947&#58; warning&#58; implicit declaration of function 'init_etherdev'
    8139too.c&#58;947&#58; warning&#58; assignment makes pointer from integer without a cast
    8139too.c&#58;1002&#58; warning&#58; implicit declaration of function 'pci_request_regions'
    8139too.c&#58;1072&#58; error&#58; 'struct pci_dev' has no member named 'slot_name'
    8139too.c&#58;1073&#58; error&#58; 'struct pci_dev' has no member named 'slot_name'

  10. #10
    Just Joined!
    Join Date
    Oct 2005
    Location
    Mass
    Posts
    52
    Quote Originally Posted by rohit507
    TRIED THAT DIDN'T WORK
    (sorry about caps lock)
    here is the big long monstrosity of an error


    Code:
    In file included from 8139too.c&#58;117&#58;
    /usr/include/linux/version.h&#58;2&#58;2&#58; error&#58; #error "======================================================="
    /usr/include/linux/version.h&#58;3&#58;2&#58; error&#58; #error "You should not include /usr/include/&#123;linux,asm&#125;/ header"
    /usr/include/linux/version.h&#58;4&#58;2&#58; error&#58; #error "files directly for the compilation of kernel modules."
    /usr/include/linux/version.h&#58;5&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;6&#58;2&#58; error&#58; #error "glibc now uses kernel header files from a well-defined"
    /usr/include/linux/version.h&#58;7&#58;2&#58; error&#58; #error "working kernel version &#40;as recommended by Linus Torvalds&#41;"
    /usr/include/linux/version.h&#58;8&#58;2&#58; error&#58; #error "These files are glibc internal and may not match the"
    /usr/include/linux/version.h&#58;9&#58;2&#58; error&#58; #error "currently running kernel. They should only be"
    /usr/include/linux/version.h&#58;10&#58;2&#58; error&#58; #error "included via other system header files - user space"
    /usr/include/linux/version.h&#58;11&#58;2&#58; error&#58; #error "programs should not directly include <linux/*.h> or"
    /usr/include/linux/version.h&#58;12&#58;2&#58; error&#58; #error "<asm/*.h> as well."
    /usr/include/linux/version.h&#58;13&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;14&#58;2&#58; error&#58; #error "To build kernel modules please do the following&#58;"
    /usr/include/linux/version.h&#58;15&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;16&#58;2&#58; error&#58; #error " o Have the kernel sources installed"
    /usr/include/linux/version.h&#58;17&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;18&#58;2&#58; error&#58; #error " o Make sure that the symbolic link"
    /usr/include/linux/version.h&#58;19&#58;2&#58; error&#58; #error "   /lib/modules/`uname -r`/build exists and points to"
    /usr/include/linux/version.h&#58;20&#58;2&#58; error&#58; #error "   the matching kernel source directory"
    /usr/include/linux/version.h&#58;21&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;22&#58;2&#58; error&#58; #error " o Now copy /boot/vmlinuz.version.h to"
    /usr/include/linux/version.h&#58;23&#58;2&#58; error&#58; #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
    /usr/include/linux/version.h&#58;24&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;25&#58;2&#58; error&#58; #error " o When compiling, make sure to use the following"
    /usr/include/linux/version.h&#58;26&#58;2&#58; error&#58; #error "   compiler option to use the correct include files&#58;"
    /usr/include/linux/version.h&#58;27&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;28&#58;2&#58; error&#58; #error "   -I/lib/modules/`uname -r`/build/include"
    /usr/include/linux/version.h&#58;29&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;30&#58;2&#58; error&#58; #error "   instead of"
    /usr/include/linux/version.h&#58;31&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;32&#58;2&#58; error&#58; #error "   -I/usr/include/linux"
    /usr/include/linux/version.h&#58;33&#58;2&#58; error&#58; #error ""
    /usr/include/linux/version.h&#58;34&#58;2&#58; error&#58; #error "   Please adjust the Makefile accordingly."
    /usr/include/linux/version.h&#58;35&#58;2&#58; error&#58; #error "======================================================="
    it seems that the method bundled with your module (a simple makefile) only works for kernel versions 2.4.. you can try the steps listed above but that means you'll have to learn to edit the makefile afterwards, which means that you'll have to learn about gcc and such..

    which means that if you want to install you're module.. you'll have to learn a chunk of what it means to work in a unix system.. take it as a learning experience.. in my humble opinion: there is no better way to learn about something then to dive knee deep in it

    GOOD LUCK!

    http://cs.acadiau.ca/~jdiamond/comp2...torialGcc.html
    http://www.delorie.com/gnu/docs/make/make_toc.html
    http://www.tldp.org/LDP/lkmpg/2.6/html/book1.htm[/code]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •