Hello dlewin555
Did you succeed in installing Xenomai on your BBB? Le lundi 10 mars 2014 14:14:59 UTC+1, dlewin555 a écrit : > > With the provided files in attachment, I put the include dir from the SD > card which is fine when using from machinekit > <http://blog.machinekit.io/p/machinekit_16.html> and > compile my* toggle_gpio.c* : > > > - *Makefile* > > > make : >> gcc -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -g >> gpio-utils.c -lnative -L/usr/xenomai/lib -lxenomai -lpthread -lrt >> -lnative toggle_gpio.c -lnative -lxenomai -o toggle_gpio >> In file included from /usr/xenomai/include/nucleus/thread.h:25:0, >> from /usr/xenomai/include/nucleus/sched.h:31, >> from /usr/xenomai/include/native/task.h:25, >> from toggle_gpio.c:14: >> /usr/xenomai/include/nucleus/types.h:36:32: fatal error: >> asm/xenomai/system.h: No such file or directory >> compilation terminated. >> make: *** [toggle_gpio] Error 1 >> root@arm:/home/experiences# > > > > - *I have the glibc*: > > >> GNU C Library (Debian EGLIBC 2.18-1) stable release version 2.18, by >> Roland McGrath et al. >> Copyright (C) 2013 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. >> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >> PARTICULAR PURPOSE. >> Compiled by GNU CC version 4.8.2. >> Compiled on a Linux 3.11.10 system on 2014-02-21. >> Available extensions: >> crypt add-on version 2.1 by Michael Glad and others >> GNU Libidn by Simon Josefsson >> Native POSIX Threads Library by Ulrich Drepper et al >> BIND-8.2.3-T5B >> libc ABIs: UNIQUE > > > > > - and didn't installed the kernel headers yet. > - *don't know machinekit how is it to be installed : * well as it's > based on patches onto the RCN git repo based, I've used the > *"build_kernel" > *which retrieve linaro compiler + sources + and deps accordingly, > Therefore, it's Debian based. > > > > > > 2014-03-09 3:11 GMT+01:00 t-szczyrba <tsr...@googlemail.com <javascript:>> > : > >> > I also have a working gcc inside, but can't "make" when system.h, >> asm/.../types.h, xeno_config.h are missing. Copy them from the working >> machinekit on SD doesn't fix the problem. >> >> Please send the makefile & gcc output - I suppose you don't have glibc & >> kernel headers installed in the BBB and don't know machinekit how is it to >> be installed. Is the machinekit something like linuxcnc + Ubuntu derivative? >> >> regards, >> >> T. >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/HqwuSu2tLe8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> beagleboard...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.