to find out Unresolved symbel when I insert device driver?

From: somez72 (somez72_at_chollian.net)
Date: 01/29/04

  • Next message: Cristian Wilckens: "Implementing messages using pthreads"
    Date: Thu, 29 Jan 2004 03:06:52 -0800
    
    

    Hello.

    I have a device driver module souce.
     1) in red hat 9.0. ( kernel version 2.4.20 ), module compile is OK and it
    seems like working

        well.(produced xxyy_module.o )

      just when I issue insmod xxyy_module.o , I got warning.

      "Warning: loading xxyy_moudule.o will taint the kernel: no license"
      "See http://www.tux.org/lkml/#export-tained for information about tained
    modules"
      "Module xxyy_module.o loaded, with warnings"

     2) in my new installed kernel ( kernel version 2.4.18), compile is
    OK(produced xxyy_module.o)
      but when I issue insmode xxy_module.o , I got error message as follows.

      "xxyy_module.o: unresolved symbol register_chrdev_Re70f806e"
      "xxyy_module.o: unresolved sysbol irq_stat_Rc0ba6f96"

     I want to export "register_chrdev_Re70f806e and irq_stat_Rc0ba6f96 "
    function,
      for exporting, I searched all kernel tree ( in above kernel 2.4.20) to
    find out prototype of two functions.
     ( grep -rn register_chrdev_Re70f806e / && grep -rn irq_stat_Rc0ba6f96 / ).
      I searched every direcotory under / , and I just found a number of Binary
    file matches
     (for example : /lib/modules/kernel/drives/pcmcia/ps.o ...... )

     I cant't find function prototype of it,
     Could someone help?, How can I find out prototype of that unresolved
    funtions.

     How can I accept(understand) this sistuation? there is no prototype of
    funtion?? is thre No Way to solve it?

     *ps) I should use 2.4.18 kernel even if it older than 2.4.20. because I had
    patched in kernel-2.4.18 sevral times for my special purpose.

    Have a day.
    Thank you.


  • Next message: Cristian Wilckens: "Implementing messages using pthreads"

    Relevant Pages

    • Re: insmod.old says "Im not the old version"
      ... Kernel requires old insmod, but couldn't run insmod.old: ... arabis:/home/fra# lsmod ... WARNING: insmod.old: I am not the old version! ...
      (Debian-User)
    • Possible Kernel Bug in tunnel interface and iptables in 2.4.22
      ... Our database slaves panic with a kernel oops when receiving packets via ... Kernel config, ksymoops ... Warning: You did not tell me where to find symbol information. ... # Loadable module support ...
      (Linux-Kernel)
    • 2.4.x oops with X
      ... I'm getting oopses with kernel 2.4.x (kernel ... Warning: You did not tell me where to find symbol information. ... mismatch on symbol vg, lvm-mod says e0905680, ... # Software Suspend support ...
      (Linux-Kernel)
    • kernel warning on list_del corruption
      ... Then I got warning, is there anything wrong on this warning? ... My kernel config is attached, ... Hardware name: OptiPlex 760 ... # CAN Device Drivers ...
      (Linux-Kernel)
    • kernel-2.6.0-test9 compile issue
      ... In the 2.4.xx series kernel, ... aicasm_symbol.c:63: warning: data definition has no type or storage class ... aicasm_gram.tab.c:3055: warning: previous implicit declaration of `yyerror' ...
      (Debian-User)