[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build errors (error: conflicting types for 'yyget_leng')
From: |
Andrew Milkowski |
Subject: |
build errors (error: conflicting types for 'yyget_leng') |
Date: |
Thu, 25 Mar 2010 23:59:36 -0400 |
Hi there
using latest git clone from git clone git://git.sv.gnu.org/guile.git
made an attempt to build with the following script
(all dependencies are resolving, error occurs at the install phase)
thanks for any guide in this!
1. environment
bash-3.2$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin10.0
bash-3.2$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure
--disable-checking --enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
bash-3.2$ flex -v
^C
bash-3.2$ flex -V
flex 2.5.35
2. script
export LDFLAGS="-L/opt/local/src/bdw-gc/current/lib"
export BDW_GC_CFLAGS=-I/opt/local/src/bdw-gc/current/include
export BDW_GC_LIBS=-lgc
./configure --prefix=/opt/local/src/guile/git/dist \
--with-libgmp-prefix=/opt/local/src/gmp/current \
--with-libunistring-prefix=/opt/local/src/libunistring/current
make
make install
3. error output:
make install-am
if [ "no" = "yes" ]; then \
gcc -std=gnu99 -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I..
-I../lib -I../lib -I/opt/local/lib/libffi-3.0.9/include -c -o
c-tokenize.o c-tokenize.c; \
else \
gcc -std=gnu99 -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I..
-I../lib -I../lib -I/opt/local/lib/libffi-3.0.9/include
-I/opt/local/src/libunistring/current/include
-I/opt/local/src/gmp/current/include -Wall -Wmissing-prototypes
-Wdeclaration-after-statement -Wundef -Wswitch-enum
-fvisibility=hidden -I/opt/local/src/bdw-gc/current/include -g -O2 -c
-o c-tokenize.o c-tokenize.c; \
fi
<stdout>:658: error: conflicting types for 'yyget_leng'
./c-tokenize.lex:32: error: previous declaration of 'yyget_leng' was here
<stdout>:2051: error: conflicting types for 'yyget_leng'
./c-tokenize.lex:32: error: previous declaration of 'yyget_leng' was here
make[2]: *** [c-tokenize.o] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
- build errors (error: conflicting types for 'yyget_leng'),
Andrew Milkowski <=