Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I´m trying to integrate an IO driver (Meilhaus ME8100) into kernel sources (2.6.16.5). When I compile the kernel (incl. driver sources), I get the following error message: Code: drivers/built-in.o: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    1

    integrate driver into kernel sources


    Hi,

    I´m trying to integrate an IO driver (Meilhaus ME8100) into kernel sources (2.6.16.5).

    When I compile the kernel (incl. driver sources), I get the following error message:

    Code:
    drivers/built-in.o: In function `init_module':
    : undefined reference to `__this_module'
    drivers/built-in.o:(.data+0x3d80): undefined reference to `__this_module'
    make: *** [.tmp_vmlinux1] Fehler 1
    How I got there:
    - copied driver sources (me8100.c, me8100.h) to drivers/char/
    - inserted "obj-$(CONFIG_ME8100) += me8100.o" in file drivers/char/Makefile
    - created a config section in Kconfig file (config ME8100 ...)
    - make xconfig
    - make clean
    - make bzImage

    Compiling this driver as a module works fine.
    I guess something´s wrong with my driver code (but I´m not an expert). E.g I didn´t find the macros module_init and module_exit in me8100.c (inserting them doesn´t work either).

    The whole driver package can be downloaded at sourceforge: me8100-1.1.6.tar.gz
    or see the attachment

    would be great if you could help me

    cheers,
    seven7
    Attached Files Attached Files

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Posts
    2

    same problem

    Hi seven7,

    Even i got the same error. If you already got the solution plz share with me

    Thanks in advance

Posting Permissions

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