Hi all, I'm trying to compile a simple Xenomai application.
I did a makefile as showed below:

target =  task_teste
CC := ppc_6xx-gcc
XENO_CONFIG := /home/breno/ELDK/ppc_6xx/usr/local/xenomai/bin/xeno-config
CFLAGS := $(shell $(XENO_CONFIG) --xeno-cflags)
LDFLAGS := -lnative $(shell $(XENO_CONFIG) --xeno-ldflags)
$(target): $(target).c
    $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)

I running on powerpc processor where I embedded a linux kernel-tree form
DENX.

The errror returned is:
ppc_6xx-gcc -o task_teste task_teste.c -I/usr/local/xenomai/include
-D_GNU_SOURCE -D_REENTRANT -lnative -L/usr/local/xenomai/lib -lpthread
/home/breno/ELDK/usr/bin/../lib/gcc/powerpc-linux/4.0.0/../../../../powerpc-linux/bin/ld:
cannot find -lnative
collect2: ld returned 1 exit status
make: *** [task_teste] Error 1

So, why don't it find the -lnative. I already configured my kernel option
with Xenomai and native,posix options.

Thanks,

Breno
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to