[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: |
Tatsuro MATSUOKA |
Subject: |
Re: complie error of f77-extern.cc on development source (Mecurial) under MinGW |
Date: |
Wed, 23 Dec 2009 06:29:38 +0900 (JST) |
Hello Rik
Thank you for your reply and changeset
With changeset
Rik Remove redundant test for nlink_t in configure.ac default tip
changeset | files
author Rik <address@hidden>
Tue Dec 22 11:41:08 2009 -0800 (84 minutes ago)
changeset 10015 49563d18ca78
***********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
If I hack config.h
1416: //#define nlink_t int
f77-extern.cc can be complied.
Regards
Tatsuro
--- Rik <address@hidden> wrote:
> Tatsuro MATSUOKA wrote:
> > Hello
> >
> >
> > I have deleted all files and directories and dowload fresh source by
> >
> > hg clone http://www.octave.org/hg/octave octave
> >
> > and ./autogen.sh
> >
> > again.
> >
> > However, I have 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
> >
> > config.h
> > 1480: #if !defined(HAVE_NLINK_T)
> > 1481: typedef short nlink_t;
> > 1482: #endif
> >
> > HMMMM? Might it be a bug of complier?
> >
> It may have been an error in configure.ac. The file used to read:
> AC_CHECK_TYPES([dev_t, ino_t, nlink_t, nlink_t])
>
> This might put two pieces of code to check for the nlink_t and could
> cause a problem. I have removed the unnecessary second check for
> nlink_t. The changeset is 49563d18ca78. Could you get the latest sources
> and re-run 'autogen.sh' to see if it builds?
>
> --Rik
>
--------------------------------------
Get Disney character's mail address on Yahoo! Mail
http://pr.mail.yahoo.co.jp/disney/