error rtems 4.7 and inet.h library
strauman at slac.stanford.edu
Tue May 15 04:00:09 UTC 2007
Vivian Paola Guerrero Rodriguez wrote:
Try to strip as many things as possible from your program
with the error still showing.
Then post the remaining, complete code (if < 40 lines or so)
E.g., from the snippet you posted it is not clear what headers
you bracketed with 'extern "C"'. With that kind of inaccurate
information it's impossible to help you.
> I'm migrating from rtems 4.6 to 4.7.1 and I.m programming in C++. In my program i'm including the next libraries:
> and I'm using extern "C" :
> extern "C"
> When I compile my program I get an error about the inet.h library:
> program.cc:111 error: inet_aton was not declared in this scope
> I don't know if the version of rtems 4.7 changed the way to use libraries for C++ or the way to use this funtion or something like that.
> I have already verified the inet.h file in the directory ../lib/include/arpa/inet.h and there is this funtion defined.
> I urgently need your help !!
> Download Messenger. Start an i’m conversation. Support a cause. Join now.
> rtems-users mailing list
> rtems-users at rtems.com
More information about the users