All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] fix some src compile problems
@ 2007-05-18 10:01 Wolfgang Grandegger
  2007-05-18 10:56 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Grandegger @ 2007-05-18 10:01 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

Hello,

I needed the attached patch to get the user space stuff of Xenomai 
trunk, head of SVN cross compiled for PPC. Please apply. Thanks.

Wolfgang.

[-- Attachment #2: xenomai-src.patch --]
[-- Type: text/x-patch, Size: 1294 bytes --]

Index: src/skins/posix/clock.c
===================================================================
--- src/skins/posix/clock.c	(revision 2455)
+++ src/skins/posix/clock.c	(working copy)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  */
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include <pthread.h>		/* For pthread_setcanceltype. */
 #include <posix/syscall.h>
Index: src/skins/native/timer.c
===================================================================
--- src/skins/native/timer.c	(revision 2455)
+++ src/skins/native/timer.c	(working copy)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
  */
 
+#include <stdio.h>
+#include <stdlib.h>
 #include <native/syscall.h>
 #include <native/timer.h>
 #include <asm/xenomai/arith.h>
Index: src/testsuite/clocktest/clocktest.c
===================================================================
--- src/testsuite/clocktest/clocktest.c	(revision 2455)
+++ src/testsuite/clocktest/clocktest.c	(working copy)
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
 {
     int cpus = sysconf(_SC_NPROCESSORS_ONLN);
     int i;
-    char c;
+    int c;
 
     while ((c = getopt(argc,argv,"C:T:")) != EOF)
         switch (c) {

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [PATCH] fix some src compile problems
  2007-05-18 10:01 [Xenomai-core] [PATCH] fix some src compile problems Wolfgang Grandegger
@ 2007-05-18 10:56 ` Jan Kiszka
  2007-05-20 20:18   ` Wolfgang Grandegger
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2007-05-18 10:56 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

Wolfgang Grandegger wrote:
> Hello,
> 
> I needed the attached patch to get the user space stuff of Xenomai
> trunk, head of SVN cross compiled for PPC. Please apply. Thanks.

I would say, just go ahead. The fixes are obvious and correct.

Thanks!
Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [PATCH] fix some src compile problems
  2007-05-18 10:56 ` Jan Kiszka
@ 2007-05-20 20:18   ` Wolfgang Grandegger
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Grandegger @ 2007-05-20 20:18 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>> Hello,
>>
>> I needed the attached patch to get the user space stuff of Xenomai
>> trunk, head of SVN cross compiled for PPC. Please apply. Thanks.
> 
> I would say, just go ahead. The fixes are obvious and correct.

Applied, already 2 days ago. For some reasons, the problems do not show 
up with 2.6

Wolfgang.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-20 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-18 10:01 [Xenomai-core] [PATCH] fix some src compile problems Wolfgang Grandegger
2007-05-18 10:56 ` Jan Kiszka
2007-05-20 20:18   ` Wolfgang Grandegger

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.