Date: Tue, 23 Jun 1998 11:22:38 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: Michael Slater <mikey@iexpress.net.au> Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Errors while compiling Message-ID: <XFMail.980623112238.malte@webmore.com> In-Reply-To: <Pine.BSF.3.96.980623100751.28480A-100000@atlas.iexpress.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
What are the "#include ..." statements in ShowFolder.cc ?
At least they should read:
#include <sys/types.h>
#include <sys/dir.h>
#include <sys/dirent.h>
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 <malte@webmore.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980623112238.malte>
