* yacc Error when building GCC from source tar
@ 2006-07-14 18:33 sean yang
2006-07-14 21:48 ` Brian Dessent
0 siblings, 1 reply; 2+ messages in thread
From: sean yang @ 2006-07-14 18:33 UTC (permalink / raw)
To: gcc-help; +Cc: seanatpurdue
When I build GCC on my Free-BSD box, I met the following error. My yacc is a
berkeley yacc. Did someone meet this problem before? Can you give some
suggestion about the error? Thanks,
#which byacc
/usr/bin/byacc
#which yacc
/usr/bin/yacc
#../gcc/configure --prefix=/home/local_compiler/obj-gcc
--enable-languages=c,fortran
...
#make
....
gcc -c -g -O2 -DHAVE_CONFIG_H -I. -I../../gcc/intl
../../gcc/intl/ngettext.c
byacc --name-prefix=__gettext --output plural.c ../../gcc/intl/plural.y
usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename]
[-p symbol_prefix] filename
*** Error code 1
Stop in /usr/home/local_compiler/obj-gcc/intl.
*** Error code 1
Stop in /usr/home/local_compiler/obj-gcc
_________________________________________________________________
DonÂt just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: yacc Error when building GCC from source tar
2006-07-14 18:33 yacc Error when building GCC from source tar sean yang
@ 2006-07-14 21:48 ` Brian Dessent
0 siblings, 0 replies; 2+ messages in thread
From: Brian Dessent @ 2006-07-14 21:48 UTC (permalink / raw)
To: gcc-help
sean yang wrote:
> When I build GCC on my Free-BSD box, I met the following error. My yacc is a
> berkeley yacc. Did someone meet this problem before? Can you give some
> suggestion about the error? Thanks,
You should install GNU bison and re-run configure.
You shouldn't need either yacc or bison though if you are building from
a tarball, unless something caused your timestamps to be incorrect. The
generated files should be included in the tarball.
Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-14 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14 18:33 yacc Error when building GCC from source tar sean yang
2006-07-14 21:48 ` Brian Dessent
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).