* RE: Failed to build plural.c on IRIX64 6.5
@ 2009-07-23 20:04 Tovrea, George W (US SSA)
0 siblings, 0 replies; 3+ messages in thread
From: Tovrea, George W (US SSA) @ 2009-07-23 20:04 UTC (permalink / raw)
To: gcc-help; +Cc: Ian Lance Taylor
Sorry about that, accidentally posted to gcc-bugs.
-----Original Message-----
From: Tovrea, George W (US SSA)
Sent: Thursday, July 23, 2009 1:01 PM
To: 'gcc-bugs@gcc.gnu.org'
Cc: 'Ian Lance Taylor'
Subject: RE: Failed to build plural.c on IRIX64 6.5
As you suggested, I downloaded/built bison 1.875 (plus the latest m4)
and got passed the problem below. However, there is a new problem. File
config.cache in the gcc directory is empty and no Makefile was
generated. Consequently, the following error occurs:
make[3]: Entering directory
`/home/users/tovrea/FFMPEG/gcc-4.4.0-objdir-sgi6/gcc'
make[3]: *** No rule to make target `all'. Stop.
make[3]: Leaving directory
`/home/users/tovrea/FFMPEG/gcc-4.4.0-objdir-sgi6/gcc'
I didn't see any suspicious errors in config.log.
-----Original Message-----
From: Ian Lance Taylor [mailto:iant@google.com]
Sent: Thursday, July 23, 2009 9:49 AM
To: Tovrea, George W (US SSA)
Subject: Re: Failed to build plural.c on IRIX64 6.5
"Tovrea, George W (US SSA)" <george.tovrea@baesystems.com> writes:
> Ran
>
> gcc -c -g --save-temps -DHAVE_CONFIG_H -I.
> -I/home/users/tovrea/FFMPEG/gcc-4.4.0-RC-20090414/intl plural.c
>
> The plural.i filed contained
>
> # 112
> "/home/users/tovrea/FFMPEG/gcc-4.4.0-RC-20090414/intl/plural-exp.h"
> extern void libintl_gettext_free_exp (struct expression *exp)
> ;
> extern int libintl_gettextparse (void *arg);
> extern struct expression libintl_gettext_germanic_plural ;
> extern void libintl_gettext_extract_plural (const char *nullentry,
> struct expression **pluralp, unsigned long int *npluralsp)
> ...
> # 3 "bison.simple"
> # 153 "bison.simple"
> int libintl_gettextparse (void);
> # 196 "bison.simple"
> # 216 "bison.simple"
> int
> libintl_gettextparse(arg)
> void *arg;
Please also send messages to the mailing list, not just to me. Thanks.
This looks like libintl/plural.c was rebuilt with an old or somehow
incompatible version of bison. plural.c is distributed with gcc; it
need not be rebuilt.
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Failed to build plural.c on IRIX64 6.5
2009-07-22 15:38 Tovrea, George W (US SSA)
@ 2009-07-23 0:23 ` Ian Lance Taylor
0 siblings, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2009-07-23 0:23 UTC (permalink / raw)
To: Tovrea, George W (US SSA); +Cc: gcc-help
"Tovrea, George W (US SSA)" <george.tovrea@baesystems.com> writes:
> Failed to build on IRIX64 6.5 with the following error:
>
> gcc -c -g -DHAVE_CONFIG_H -I.
> -I/home/users/tovrea/FFMPEG/gcc-4.4.0-RC-20090414/intl plural.c
> bison.simple:153: conflicting types for `libintl_gettextparse'
> /home/users/tovrea/FFMPEG/gcc-4.4.0-RC-20090414/intl/plural-exp.h:114:
> previous declaration of `libintl_gettextparse'
> bison.simple: In function `libintl_gettextparse':
> bison.simple:219: number of arguments doesn't match prototype
> bison.simple:153: prototype declaration
I don't really see how this could happen. Can you run this command with
the --save-temps option and take a look at the plural.i file to see the
different declarations of libint_gettextparse? Also, which version of
gcc are you running?
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Failed to build plural.c on IRIX64 6.5
@ 2009-07-22 15:38 Tovrea, George W (US SSA)
2009-07-23 0:23 ` Ian Lance Taylor
0 siblings, 1 reply; 3+ messages in thread
From: Tovrea, George W (US SSA) @ 2009-07-22 15:38 UTC (permalink / raw)
To: gcc-help
Failed to build on IRIX64 6.5 with the following error:
gcc -c -g -DHAVE_CONFIG_H -I.
-I/home/users/tovrea/FFMPEG/gcc-4.4.0-RC-20090414/intl plural.c
bison.simple:153: conflicting types for `libintl_gettextparse'
/home/users/tovrea/FFMPEG/gcc-4.4.0-RC-20090414/intl/plural-exp.h:114:
previous declaration of `libintl_gettextparse'
bison.simple: In function `libintl_gettextparse':
bison.simple:219: number of arguments doesn't match prototype
bison.simple:153: prototype declaration
Bill Tovrea
BAE Systems
16550 West Bernardo Drive
San Diego, CA 92127
Telephone: (858) 592-5292
E-mail: George.Tovrea@baesystems.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-23 20:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-23 20:04 Failed to build plural.c on IRIX64 6.5 Tovrea, George W (US SSA)
-- strict thread matches above, loose matches on Subject: below --
2009-07-22 15:38 Tovrea, George W (US SSA)
2009-07-23 0:23 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).