LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2011, 07:41 AM   #1
liuxgate
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Rep: Reputation: Disabled
windriver rtlinux patch


Dear All,
I applied Windriver RTLinux patch to 2.6.9 kernel and did
make bzImage. I got following error messages. Kindly help me.

Thanks & Regards.

kernel/built-in.o: In function `finish_task_switch':
sched.c.text+0x17e8): undefined reference to `rtl_hard_local_irq_enable_kernel'
kernel/built-in.o: In function `rtl_ctrl_restore_flags':
rtlinux.c.text+0x1abdc): undefined reference to `rtl_hard_local_irq_restore_kernel'
kernel/built-in.o: In function `rtl_ctrl_irq_save':
rtlinux.c.text+0x1ac04): undefined reference to `rtl_hard_local_irq_save_kernel'
kernel/built-in.o: In function `rtl_ctrl_save_flags':
rtlinux.c.text+0x1ac34): undefined reference to `rtl_hard_local_save_flags_kernel'
kernel/built-in.o: In function `rtl_ctrl_enable':
rtlinux.c.text+0x1ac5c): undefined reference to `rtl_hard_local_irq_enable_kernel'
kernel/built-in.o: In function `rtl_ctrl_disable':
rtlinux.c.text+0x1ac7c): undefined reference to `rtl_hard_local_irq_disable_kernel'
mm/built-in.o: In function `map_vm_area':
: undefined reference to `set_pgdir'
make: *** [.tmp_vmlinux1] Error 1
 
Old 08-12-2011, 02:33 AM   #2
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
not sure exactly what that is at windriver but the actual linux rt patches are on the kernel web page
http://www.kernel.org/pub/linux/kernel/projects/rt/
the kernel and the patch number have to match exactly
 
Old 08-12-2011, 04:03 AM   #3
liuxgate
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gary185 View Post
not sure exactly what that is at windriver but the actual linux rt patches are on the kernel web page
http://www.kernel.org/pub/linux/kernel/projects/rt/
the kernel and the patch number have to match exactly
kernel and patch no. are matching.
 
Old 08-17-2011, 01:12 AM   #4
liuxgate
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
kindly help me guys.
 
Old 08-17-2011, 07:37 PM   #5
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
at least tell us exactly which kernel and exactly which patch and exactly how you applied the patch
and exactly the steps and command you used to get to the failure point

make bzimage is an old thing now you can just do make
that's not the problem but indicates you might be following an old tutorial

other info that might be helpful is what are you trying to do in the larger picture.
also i think those build messages are after the fact.
generally there is the word error or a file not found or something that sets stuff like this off so we need to see the output from the begining of when things went south
 
Old 08-18-2011, 08:34 AM   #6
liuxgate
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Kernel - 2.6.9
patch -p1 < ../rtlinux-patch
changed Makefile -> ARCH = ppc, crosscompiler = powerpc-440-gnu-
make menuconfig
-->selected 44x processor for ppc
make bzImage

Errors:

kernel/built-in.o: In function `finish_task_switch':
sched.c.text+0x17e8): undefined reference to `rtl_hard_local_irq_enable_kernel'
kernel/built-in.o: In function `rtl_ctrl_restore_flags':
rtlinux.c.text+0x1abdc): undefined reference to `rtl_hard_local_irq_restore_kernel'
kernel/built-in.o: In function `rtl_ctrl_irq_save':
rtlinux.c.text+0x1ac04): undefined reference to `rtl_hard_local_irq_save_kernel'
kernel/built-in.o: In function `rtl_ctrl_save_flags':
rtlinux.c.text+0x1ac34): undefined reference to `rtl_hard_local_save_flags_kernel'
kernel/built-in.o: In function `rtl_ctrl_enable':
rtlinux.c.text+0x1ac5c): undefined reference to `rtl_hard_local_irq_enable_kernel'
kernel/built-in.o: In function `rtl_ctrl_disable':
rtlinux.c.text+0x1ac7c): undefined reference to `rtl_hard_local_irq_disable_kernel'
mm/built-in.o: In function `map_vm_area':
: undefined reference to `set_pgdir'
make: *** [.tmp_vmlinux1] Error 1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
detecting the USB in WinDriver 10.10 in UBUNTU 10.10 teja483 Linux - Newbie 9 05-28-2014 12:22 PM
How to install and use oprofile on windriver Linux?? chakri.linux Linux - Software 1 07-06-2011 07:06 PM
Enabling FrameBuffer in WindRiver Linux sri_oct24 Linux - Kernel 2 10-25-2010 04:45 PM
Is WindRiver Linux supports bastille or not? manohare Linux - Software 5 10-16-2007 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration