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: Alex Rhomberg Subject: Re: Cxx Compile error Date: 2000/04/27 Message-ID: <39084E01.58268A51@ife.ee.ethz.ch>#1/1 X-Deja-AN: 616357375 Content-Transfer-Encoding: 7bit References: <3908283E.B2CB22A4@hccnet.nl> <390842CE.883F7D47@hccnet.nl> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 27 Apr 2000 16:26:09 +0100, beethoven.ee.ethz.ch Organization: Electronics Lab, ETH Zurich, Switzerland MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha bubble wrote: > > cxx: Error: Icon.cc, line 137: identifier "strcmp" is undefined > > if (strcmp(name, "Unnamed")) { > > ____________^ > So am i to conclude that something needs to be defined for strcmp > aswell? > If so what would that be? In such a case, you consult the manpage for strcmp: man strcmp It says: #include int strcmp(const char *s1, const char *s2); Make sure that string.h is included somewhere. - Alex