Unresolved Symbol

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

 



I am compiling kernel module with a command line

cc -D__KERNEL__ -DMODULE -Wall -O2 -g -I. -I/usr/src/linux/include -c -o
file1.o file1.c
ld -r file1.o file 2.o file3.o modbinary.o

Module loads and executes fine. After applying the serial kdb patch 
(patch applied nicely) and recompiling the kernel, I was getting lot of
unresolved symbols, which I understood was due to MODVERSION bug. I have over
come the problem. However now I am getting only one unresolved symbol

[root@karachi]# insmod modbinary.o
modbinary.o: unresolved symbol schedule

when I do, I get

[root@karachi /root]# cat /proc/ksyms | grep schedule
c0122900 schedule_task_R2d6c3d04
c0122b20 flush_scheduled_tasks_R7c3242b4
c01150f0 do_schedule_R26171012
c0109318 kern_schedule_Rb32aaa1b
c0115030 schedule_timeout_R17d59d01
c0203540 tcp_tw_deschedule_Rae427462

I donot see schedule() function in the list above, even though this is from
schd.c file. What can I do to resolve this problem.

Usman

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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