Thanks for your tip!

I tried out the suggested compilation flags and now all files were found.

However I ended with many "unknown type names":
//usr/xenomai/include/posix/time.h:114:25: error: unknown type name 'clockid_t'
//usr/xenomai/include/posix/time.h:133:5: error: unknown type name 'timer_t'
//usr/xenomai/include/posix/sys/select.h:32:39: error: unknown type name 
'fd_set'
//usr/xenomai/include/posix/sys/socket.h:39:27: error: unknown type name 
'socklen_t'

What may cause these missing typedefs when no files are missing?

Best regards
Terje

-----Original Message-----
From: Gilles Chanteperdrix [mailto:[email protected]] 
Sent: 3. november 2014 13:26
To: Terje Frøysa
Cc: [email protected]
Subject: Re: [Xenomai] Xenoma 2.6.4 missing posix/xeno_config.h ?

On Mon, Nov 03, 2014 at 11:44:47AM +0000, Terje Frøysa wrote:
> Dear forum,
> 
> The file xenomai/posix/stdio.h
> includes a file named xeno_config.h
> 
> This file does not exist in my newly installed 2.6.4 Xenomai environment.
> 
> Listing from make:
> 
> debian@beaglebone:~/rtdm_dht11-app$ make gcc -Wall -g 
> -I/lib/modules/3.8.13-bone67/source/include/xenomai 
> -I/lib/modules/3.8.13-bone67/source/include/xenomai/posix 
> -I/lib/modules/3.8.13-bone67/source/arch/arm/mach-omap2 -c 
> rtdm_dht11-app.c  -o rtdm_dht11-app.o
> 
> In file included from rtdm_dht11-app.c:46:0:
> /lib/modules/3.8.13-bone67/source/include/xenomai/posix/stdio.h:30:25: 
> fatal error: xeno_config.h: No such file or directory compilation terminated.

Your compilation flags are obviously incorrect, to obtain the correct ones, see:

http://xenomai.org/2014/08/porting-a-linux-application-to-xenomai-dual-kernel/#Compilation_flags

Regards.

-- 
                                            Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to