Data type problem

Arquer Stephane stephane.arquer at c-s.cnes.fr
Thu Oct 18 14:58:14 UTC 2007


Don't take car eat this message it's an old one blocked on the server.

Stephane.

> -----Message d'origine-----
> De : 
> rtems-users-bounces+stephane.arquer=c-s.cnes.fr at rtems.org 
> [mailto:rtems-users-bounces+stephane.arquer=c-s.cnes.fr at rtems.
> org] De la part de Stéphane ARQUER
> Envoyé : lundi 15 octobre 2007 17:30
> À : Joel Sherrill
> Cc : RTEMS users
> Objet : Re: Data type problem
> 
> 
> When I compile the tsp files with my rtems application, there 
> are error messages like
> ../pc386/lib/include/netinet/in.h:65: error: expected 
> specifier-qualifier-list before 'u_long' And it's the same 
> with rpc/xdr.h with 'u_int', /rpc/clnt.h rpc.h ...
> 
> I think there is something wrong in my variables 
> configuration in init.c file or in my Makefile ?
> 
> The file error_out.txt show the messages.
> 
> sa
> 
> Le 15/10/2007, "Joel Sherrill" <joel.sherrill at oarcorp.com> a écrit:
> 
> >Stéphane ARQUER wrote:
> >> Hello,
> >>
> >> I'm working with Rtems v4.7.1 and the BSP pc386 and I want 
> to use TSP 
> >> (Transport Sample Protocol 
> >> (http://savannah.nongnu.org/projects/tsp/))
> >> under Rtems. During the compilation there are several types like
> >> uint32_t u_int, u_long which are not defined correctly. I 
> think I have
> >> to define some variables to allow compatibility with rpc, 
> tcp ip ...
> >>
> >>   
> >The uint32_t should be defined correctly in stdint.h.
> >
> >Checking sys/types.h, I see this:
> >
> >./sys/types.h:typedef   unsigned long   u_long;
> >
> >What do you think is wrong?
> >
> >--joel
> >> Thanks in advance for your help.
> >>
> >> Regards.
> >>
> >> SA
> >>
> >>
> >>
> >>
> >> -------------------------------------------------
> >> Stéphane ARQUER
> >> CSSI - Division Aéronautique, Logiciels Embarqués
> >> email: stephane.arquer at c-s.fr
> >> -------------------------------------------------
> >>
> >> _______________________________________________
> >> rtems-users mailing list
> >> rtems-users at rtems.com 
> >> http://rtems.rtems.org/mailman/listinfo/rtems-users
> >>   
> >
> 
> -------------------------------------------------
> Stéphane ARQUER
> CSSI - Division Aéronautique, Logiciels Embarqués
> email: stephane.arquer at c-s.fr
> -------------------------------------------------
> 




More information about the users mailing list