error inet.h library

Till Straumann strauman at
Wed May 9 23:07:03 UTC 2007

Vivian Paola Guerrero Rodriguez wrote:
> Hi, 
> I'm migrating from rtems 4.6 to 4.7.1. When I compile my program I get two errors about the inet.h library:
> error: inetntoa  was not declared in this scope
> error: inet_aton was not declared in this scope
Please provide more info. I just tried to compile a very simple stub:

#include <rtems.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

extern "C" char* inet_ntoa_wrap(struct in_addr x)
        return inet_ntoa(x);

but this compiles fine under 4.6.5 and 4.7 for me


> I'm including the library that contents these funtions :  #include
>                                                                                #include
> So I don't understand what is the reason for these errors, could be possible the directory of this library had been changed for the new version fo rtems ?
> Thanks a lot for your help !
> _________________________________________________________________
> See what you’re getting into…before you go there.
> _______________________________________________
> rtems-users mailing list
> rtems-users at

More information about the users mailing list