* [Xenomai-core] Problems compiling r600 for PPC
@ 2006-02-25 20:25 Niklaus Giger
2006-02-26 19:27 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Niklaus Giger @ 2006-02-25 20:25 UTC (permalink / raw)
To: xenomai-core
Hi everybody
I had the following problem building the kernel:
kernel/built-in.o: In function
`rtdm_mmap_buffer':/mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/kernel/xenomai/skins/rtdm/drvlib.c:1386:
undefined reference to `virt_to_phys'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [_all] Error 2
Adding a
#include <asm/io.h>
in kernel/xenomai/skins/rtdm/drvlib.c
fixed my compile problem. Is this the correct solution for the other
architectures also?
svn diff was:
Index: ksrc/skins/rtdm/drvlib.c
===================================================================
--- ksrc/skins/rtdm/drvlib.c (revision 600)
+++ ksrc/skins/rtdm/drvlib.c (working copy)
@@ -31,6 +31,7 @@
#include <linux/delay.h>
+#include <asm/io.h>
#include <linux/mman.h>
#include <rtdm/rtdm_driver.h>
Best regards
--
Niklaus Giger
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-core] Problems compiling r600 for PPC
2006-02-25 20:25 [Xenomai-core] Problems compiling r600 for PPC Niklaus Giger
@ 2006-02-26 19:27 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2006-02-26 19:27 UTC (permalink / raw)
To: niklaus.giger; +Cc: xenomai-core
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
Niklaus Giger wrote:
> Hi everybody
>
> I had the following problem building the kernel:
> kernel/built-in.o: In function
> `rtdm_mmap_buffer':/mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/kernel/xenomai/skins/rtdm/drvlib.c:1386:
> undefined reference to `virt_to_phys'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [_all] Error 2
>
> Adding a
> #include <asm/io.h>
> in kernel/xenomai/skins/rtdm/drvlib.c
> fixed my compile problem. Is this the correct solution for the other
> architectures also?
>
Looks reasonable. It's fixed now, thanks for reporting.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-02-26 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 20:25 [Xenomai-core] Problems compiling r600 for PPC Niklaus Giger
2006-02-26 19:27 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.