From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a4a4244d855fba97 X-Google-Attributes: gid111c93,public From: bubble Subject: Re: Cxx Compile error Date: 2000/04/27 Message-ID: <390877AF.27FEC235@hccnet.nl>#1/1 X-Deja-AN: 616427451 Content-Transfer-Encoding: 7bit References: <3908283E.B2CB22A4@hccnet.nl> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@hccnet.nl X-Trace: news.hccnet.nl 956856510 15202 193.173.112.23 (27 Apr 2000 17:28:30 GMT) Organization: Hobby Computer Club News Network Mime-Version: 1.0 Reply-To: Xperience@cyberjunkie.com NNTP-Posting-Date: 27 Apr 2000 17:28:30 GMT Newsgroups: comp.os.linux.alpha bubble wrote: > > Hi there, > > I was trying to compile blackbox using cxx from compaq. > All was going well until the compiler hit Icon.cc where it gave the > following error: > > cxx: Error: Icon.cc, line 137: identifier "strcmp" is undefined > if (strcmp(name, "Unnamed")) { > ____________^ > > could comeone xplain why the identifier is undefined, > and strcmp is a function or am I really mistaken. > Keep in mind I am a novice at C. > > Thanks for your trouble > > Jigal He seems that just the addition of #include "string.h" was enough to succesfully compile blackbox. Now I tried using ccc on nmap this is even worse. Is it really the case that ccc is being so strict compared to gcc? By the way is there anyone who compiled nmap succesfully using ccc? oke that was it. Thanks for your trouble. Greetz Jigal