Re: unresolved symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




hi,

i had some problems with the kernel...so installed linux and checked the
kernel for Loadable Module Support  and  tried the same example of
character driver code called scull

initially i got parse error for
inter_module_register()
inter_module_unregister()
inter_module_get()
inter_module_get_request()
try_inc_mod_count()

then i commented out these lines in linux/module.h file and the compiled
code...it was done

then i did insmod
but iam getting the same error

unresolved symbol register_chrdev

this time without any _Rfxxxxxxx

i also went  to the site

http://kernelnewbies.org/faq/index.php3#compmod

and as per it ,did make menuconfig , dep, bzIamge and tried on another
kernel but getting the same error...

it would be really helpful if you can tell where the problem is...

regards
Shifani



                                                                                                     
                    Amit Kucheria                                                                    
                    <amitk@ittc.ku.edu>           To:     Shifani.bose@lntinfotech.com               
                    Sent by:                      cc:     kernelnewbies@nl.linux.org                 
                    kernelnewbies-bounce@nl       Subject:     Re: unreoved symbols                  
                    .linux.org                                                                       
                                                                                                     
                                                                                                     
                    05/31/2002 02:18 PM                                                              
                                                                                                     
                                                                                                     




Are you compiling Module versions into the kernel?

(CONFIG_MODVERSIONS which can be found in Loadable Module Support in
menuconfig)

Sincerely,
Amit

On Fri, 31 May 2002 Shifani.bose@lntinfotech.com wrote:

> hi,
>
> i tried a example code for character device driver.
> the code got compiled but while loading the driver using insmod iam
getting
>
> unresolved symbol for register_chrdev_Rfxxxxxxx
>
> i checked the /proc/ksyms
> it contains a entry by name register_chrdev_R1xxxxxxx
>
> and /usr/src/linux-2.4/kernel/ksyms.c
> contains EXPORT_SYMBOL(register_chrdev)
>
> how can this error be avoided or where is the error it likely .

--
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/





--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux