octal-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building trouble


From: Matt Mitchell
Subject: Re: building trouble
Date: Mon Dec 3 12:42:08 2001
User-agent: Mutt/1.2.5i

Hi Michal.

At first glance, it looks like you're getting a bogus dirent.h included.  The 
one you probably want is /usr/include/dirent.h.

As to why that's happening, I'm unsure.  I don't use Red Hat, so I don't know 
if this is some RH-specific issue.  If you don't have a /usr/include/dirent.h, 
that could be a problem...

-m

On Sat, Dec 01, 2001 at 12:37:58PM -0500, Michal Seta wrote:
> Hi,
> I'm totally new to octal, just found out about it.
> And I'm not a developer.
> 
> So I got the beta release and tried to build it.
> here's what I get:
> 
> ---------
> 
> In file included from /usr/X11R6/include/dirent.h:28,
>                  from machine.c:19:
> /usr/X11R6/include/filename.H:62: warning: `struct dirent' 
> declared inside parameter list
> /usr/X11R6/include/filename.H:62: warning: its scope is only 
> this definition or declaration, which is probably not what you want.
> machine.c: In function `mc_make_registry':
> machine.c:83: `DIR' undeclared (first use in this function)
> machine.c:83: (Each undeclared identifier is reported only once
> machine.c:83: for each function it appears in.)
> machine.c:83: `dp' undeclared (first use in this function)
> machine.c:83: warning: statement with no effect
> machine.c:84: parse error before `struct'
> machine.c:86: warning: implicit declaration of function `opendir'
> machine.c:89: `ep' undeclared (first use in this function)
> machine.c:89: warning: implicit declaration of function `readdir'
> make: *** [machine.o] Error 1
> 
> --------------
> 
> this is on RH7.0 gcc2.96
> 
> otherwise it looks promising!  I would just like to get it built.
> 
> 
> ./MiS
> 
> 
> _______________________________________________
> Octal-dev mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/octal-dev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]