Gcc Error Xitwas Not Declared In This Scope
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up 'inet_ntoa' not declared error up vote 2 down vote favorite I'm tring to use inet_ntoa function writing to following code: printf("Got connection from: %s:%d\n", inet_ntoa(cli_addr.sin_addr.s_addr), cli_addr.sin_port); Using the following includes: #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Compiler error: memset was http://stackoverflow.com/questions/37435526/inet-ntoa-not-declared-error not declared in this scope up vote 65 down vote favorite 13 I am trying to compile my C program in Ubuntu 9.10 (gcc 4.4.1). I am getting this error: Rect.cpp:344: error: ‘memset’ was not declared in this scope But the problem is I have already included in my cpp file: #include
of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. https://community.amd.com/thread/120081 You can not post a blank message. Please type your message and try again. More discussions in x86 Open64 Compiler Suite Where is this place located?CommunityAll PlacesDevgurusx86 Open64 Compiler Suite 3 Replies Latest reply on Oct 10, gcc error 2009 2:00 PM by dgilmore source build error in Ubuntu 9 gaoshuang Oct 9, 2009 9:25 PM Folks,I use gcc 3.4.6 or gcc 4.3.3, build open64-4.2.1Following errors occur when executing make, does anybody know the reason?Thanks in advance.../../common/targ_info/generate/si_gen.cxx:295: gcc error xitwas error: ?XIT_FAILURE?was not declared in this scope../../common/targ_info/generate/si_gen.cxx:295: error: ?xit?was not declared in this scope../../common/targ_info/generate/si_gen.cxx: In constructor ?ES::RES(char*, int)?../../common/targ_info/generate/si_gen.cxx:387: warning: deprecated conversion from string constant to ?har*?../../common/targ_info/generate/si_gen.cxx: In constructor ?ES_REQ::RES_REQ()?../../common/targ_info/generate/si_gen.cxx:597: warning: deprecated conversion from string constant to ?har*?../../common/targ_info/generate/si_gen.cxx: In constructor ?ATENCY_INFO::LATENCY_INFO(int)?../../common/targ_info/generate/si_gen.cxx:850: warning: deprecated conversion from string constant to ?har*?../../common/targ_info/generate/si_gen.cxx: In constructor ?NSTRUCTION_GROUP::INSTRUCTION_GROUP(char*)?../../common/targ_info/generate/si_gen.cxx:1001: warning: deprecated conversion from string constant to ?har*?../../common/targ_info/generate/si_gen.cxx: At global scope:../../common/targ_info/generate/si_gen.cxx:1313: warning: deprecated conversion from string constant to ?har*?../../common/targ_info/generate/si_gen.cxx: In static member function ?tatic void TOP_SCHED_INFO_MAP::Create_Dummies()?../../common/targ_info/generate/si_gen.cxx:1323: warning: deprecated conversion from string constant to ?har*?../../common/targ_info/generate/si_gen.cxx: In static member function ?tatic void TOP_SCHED_INFO_MAP:utput(FILE*)?../../common/targ_info/generate/si_gen.cxx:1377: error: ?XIT_FAILURE?was not declared in this scope../../common/targ_info/generate/si_gen.cxx:1377: error: ?xit?was not declared in this scopemake[3]: *** [si_gen.o] Error 1make[3]: Leaving direc