From owner-freebsd-questions Tue Jun 23 02:26:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01907 for freebsd-questions-outgoing; Tue, 23 Jun 1998 02:26:28 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA01792 for ; Tue, 23 Jun 1998 02:25:56 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.188]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Tue, 23 Jun 1998 11:27:10 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id LAA01014; Tue, 23 Jun 1998 11:22:38 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 23 Jun 1998 11:22:38 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Michael Slater Subject: RE: Errors while compiling Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What are the "#include ..." statements in ShowFolder.cc ? At least they should read: #include #include #include Have a look at /usr/include/sys/dirent.h There are some declarations that really need types.h and dir.h to be included but dirent.h misses to include them. I've seen this several times and just had to fix the "#include ..." or the order of the "#include ..." Malte. On 23-Jun-98 Michael Slater wrote: > > Hello, > I am trying to compile an application known as webthing on a > FreeBSD-2.2.6 machine, and the following errors keep occuring. Anybody > have a clue how to fix it ? > > > In file included from /usr/include/dirent.h:43, > from ShowFolder.cc:15: > /usr/include/sys/dirent.h:52: syntax error before `;' > /usr/include/sys/dirent.h:53: syntax error before `;' > /usr/include/sys/dirent.h:54: syntax error before `;' > /usr/include/sys/dirent.h:55: syntax error before `;' > > gmake: *** [ShowFolder.o] Error 1 > > > > > Michael Slater > Internet Express > Perth, Western Australia > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 23-Jun-98 Time: 11:13:55 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message