lkml.org 
[lkml]   [2000]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: kernel_version needed, but can't be found
    Date
    On Thu, 20 Jan 2000 16:30:47 +0800, 
    Du Jinsong <jinsong@internetappliance.com> wrote:
    >#insmod -p module
    >#
    >which means it passes the probe.

    -p only checks real symbols, it does not check the automatically
    generated symbols like kernel_version and __this_module.

    >#insmod module
    >kerner_version needed, but can't be found
    >#insmod -f module
    >__this_module undefined
    >kernel_version needed, but can't be found

    #include <module.h>, no need for versions.h. Modules *must* be
    compiled with -DMODULE to expand kernel_version and __this_module. I
    suspect that your compile line is wrong, check how other modules are
    compiled.


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:0.020 / U:60.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site