help-bison
[Top][All Lists]
Advanced

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

Compiling problems


From: Steffen Bertsch
Subject: Compiling problems
Date: Wed, 26 Jul 2006 11:06:13 +0200

Dear bison helpers,

i tried to compile bison and did ./configure and make.
Attached is the ./configure log-file.
starting "make" or "make check" results in the following errors:

gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c strndup.c
In file included from /usr/include/string.h:359,
                 from strndup.c:29:
/usr/include/bits/string2.h:1234: warning: `strndup' redefined
../config.h:404: warning: this is the location of the previous definition
strndup.c:48: parse error before `('
strndup.c:48: parse error before `)'
strndup.c:50: conflicting types for `n'
strndup.c:48: previous declaration of `n'
strndup.c:51: parse error before `{'
strndup.c:53: `len' undeclared here (not in a function)
strndup.c:53: initializer element is not constant
strndup.c:55: parse error before `if'
strndup.c:58: `len' undeclared here (not in a function)
strndup.c:58: variable `new' has initializer but incomplete type
strndup.c:58: conflicting types for `new'
strndup.c:53: previous declaration of `new'
strndup.c:58: warning: data definition has no type or storage class
strndup.c:59: parse error before `return'
make[3]: *** [strndup.o] Error 1
make[3]: Leaving directory `/usr/local/bison-2.3/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/bison-2.3/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/bison-2.3'
make: *** [all] Error 2

I need bison for compiling wu-ftp.
Thanks for helping me.

Best regards

ZUNDEL Holding GmbH & Co KG


Steffen Bertsch
- IT-Manager -
----------------------------------------------------
http://www.berghof.com/
mailto:address@hidden
Phone: +49 7121 894-178
Fax: +49 7121 894-100
Postal address:
Harretstr. 1
72800 Eningen
Germany
 

Attachment: bison2.3config.log
Description: Binary data


reply via email to

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