Skip to contentSkip to conversation

Error Compiling posix skin

Xenomai-help Nicola Pace 2 participants 2 messages May 25, 2006 – May 26, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

Nicola Pace wrote:

I am trying to compile xenomai.2.2-rc1, but compiling the posix skin I get the error :

/usr/src/xenomai-2.2-rc1/include/posix/time.h:103: parse error before 'clock_id'

Some Suggestions ?

Quoted 4 lines

Your libc is likely a bit old and does not define clockid_t, what version of glibc are you using ? Could you try the attached patch ? Maybe other definitions than clockid_t are missing, timer_t for example.

Your patch fixes 'clockid' error but, of course, there are other missing definitions:

struct sigevent
struct itimerspec
CLOCK_REALTIME
.
.
.

The GLIBC version is 2.1.3

Thanks for any help
Nicola

*Ing. Nicola Pace *
Technical Department
*

TDEMACNO Spa (VICENZA)

* <http://www.tdemacno.it> tel: 0444 343555
fax: 0444 343509
mail: [email protected]
Skype:
*
Riservatezza / Confidentiality*/
In ottemperanza al D.L. n. 196 del 30/6/2003 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate ed esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Vogliate tener presente che qualsiasi uso, riproduzione o divulgazione di questo messaggio e' vietata. Nel caso in cui aveste ricevuto questa mail/fax per errore, vogliate cortesemente avvertire il mittente e distruggere il presente messaggio. Accordingly to italian law D.L. 196/2003 concerning privacy, if you are not the adressee (or responsible for delivery of the message to such person) you are hereby notified that any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this message in error, you should destroy it and please notify us by email. /

#1 lore raw
Quoted 19 lines · Nicola Pace
Quoted 1 line

Nicola Pace wrote:

I am trying to compile xenomai.2.2-rc1, but compiling the posix skin I get the error :

/usr/src/xenomai-2.2-rc1/include/posix/time.h:103: parse error before 'clock_id'

Some Suggestions ?

Quoted 4 lines

Your libc is likely a bit old and does not define clockid_t, what version of glibc are you using ? Could you try the attached patch ? Maybe other definitions than clockid_t are missing, timer_t for example.

Your patch fixes 'clockid' error but, of course, there are other missing definitions:

Quoted 8 lines

struct sigevent
struct itimerspec
CLOCK_REALTIME
.
.
.

The GLIBC version is 2.1.3

Could you run "make -k" and send the full logs to me? I have no machine at hand with such an old libc.

Signature · 1 line
					    Gilles Chanteperdrix.