octave-maintainers
[Top][All Lists]
Advanced

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

Re: complie error of f77-extern.cc on development source (Mecurial) unde


From: Rik
Subject: Re: complie error of f77-extern.cc on development source (Mecurial) under MinGW
Date: Tue, 22 Dec 2009 19:45:55 -0800

Tatsuro MATSUOKA wrote:
> ***********configure.ac
> 1346: AC_CHECK_TYPES([dev_t, ino_t, nlink_t])
>
> Parts of config.h produced
> *****config.h
> 658 :/* Define to 1 if the system has the type `nlink_t'. */
> 659 :/* #undef HAVE_NLINK_T */
>
> 1415: /* Define to the type of st_nlink in struct stat, or a supertype. */
> 1416: #define nlink_t  int
>
> 1480: #if !defined(HAVE_NLINK_T)
> 1481: typedef short nlink_t;
> 1482: #endif
>
> ***********
>
> I have still met the same error.
> In file included from ../../../hg/octave-work/libcruft/misc/f77-extern.cc:25:
> ../config.h:1481: error: declaration does not declare anything
>   
The problem seems to be that configure does not locate nlink_t, but
gnulib includes <sys/types.h> which has a definition for nlink_t.

I think the first thing to check is whether your <sys/types.h> includes
a definition for nlink_t. If it does, that is where config.h has picked
it up. The second question would be why the configure script did not
locate nlink_t in <sys/types.h>. It is that failure which is the
principal problem.

--Rik


reply via email to

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