[Top][All Lists]

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

compile problem in bison bison-1.875

From: hotlips Internet admin
Subject: compile problem in bison bison-1.875
Date: Sat, 8 Mar 2003 19:11:47 -0500 (EST)

OS: SunOS 4.1.4 (sparc)
CC: gcc

make bison-1.875 for installing gcc 3.2.2 got this -

make[2]: Entering directory `/sd3/e/ftp/pub/utils/bison-1.875/lib'
source='argmatch.c' object='argmatch.o' libtool=no \
depfile='.deps/argmatch.Po' tmpdepfile='.deps/argmatch.TPo' \
depmode=gcc /bin/ksh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../lib    -pipe -O2 -c `test 
-f 'argmatch.c' || echo './'`argmatch.c
 argmatch.c: In function `__argmatch_die':
 argmatch.c:59: `EXIT_FAILURE' undeclared (first use this function)
 argmatch.c:59: (Each undeclared identifier is reported only once
 argmatch.c:59: for each function it appears in.)
 make[2]: *** [argmatch.o] Error 1
 make[2]: Leaving directory `/sd3/e/ftp/pub/utils/bison-1.875/lib'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/sd3/e/ftp/pub/utils/bison-1.875'
 make: *** [all] Error 2

The fix was to add these lines to "argmatch.c:" -

#  define EXIT_FAILURE 1
# endif

Bruce Becker                    +1 416 410 0879
GTS Network Administration      Toronto, Ont.
Email:  address@hidden

reply via email to

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