* [Xenomai-help] Compiling xenomai task with bitbake
@ 2009-10-02 18:52 Linus Casassa
2009-10-02 23:24 ` Linus Casassa
0 siblings, 1 reply; 7+ messages in thread
From: Linus Casassa @ 2009-10-02 18:52 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
Does anyone have a .bb example file?
xeno-config does not exist in bitbake so I get:
native/task.h: No such file or directory
Thanks for the help.
--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941
[-- Attachment #2: Type: text/html, Size: 279 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Compiling xenomai task with bitbake
2009-10-02 18:52 [Xenomai-help] Compiling xenomai task with bitbake Linus Casassa
@ 2009-10-02 23:24 ` Linus Casassa
2009-10-02 23:31 ` Linus Casassa
0 siblings, 1 reply; 7+ messages in thread
From: Linus Casassa @ 2009-10-02 23:24 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
I made some progress. I try to compile it manualy and found that the include
path for xenomai headers is:
~/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/image/usr/include/xenomai
But I get an error from linker:
linus@domain.hid$ gcc
-I/home/linus/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/image/usr/include/xenomai
-L/home/linus/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/install/xenomai/usr/lib
*.c -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -lpthread
/tmp/ccxU3FTz.o: In function `alarm_server':
main.c:(.text+0x24): undefined reference to `rt_alarm_wait'
/tmp/ccxU3FTz.o: In function `cleanup':
main.c:(.text+0x88): undefined reference to `rt_alarm_delete'
main.c:(.text+0x90): undefined reference to `rt_task_delete'
/tmp/ccxU3FTz.o: In function `main':
main.c:(.text+0xf0): undefined reference to `rt_alarm_create'
main.c:(.text+0x11c): undefined reference to `rt_alarm_start'
main.c:(.text+0x140): undefined reference to `rt_task_create'
main.c:(.text+0x164): undefined reference to `rt_task_start'
collect2: ld returned 1 exit status
linus@domain.hid/files$
On Fri, Oct 2, 2009 at 2:52 PM, Linus Casassa <linus@domain.hid> wrote:
> Does anyone have a .bb example file?
>
> xeno-config does not exist in bitbake so I get:
> native/task.h: No such file or directory
>
> Thanks for the help.
>
> --
> Linus Casassa
> Estudiante Ingeniería Civil Electrónica
> Fono: 56-9-97776941
>
--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941
[-- Attachment #2: Type: text/html, Size: 2049 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Compiling xenomai task with bitbake
2009-10-02 23:24 ` Linus Casassa
@ 2009-10-02 23:31 ` Linus Casassa
2009-10-03 10:08 ` Gilles Chanteperdrix
0 siblings, 1 reply; 7+ messages in thread
From: Linus Casassa @ 2009-10-02 23:31 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1900 bytes --]
Sorry, I figured it out. I need -lnative option.
On Fri, Oct 2, 2009 at 7:24 PM, Linus Casassa <linus@domain.hid> wrote:
> I made some progress. I try to compile it manualy and found that the
> include path for xenomai headers is:
>
> ~/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/image/usr/include/xenomai
>
> But I get an error from linker:
>
> linus@domain.hid$ gcc
> -I/home/linus/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/image/usr/include/xenomai
> -L/home/linus/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/xenomai-2.4.6-r0/install/xenomai/usr/lib
> *.c -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -lpthread
> /tmp/ccxU3FTz.o: In function `alarm_server':
> main.c:(.text+0x24): undefined reference to `rt_alarm_wait'
> /tmp/ccxU3FTz.o: In function `cleanup':
> main.c:(.text+0x88): undefined reference to `rt_alarm_delete'
> main.c:(.text+0x90): undefined reference to `rt_task_delete'
> /tmp/ccxU3FTz.o: In function `main':
> main.c:(.text+0xf0): undefined reference to `rt_alarm_create'
> main.c:(.text+0x11c): undefined reference to `rt_alarm_start'
> main.c:(.text+0x140): undefined reference to `rt_task_create'
> main.c:(.text+0x164): undefined reference to `rt_task_start'
> collect2: ld returned 1 exit status
> linus@domain.hidt/files$
>
>
> On Fri, Oct 2, 2009 at 2:52 PM, Linus Casassa <linus@domain.hid> wrote:
>
>> Does anyone have a .bb example file?
>>
>> xeno-config does not exist in bitbake so I get:
>> native/task.h: No such file or directory
>>
>> Thanks for the help.
>>
>> --
>> Linus Casassa
>> Estudiante Ingeniería Civil Electrónica
>> Fono: 56-9-97776941
>>
>
>
>
> --
> Linus Casassa
> Estudiante Ingeniería Civil Electrónica
> Fono: 56-9-97776941
>
--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941
[-- Attachment #2: Type: text/html, Size: 2667 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Compiling xenomai task with bitbake
2009-10-02 23:31 ` Linus Casassa
@ 2009-10-03 10:08 ` Gilles Chanteperdrix
2009-10-04 6:01 ` Linus Casassa
0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2009-10-03 10:08 UTC (permalink / raw)
To: Linus Casassa; +Cc: xenomai
Linus Casassa wrote:
> Sorry, I figured it out. I need -lnative option.
I do not understand why you do not use xeno-config.
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Compiling xenomai task with bitbake
2009-10-03 10:08 ` Gilles Chanteperdrix
@ 2009-10-04 6:01 ` Linus Casassa
2009-10-04 6:09 ` Linus Casassa
2009-10-04 8:43 ` Gilles Chanteperdrix
0 siblings, 2 replies; 7+ messages in thread
From: Linus Casassa @ 2009-10-04 6:01 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
Because xeno-config is for my computer but I am cross compilling with
bitbake.
On Sat, Oct 3, 2009 at 6:08 AM, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:
> Linus Casassa wrote:
> > Sorry, I figured it out. I need -lnative option.
>
> I do not understand why you do not use xeno-config.
>
> --
> Gilles.
>
--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941
[-- Attachment #2: Type: text/html, Size: 829 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Compiling xenomai task with bitbake
2009-10-04 6:01 ` Linus Casassa
@ 2009-10-04 6:09 ` Linus Casassa
2009-10-04 8:43 ` Gilles Chanteperdrix
1 sibling, 0 replies; 7+ messages in thread
From: Linus Casassa @ 2009-10-04 6:09 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
I am still trying to understand how bitbake works. When I figure it out I
will post the solution :)
On Sun, Oct 4, 2009 at 2:01 AM, Linus Casassa <linus@domain.hid> wrote:
> Because xeno-config is for my computer but I am cross compilling with
> bitbake.
>
>
> On Sat, Oct 3, 2009 at 6:08 AM, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> wrote:
>
>> Linus Casassa wrote:
>> > Sorry, I figured it out. I need -lnative option.
>>
>> I do not understand why you do not use xeno-config.
>>
>> --
>> Gilles.
>>
>
>
>
> --
> Linus Casassa
> Estudiante Ingeniería Civil Electrónica
> Fono: 56-9-97776941
>
--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941
[-- Attachment #2: Type: text/html, Size: 1471 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Compiling xenomai task with bitbake
2009-10-04 6:01 ` Linus Casassa
2009-10-04 6:09 ` Linus Casassa
@ 2009-10-04 8:43 ` Gilles Chanteperdrix
1 sibling, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2009-10-04 8:43 UTC (permalink / raw)
To: Linus Casassa; +Cc: xenomai
Linus Casassa wrote:
> Because xeno-config is for my computer but I am cross compilling with
> bitbake.
xeno-config is made to be run with cross-compiling. Most Xenomai users
are cross-compiling, so it would have been stupid to make something that
works only when not cross-compiling.
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-10-04 8:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02 18:52 [Xenomai-help] Compiling xenomai task with bitbake Linus Casassa
2009-10-02 23:24 ` Linus Casassa
2009-10-02 23:31 ` Linus Casassa
2009-10-03 10:08 ` Gilles Chanteperdrix
2009-10-04 6:01 ` Linus Casassa
2009-10-04 6:09 ` Linus Casassa
2009-10-04 8:43 ` Gilles Chanteperdrix
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.