Modify

Ticket #75 (new defect)

Opened 6 years ago

Last modified 6 years ago

libyaml trunk (rev 266) don't compile

Reported by: miki@… Owned by: xi
Priority: normal Component: libyaml
Severity: normal Keywords:
Cc:

Description

{{{mtebeka@bugs:libyaml - 12:13 $ ./bootstrap autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB

run info '(automake)Extending aclocal' or see  http://sources.redhat.com/automake/automake.html#Extending-aclocal

/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force Putting files in AC_CONFIG_AUX_DIR, `config'. /home/mtebeka/src/libyaml/config /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB

run info '(automake)Extending aclocal' or see  http://sources.redhat.com/automake/automake.html#Extending-aclocal

/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac: installing `config/install-sh' configure.ac: installing `config/missing' src/Makefile.am: installing `config/depcomp' autoreconf: Leaving directory `.' mtebeka@bugs:libyaml - 12:14 $ ./configure && make checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i486-slackware-linux/bin/ld checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for doxygen... true checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/home/mtebeka/src/libyaml' Making all in include /home/mtebeka/src/libyaml/include make[2]: Entering directory `/home/mtebeka/src/libyaml/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mtebeka/src/libyaml/include' Making all in src /home/mtebeka/src/libyaml/src make[2]: Entering directory `/home/mtebeka/src/libyaml/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -march=i586 -mtune=i686 -MT api.lo -MD -MP -MF ".deps/api.Tpo" -c -o api.lo api.c; \

then mv -f ".deps/api.Tpo" ".deps/api.Plo"; else rm -f ".deps/api.Tpo"; exit 1; fi

mkdir .libs

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -march=i586 -mtune=i686 -MT api.lo -MD -MP -MF .deps/api.Tpo -c api.c -fPIC -DPIC -o .libs/api.o

In file included from yaml_private.h:6,

from api.c:2:

../include/yaml.h:407: error: expected ',' or '}' before 'YAML_BLOCK_SEQUENCE_STYLE' ../include/yaml.h:1263: error: expected ',' or '}' before '.' token ../include/yaml.h:1514: error: expected specifier-qualifier-list before 'yaml_node_t' ../include/yaml.h:1685: error: expected '=', ',', ';', 'asm' or 'attribute' before '*' token api.c:341: error: conflicting types for 'yaml_parser_get_error' ../include/yaml.h:2385: error: previous declaration of 'yaml_parser_get_error' was here api.c:521: error: conflicting types for 'yaml_emitter_get_error' ../include/yaml.h:2695: error: previous declaration of 'yaml_emitter_get_error' was here api.c:803: warning: conflicting types for 'yaml_token_destroy' api.c:317: warning: previous implicit declaration of 'yaml_token_destroy' was here api.c: In function 'yaml_event_duplicate': api.c:991: error: 'struct <anonymous>' has no member named 'is_plain_implicit' api.c:992: error: 'const struct <anonymous>' has no member named 'is_plain_implicit' api.c:993: error: 'struct <anonymous>' has no member named 'is_quoted_implicit' api.c:994: error: 'const struct <anonymous>' has no member named 'is_quoted_implicit' api.c:1007: error: 'struct <anonymous>' has no member named 'is_implicit' api.c:1008: error: 'const struct <anonymous>' has no member named 'is_implicit' api.c:1022: error: 'struct <anonymous>' has no member named 'is_implicit' api.c:1023: error: 'const struct <anonymous>' has no member named 'is_implicit' api.c: At top level: api.c:1082: error: conflicting types for 'yaml_event_create_document_start' ../include/yaml.h:1003: error: previous declaration of 'yaml_event_create_document_start' was here api.c:1191: error: conflicting types for 'yaml_event_create_scalar' ../include/yaml.h:1105: error: previous declaration of 'yaml_event_create_scalar' was here api.c: In function 'yaml_event_create_scalar': api.c:1228: error: 'struct <anonymous>' has no member named 'is_plain_implicit' api.c:1228: error: 'struct <anonymous>' has no member named 'is_quoted_implicit' api.c: In function 'yaml_event_create_sequence_start': api.c:1272: error: 'struct <anonymous>' has no member named 'is_implicit' api.c: In function 'yaml_event_create_mapping_start': api.c:1331: error: 'struct <anonymous>' has no member named 'is_implicit' api.c: At top level: api.c:1365: warning: conflicting types for 'yaml_event_destroy' api.c:499: warning: previous implicit declaration of 'yaml_event_destroy' was here make[2]: * [api.lo] Error 1 make[2]: Leaving directory `/home/mtebeka/src/libyaml/src' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/home/mtebeka/src/libyaml' make: * [all] Error 2 mtebeka@bugs:libyaml - 12:14 $ svn info Path: . URL:  http://svn.pyyaml.org/libyaml/trunk Repository Root:  http://svn.pyyaml.org Repository UUID: 18f92427-320e-0410-9341-c67f048884a3 Revision: 266 Node Kind: directory Schedule: normal Last Changed Author: xi Last Changed Rev: 266 Last Changed Date: 2008-01-03 19:33:04 -0800 (Thu, 03 Jan 2008)

}}}

gcc 4.1.2

Attachments

Change History

comment:1 Changed 6 years ago by miki@…

Formatting didn't work, trying again

mtebeka@bugs:libyaml - 12:13 $ ./bootstrap 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
Putting files in AC_CONFIG_AUX_DIR, `config'.
/home/mtebeka/src/libyaml/config
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac: installing `config/install-sh'
configure.ac: installing `config/missing'
src/Makefile.am: installing `config/depcomp'
autoreconf: Leaving directory `.'
mtebeka@bugs:libyaml - 12:14 $ ./configure && make
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for doxygen... true
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/home/mtebeka/src/libyaml'
Making all in include
/home/mtebeka/src/libyaml/include
make[2]: Entering directory `/home/mtebeka/src/libyaml/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mtebeka/src/libyaml/include'
Making all in src
/home/mtebeka/src/libyaml/src
make[2]: Entering directory `/home/mtebeka/src/libyaml/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -march=i586 -mtune=i686 -MT api.lo -MD -MP -MF ".deps/api.Tpo" -c -o api.lo api.c; \
        then mv -f ".deps/api.Tpo" ".deps/api.Plo"; else rm -f ".deps/api.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -march=i586 -mtune=i686 -MT api.lo -MD -MP -MF .deps/api.Tpo -c api.c  -fPIC -DPIC -o .libs/api.o
In file included from yaml_private.h:6,
                 from api.c:2:
../include/yaml.h:407: error: expected ',' or '}' before 'YAML_BLOCK_SEQUENCE_STYLE'
../include/yaml.h:1263: error: expected ',' or '}' before '.' token
../include/yaml.h:1514: error: expected specifier-qualifier-list before 'yaml_node_t'
../include/yaml.h:1685: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
api.c:341: error: conflicting types for 'yaml_parser_get_error'
../include/yaml.h:2385: error: previous declaration of 'yaml_parser_get_error' was here
api.c:521: error: conflicting types for 'yaml_emitter_get_error'
../include/yaml.h:2695: error: previous declaration of 'yaml_emitter_get_error' was here
api.c:803: warning: conflicting types for 'yaml_token_destroy'
api.c:317: warning: previous implicit declaration of 'yaml_token_destroy' was here
api.c: In function 'yaml_event_duplicate':
api.c:991: error: 'struct <anonymous>' has no member named 'is_plain_implicit'
api.c:992: error: 'const struct <anonymous>' has no member named 'is_plain_implicit'
api.c:993: error: 'struct <anonymous>' has no member named 'is_quoted_implicit'
api.c:994: error: 'const struct <anonymous>' has no member named 'is_quoted_implicit'
api.c:1007: error: 'struct <anonymous>' has no member named 'is_implicit'
api.c:1008: error: 'const struct <anonymous>' has no member named 'is_implicit'
api.c:1022: error: 'struct <anonymous>' has no member named 'is_implicit'
api.c:1023: error: 'const struct <anonymous>' has no member named 'is_implicit'
api.c: At top level:
api.c:1082: error: conflicting types for 'yaml_event_create_document_start'
../include/yaml.h:1003: error: previous declaration of 'yaml_event_create_document_start' was here
api.c:1191: error: conflicting types for 'yaml_event_create_scalar'
../include/yaml.h:1105: error: previous declaration of 'yaml_event_create_scalar' was here
api.c: In function 'yaml_event_create_scalar':
api.c:1228: error: 'struct <anonymous>' has no member named 'is_plain_implicit'
api.c:1228: error: 'struct <anonymous>' has no member named 'is_quoted_implicit'
api.c: In function 'yaml_event_create_sequence_start':
api.c:1272: error: 'struct <anonymous>' has no member named 'is_implicit'
api.c: In function 'yaml_event_create_mapping_start':
api.c:1331: error: 'struct <anonymous>' has no member named 'is_implicit'
api.c: At top level:
api.c:1365: warning: conflicting types for 'yaml_event_destroy'
api.c:499: warning: previous implicit declaration of 'yaml_event_destroy' was here
make[2]: *** [api.lo] Error 1
make[2]: Leaving directory `/home/mtebeka/src/libyaml/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mtebeka/src/libyaml'
make: *** [all] Error 2
mtebeka@bugs:libyaml - 12:14 $ svn info
Path: .
URL: http://svn.pyyaml.org/libyaml/trunk
Repository Root: http://svn.pyyaml.org
Repository UUID: 18f92427-320e-0410-9341-c67f048884a3
Revision: 266
Node Kind: directory
Schedule: normal
Last Changed Author: xi
Last Changed Rev: 266
Last Changed Date: 2008-01-03 19:33:04 -0800 (Thu, 03 Jan 2008)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from xi. Next status will be 'new'
The owner will be changed from xi to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.