[Gambas-user] Rev 4651 compile error with gb.xml

Bruce Bruen bbruen at ...2308...
Sun Apr 22 00:20:54 CEST 2012


reconfig-all completed OK
configure -C completed OK
make went well until the xml components ...

Making all in gb.libxml
make[2]: Entering directory `/home/bb/trunk/gb.libxml'
make  all-recursive
make[3]: Entering directory `/home/bb/trunk/gb.libxml'
Making all in src
make[4]: Entering directory `/home/bb/trunk/gb.libxml/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/libxml2     -pipe -Wall -Wno-unused-value
-fsigned-char -fvisibility=hidden -g -Os  -MT main.lo -MD -MP
-MF .deps/main.Tpo -c -o main.lo main.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2
-pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c  -fPIC -DPIC
-o .libs/main.o
mv -f .deps/main.Tpo .deps/main.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/libxml2     -pipe -Wall -Wno-unused-value
-fsigned-char -fvisibility=hidden -g -Os  -MT CXMLNode.lo -MD -MP
-MF .deps/CXMLNode.Tpo -c -o CXMLNode.lo CXMLNode.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2
-pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-MT CXMLNode.lo -MD -MP -MF .deps/CXMLNode.Tpo -c CXMLNode.c  -fPIC
-DPIC -o .libs/CXMLNode.o
mv -f .deps/CXMLNode.Tpo .deps/CXMLNode.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/libxml2     -pipe -Wall -Wno-unused-value
-fsigned-char -fvisibility=hidden -g -Os  -MT CXMLReader.lo -MD -MP
-MF .deps/CXMLReader.Tpo -c -o CXMLReader.lo CXMLReader.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2
-pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-MT CXMLReader.lo -MD -MP -MF .deps/CXMLReader.Tpo -c CXMLReader.c
-fPIC -DPIC -o .libs/CXMLReader.o
mv -f .deps/CXMLReader.Tpo .deps/CXMLReader.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/libxml2     -pipe -Wall -Wno-unused-value
-fsigned-char -fvisibility=hidden -g -Os  -MT CXMLWriter.lo -MD -MP
-MF .deps/CXMLWriter.Tpo -c -o CXMLWriter.lo CXMLWriter.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2
-pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-MT CXMLWriter.lo -MD -MP -MF .deps/CXMLWriter.Tpo -c CXMLWriter.c
-fPIC -DPIC -o .libs/CXMLWriter.o
mv -f .deps/CXMLWriter.Tpo .deps/CXMLWriter.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -I/usr/include/libxml2     -pipe -Wall -Wno-unused-value
-fsigned-char -fvisibility=hidden -g -Os  -MT CXMLDocument.lo -MD -MP
-MF .deps/CXMLDocument.Tpo -c -o CXMLDocument.lo CXMLDocument.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2
-pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os
-MT CXMLDocument.lo -MD -MP -MF .deps/CXMLDocument.Tpo -c CXMLDocument.c
-fPIC -DPIC -o .libs/CXMLDocument.o
mv -f .deps/CXMLDocument.Tpo .deps/CXMLDocument.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc -pipe -Wall
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os  -module
-o gb.libxml.la -rpath /usr/local/lib/gambas3 main.lo CXMLNode.lo
CXMLReader.lo CXMLWriter.lo CXMLDocument.lo -lxml2   
libtool: link: gcc
-shared  .libs/main.o .libs/CXMLNode.o .libs/CXMLReader.o .libs/CXMLWriter.o .libs/CXMLDocument.o   /usr/lib/libxml2.so -ldl -lz -lm     -Wl,-soname -Wl,gb.libxml.so.0 -o .libs/gb.libxml.so.0.0.0
libtool: link: (cd ".libs" && rm -f "gb.libxml.so.0" && ln -s
"gb.libxml.so.0.0.0" "gb.libxml.so.0")
libtool: link: (cd ".libs" && rm -f "gb.libxml.so" && ln -s
"gb.libxml.so.0.0.0" "gb.libxml.so")
libtool: link: ( cd ".libs" && rm -f "gb.libxml.la" && ln -s
"../gb.libxml.la" "gb.libxml.la" )
make[4]: Leaving directory `/home/bb/trunk/gb.libxml/src'
make[4]: Entering directory `/home/bb/trunk/gb.libxml'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bb/trunk/gb.libxml'
make[3]: Leaving directory `/home/bb/trunk/gb.libxml'
make[2]: Leaving directory `/home/bb/trunk/gb.libxml'
Making all in gb.xml
make[2]: Entering directory `/home/bb/trunk/gb.xml'
make  all-recursive
make[3]: Entering directory `/home/bb/trunk/gb.xml'
Making all in src
make[4]: Entering directory `/home/bb/trunk/gb.xml/src'
Making all in .
make[5]: Entering directory `/home/bb/trunk/gb.xml/src'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I..    -Wall -fexceptions -pedantic -Wextra -Woverloaded-virtual
-Wfloat-equal -Wno-write-strings -Wpointer-arith -Wcast-qual
-Wcast-align -Wconversion -Wshadow -Wredundant-decls -Wdouble-promotion
-Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline
-Wno-missing-field-initializers -Wno-unused-parameter -g -ggdb -std=c
++0x -MT gb_xml_la-main.lo -MD -MP -MF .deps/gb_xml_la-main.Tpo -c -o
gb_xml_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -fexceptions
-pedantic -Wextra -Woverloaded-virtual -Wfloat-equal -Wno-write-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow
-Wredundant-decls -Wdouble-promotion -Winit-self -Wswitch-default
-Wswitch-enum -Wundef -Wlogical-op -Winline
-Wno-missing-field-initializers -Wno-unused-parameter -g -ggdb -std=c
++0x -MT gb_xml_la-main.lo -MD -MP -MF .deps/gb_xml_la-main.Tpo -c
main.cpp  -fPIC -DPIC -o .libs/gb_xml_la-main.o
cc1plus: error: unrecognized command line option "-Wdouble-promotion"
make[5]: *** [gb_xml_la-main.lo] Error 1
make[5]: Leaving directory `/home/bb/trunk/gb.xml/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/bb/trunk/gb.xml/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bb/trunk/gb.xml'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/bb/trunk/gb.xml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bb/trunk'
make: *** [all] Error 2






More information about the User mailing list