driver compilation, was the compilation successful? - Questions

This is a discussion on driver compilation, was the compilation successful? - Questions ; I am trying compile and install driver for my wireless card Dlink DWL 520 with rtl8180 chipset on Mandrake 9.2 I cannot get it done and this is the first time I compiles something, so can anyone please have a ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: driver compilation, was the compilation successful?

  1. driver compilation, was the compilation successful?

    I am trying compile and install driver for my wireless card Dlink DWL
    520 with rtl8180 chipset on Mandrake 9.2 I cannot get it done and
    this is the first time I compiles something, so can anyone please have
    a look at 'make' output and tell me if it got compiled correctly?

    Thank you.

    [root@OAK rtl8180_1.5]# make
    gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I
    /usr/src/linux-2.4.22-10mdk/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN
    -DRTL_ACT_AS_STA -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT -c -o
    r8180_pci_init.o r8180_pci_init.c
    In file included from
    /usr/src/linux-2.4.22-10mdk/include/asm/semaphore.h:39,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/fs.h:204,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/capability.h:17,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/binfmts.h:5,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/sched.h:9,
    from r8180_pci_init.c:26:
    /usr/src/linux-2.4.22-10mdk/include/asm/system.h: In function
    `__set_64bit_var':
    /usr/src/linux-2.4.22-10mdk/include/asm/system.h:194: warning:
    dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux-2.4.22-10mdk/include/asm/system.h:194: warning:
    dereferencing type-punned pointer will break strict-aliasing rules
    In file included from r8180_pci_init.c:40:
    r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined
    :11:1: warning: this is the location of the previous
    definition
    gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I
    /usr/src/linux-2.4.22-10mdk/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN
    -DRTL_ACT_AS_STA -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT -c -o
    r8180_if.o r8180_if.c
    In file included from
    /usr/src/linux-2.4.22-10mdk/include/asm/semaphore.h:39,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/fs.h:204,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/capability.h:17,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/binfmts.h:5,
    from
    /usr/src/linux-2.4.22-10mdk/include/linux/sched.h:9,
    from r8180_if.c:27:
    /usr/src/linux-2.4.22-10mdk/include/asm/system.h: In function
    `__set_64bit_var':
    /usr/src/linux-2.4.22-10mdk/include/asm/system.h:194: warning:
    dereferencing type-punned pointer will break strict-aliasing rules
    /usr/src/linux-2.4.22-10mdk/include/asm/system.h:194: warning:
    dereferencing type-punned pointer will break strict-aliasing rules
    In file included from r8180_if.h:20,
    from r8180_if.c:43:
    r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined
    :11:1: warning: this is the location of the previous
    definition
    --- Generate open part open_part.o ---

    --- Generate rtl8180 linux driver rtl8180_24x.o on 2.4.22-10mdk ---

  2. Re: driver compilation, was the compilation successful?

    jimmy wrote:

    > a look at 'make' output and tell me if it got compiled correctly?


    .... looks fine to me - only warnings generated
    ..
    --
    << http://michaeljtobler.homelinux.com/ >>
    Blessed are they who Go Around in Circles,
    for they Shall be Known as Wheels.


+ Reply to Thread