How to compile SUSE linux module

Discussion in 'HOWTO-Related Questions' started by attawee, Oct 29, 2007.

  1. attawee

    attawee New Member

    Dear All,

    I have trouble compiling linux network adaptor driver. I modified part of the driver source code to match my maching hardware.

    I use makefile from /usr/src/linux- and use config from /boot.

    I got error message as make activates

    "gcc ....... -m elf_i386 drivers/net/sis190.c -o drivers/net/sis190"

    error message was that it does not recognise "-m" option.

    Can any one help me regarding this compile error ?. Thanks.

  2. falko

    falko Super Moderator ISPConfig Developer

    Not sure, but maybe you need another GCC version?
  3. attawee

    attawee New Member


    I tried "make modules", it worked. But it took a long time to compile all modules. I got the module I want, but how can I compile a particular module ?.

Share This Page