error inet.h library
Till Straumann
strauman at slac.stanford.edu
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:
> program.cc:222 error: inetntoa was not declared in this scope
> program.cc:111 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
T.
> 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.
> http://newlivehotmail.com/?ocid=TXT_TAGWL_migration_HM_viral_preview_0507
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
More information about the users
mailing list