Ok. I use Xenomai 2.4-rc4 with adeos 1.7-06 for arm with 2.6.20 kernel.
And the compiler output:

/usr/local/qtopiarm/bin/qmake -unix -o Makefile gui.pro
arm-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -D_GNU_SOURCE
-D_REENTRANT -D__XENO__ -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/qtopiarm/mkspecs/qws/linux-arm-g++
-I. -I/usr/local/qtopiarm/include/QtCore
-I/usr/local/qtopiarm/include/QtCore -I/usr/local/qtopiarm/include/QtNetwork
-I/usr/local/qtopiarm/include/QtNetwork -I/usr/local/qtopiarm/include/QtGui
-I/usr/local/qtopiarm/include/QtGui -I/usr/local/qtopiarm/include -I.
-I/usr/xenomai/include -I/usr/xenomai/include/posix -Iprotlib -I. -I. -o
main.o main.cpp
/usr/xenomai/include/asm/xenomai/syscall.h:235: error: expected
primary-expression before ‘.’ token
make: *** [main.o] Erreur 1


Thanks

Patrick

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi, 1. novembre 2007 12:23
À : Patrick
Cc : 'Gilles Chanteperdrix'; [email protected]
Objet : Re: [Xenomai-help] RT, nonRT communication

Patrick wrote:
> I have tried to compile my QT application with --posix-cflags and
> --posix-ldflags but without success. I have a compilation error in
syscall.h
> :
> 
> /usr/xenomai/include/asm/xenomai/syscall.h:235: error: expected
> primary-expression before ‘.’ Token
> 
> I think it's because QT is C++ application so it uses g++ and not gcc. And
> Xenomai is not intended to be compiled with C++ compiler.

It _is_ intended and _is_ being used with C++. This doesn't exclude
regressions or arch-specific bugs in the headers though. What version,
what arch are you using? Can you post the full (related) compiler output?

Jan



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

Reply via email to