problems with C++ project and libtool
Evil Kosh
evil_kosh_uk at yahoo.co.uk
Mon Dec 30 14:50:41 GMT 2002
Hi everyone
ok, I started to use kdevelop for my projects since Anjuta didnt make me
feel at home, I wanted to create a gtk+ project, but did not want gnome
support, so I made a c++ terminal project.
I compiled the project and will note that ./configure says
"appending configuration tag "CXX" to libtool"
which I guess would result in libtool getting the
--mode=link --tag CXX
flag?
but when it comes to compiling my project, I get about a million errors
and I notice that libtool is using this flag instead
--mode=link gcc
which just strikes me as odd, why would it say it's going to use CXX and
in fact use gcc ?
anyone know what could cause this problem?
I'm using `pkg-config --cflags gtk+-2.0 glib-2.0` in my CXXFLAGS and the
same but with --libs in my linked setup
thanks for any help you give
kosh
<now starts the entire output from ./configure and make>
<configure start>
checking build system type... i386-pc-linux-gnu
checking host system type... i386-pc-linux-gnu
checking target system type... i386-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for i386-linux-gcc... gcc
checking for C compiler default output... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... cpp
checking for i386-linux-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 whether g++ supports -Wundef... yes
checking whether g++ supports -Wbad-function-cast... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant 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 the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for i386-linux-ranlib... no
checking for ranlib... ranlib
checking for i386-linux-strip... no
checking for strip... strip
checking if gcc static flag works... no
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 supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/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++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for extra includes... no
checking for extra libs... no
checking if solarcell should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating solarcell/Makefile
fast creating solarcell/docs/Makefile
fast creating solarcell/docs/en/Makefile
fast creating solarcell/include/Makefile
fast creating solarcell/src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
*** success ***
<configure end>
<make start>
*** success ***
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
gmake all-recursive
gmake[1]: Entering directory `/home/usr/Code/solarcell'
Making all in solarcell
gmake[2]: Entering directory `/home/usr/Code/solarcell/solarcell'
Making all in include
gmake[3]: Entering directory
`/home/usr/Code/solarcell/solarcell/include'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/usr/Code/solarcell/solarcell/include'
Making all in src
gmake[3]: Entering directory `/home/usr/Code/solarcell/solarcell/src'
source='support.cc' object='support.o' libtool=no \
depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o support.o `test -f support.cc ||
echo './'`support.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from support.cc:15:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
support.cc: In function `GtkWidget* lookup_widget(GtkWidget*, const
gchar*)':
support.cc:27: warning: ISO C++ forbids braced-groups within expressions
support.cc: In function `GtkWidget* create_pixmap(GtkWidget*, const
gchar*)':
support.cc:79: warning: unused parameter `GtkWidget*widget'
source='ScreamerView.cc' object='ScreamerView.o' libtool=no \
depfile='.deps/ScreamerView.Po' tmpdepfile='.deps/ScreamerView.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o ScreamerView.o `test -f
ScreamerView.cc || echo './'`ScreamerView.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/dataview.h:4,
from /home/usr/Code/solarcell/solarcell/include/screamerview.h:4,
from ScreamerView.cc:1:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
ScreamerView.cc: In member function `virtual void
ScreamerView::Remove(bool)':
ScreamerView.cc:95: warning: unused parameter `bool force'
ScreamerView.cc: In function `gboolean FindScreamer(void*)':
ScreamerView.cc:209: warning: unused parameter `void*data'
ScreamerView.cc: In function `gboolean MonitorScreamer(void*)':
ScreamerView.cc:221: warning: unused parameter `void*data'
ScreamerView.cc: In function `void FindSelected(GtkTreeModel*,
GtkTreePath*,
GtkTreeIter*, void*)':
ScreamerView.cc:237: warning: unused parameter `GtkTreePath*path'
ScreamerView.cc:237: warning: unused parameter `void*data'
source='ScreamerNode.cc' object='ScreamerNode.o' libtool=no \
depfile='.deps/ScreamerNode.Po' tmpdepfile='.deps/ScreamerNode.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o ScreamerNode.o `test -f
ScreamerNode.cc || echo './'`ScreamerNode.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/dataview.h:4,
from /home/usr/Code/solarcell/solarcell/include/outputview.h:4,
from /home/usr/Code/solarcell/solarcell/include/screamernode.h:7,
from ScreamerNode.cc:1:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
ScreamerNode.cc: In function `gboolean NodeOutput(GIOChannel*,
GIOCondition,
void*)':
ScreamerNode.cc:405: warning: unused parameter `GIOCondition condition'
source='SceneView.cc' object='SceneView.o' libtool=no \
depfile='.deps/SceneView.Po' tmpdepfile='.deps/SceneView.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o SceneView.o `test -f SceneView.cc
|| echo './'`SceneView.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/dataview.h:4,
from /home/usr/Code/solarcell/solarcell/include/sceneview.h:4,
from SceneView.cc:1:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
SceneView.cc: In member function `virtual void
SceneView::OpenList(char*)':
SceneView.cc:177: warning: unused parameter `char*list'
SceneView.cc: In member function `virtual void
SceneView::SaveList(char*)':
SceneView.cc:185: warning: unused parameter `char*list'
SceneView.cc: In function `void RemoveScenes(GtkTreeModel*,
GtkTreePath*,
GtkTreeIter*, void*)':
SceneView.cc:194: warning: unused parameter `GtkTreePath*path'
SceneView.cc:194: warning: unused parameter `void*data'
source='Scene.cc' object='Scene.o' libtool=no \
depfile='.deps/Scene.Po' tmpdepfile='.deps/Scene.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o Scene.o `test -f Scene.cc || echo
'./'`Scene.cc
source='OutputView.cc' object='OutputView.o' libtool=no \
depfile='.deps/OutputView.Po' tmpdepfile='.deps/OutputView.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o OutputView.o `test -f OutputView.cc
|| echo './'`OutputView.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/dataview.h:4,
from /home/usr/Code/solarcell/solarcell/include/outputview.h:4,
from OutputView.cc:1:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
OutputView.cc: In member function `virtual void
OutputView::Update(char*)':
OutputView.cc:42: warning: unused parameter `char*buffer'
OutputView.cc:53:2: warning: no newline at end of file
source='Options.cc' object='Options.o' libtool=no \
depfile='.deps/Options.Po' tmpdepfile='.deps/Options.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o Options.o `test -f Options.cc ||
echo './'`Options.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/support.h:9,
from Options.cc:2:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
source='main.cc' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o main.o `test -f main.cc || echo
'./'`main.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from main.cc:10:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
source='interface.cc' object='interface.o' libtool=no \
depfile='.deps/interface.Po' tmpdepfile='.deps/interface.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o interface.o `test -f interface.cc
|| echo './'`interface.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from interface.cc:16:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
source='EventView.cc' object='EventView.o' libtool=no \
depfile='.deps/EventView.Po' tmpdepfile='.deps/EventView.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o EventView.o `test -f EventView.cc
|| echo './'`EventView.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/dataview.h:4,
from /home/usr/Code/solarcell/solarcell/include/eventview.h:4,
from EventView.cc:1:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
source='DataView.cc' object='DataView.o' libtool=no \
depfile='.deps/DataView.Po' tmpdepfile='.deps/DataView.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o DataView.o `test -f DataView.cc ||
echo './'`DataView.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from /home/usr/Code/solarcell/solarcell/include/dataview.h:4,
from DataView.cc:1:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
source='callbacks.cc' object='callbacks.o' libtool=no \
depfile='.deps/callbacks.Po' tmpdepfile='.deps/callbacks.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wnon-virtual-dtor -Wno-long-long
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -DENABLE_NLS
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/usr/Code/solarcell/solarcell/include -Wno-unused-variable
-fno-exceptions -fno-check-new -c -o callbacks.o `test -f callbacks.cc
|| echo './'`callbacks.cc
In file included from /usr/include/glib-2.0/glib.h:71,
from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
from /usr/include/gtk-2.0/gdk/gdk.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:31,
from callbacks.cc:5:
/usr/include/glib-2.0/glib/gutils.h:104:30: warning: "__OPTIMIZE__" is
not defined
callbacks.cc: In function `void OpenScene(GtkFileSelection*, void*)':
callbacks.cc:40: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:40: warning: unused parameter `void*user_data'
callbacks.cc: In function `void OpenCmdDir(GtkFileSelection*, void*)':
callbacks.cc:47: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:47: warning: unused parameter `void*user_data'
callbacks.cc: In function `void OpenScreamerExec(GtkFileSelection*,
void*)':
callbacks.cc:56: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:56: warning: unused parameter `void*user_data'
callbacks.cc: In function `void OpenContentDir(GtkFileSelection*,
void*)':
callbacks.cc:64: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:64: warning: unused parameter `void*user_data'
callbacks.cc: In function `void OpenScreamerConfigDir(GtkFileSelection*,
void*)':
callbacks.cc:72: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:72: warning: unused parameter `void*user_data'
callbacks.cc: In function `void OpenSceneList(GtkFileSelection*,
void*)':
callbacks.cc:80: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:80: warning: unused parameter `void*user_data'
callbacks.cc: In function `void SaveSceneList(GtkFileSelection*,
void*)':
callbacks.cc:87: warning: unused parameter `GtkFileSelection*selector'
callbacks.cc:87: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_MainWindow_destroy(GtkObject*,
void*)':
callbacks.cc:100: warning: unused parameter `GtkObject*object'
callbacks.cc:100: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_options1_activate(GtkMenuItem*,
void*)':
callbacks.cc:111: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:111: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_quit2_activate(GtkMenuItem*, void*)':
callbacks.cc:119: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:119: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_add2_activate(GtkMenuItem*, void*)':
callbacks.cc:127: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:127: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_remove1_activate(GtkMenuItem*,
void*)':
callbacks.cc:135: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:135: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_revert1_activate(GtkMenuItem*,
void*)':
callbacks.cc:143: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:143: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_preferences1_activate(GtkMenuItem*,
void*)':
callbacks.cc:153: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:153: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_verify1_activate(GtkMenuItem*,
void*)':
callbacks.cc:170: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:170: warning: unused parameter `void*user_data'
callbacks.cc: In function `void
on_reset_frame_count1_activate(GtkMenuItem*,
void*)':
callbacks.cc:179: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:179: warning: unused parameter `void*user_data'
callbacks.cc: In function `void
on_open_scene_list1_activate(GtkMenuItem*,
void*)':
callbacks.cc:187: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:187: warning: unused parameter `void*user_data'
callbacks.cc: In function `void
on_save_scene_list1_activate(GtkMenuItem*,
void*)':
callbacks.cc:196: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:196: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_refresh1_activate(GtkMenuItem*,
void*)':
callbacks.cc:204: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:204: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_start1_activate(GtkMenuItem*,
void*)':
callbacks.cc:214: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:214: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_stop1_activate(GtkMenuItem*, void*)':
callbacks.cc:223: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:223: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_force_stop1_activate(GtkMenuItem*,
void*)':
callbacks.cc:231: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:231: warning: unused parameter `void*user_data'
callbacks.cc: In function `void
on_signal_crashed1_activate(GtkMenuItem*,
void*)':
callbacks.cc:239: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:239: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_clear1_activate(GtkMenuItem*,
void*)':
callbacks.cc:248: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:248: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_help1_activate(GtkMenuItem*, void*)':
callbacks.cc:256: warning: unused parameter `GtkMenuItem*menuitem'
callbacks.cc:256: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Main_SceneButton_clicked(GtkButton*,
void*)':
callbacks.cc:264: warning: unused parameter `GtkButton*button'
callbacks.cc:264: warning: unused parameter `void*user_data'
callbacks.cc: In function `void
on_Main_ScreamerButton_clicked(GtkButton*,
void*)':
callbacks.cc:272: warning: unused parameter `GtkButton*button'
callbacks.cc:272: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Main_EventButton_clicked(GtkButton*,
void*)':
callbacks.cc:280: warning: unused parameter `GtkButton*button'
callbacks.cc:280: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Main_OutputButton_clicked(GtkButton*,
void*)':
callbacks.cc:288: warning: unused parameter `GtkButton*button'
callbacks.cc:288: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Options_OK_clicked(GtkButton*,
void*)':
callbacks.cc:300: warning: unused parameter `GtkButton*button'
callbacks.cc:300: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Options_Cancel_clicked(GtkButton*,
void*)':
callbacks.cc:316: warning: unused parameter `GtkButton*button'
callbacks.cc:316: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Options_Help_clicked(GtkButton*,
void*)':
callbacks.cc:324: warning: unused parameter `GtkButton*button'
callbacks.cc:324: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_FindCmdDir_clicked(GtkButton*,
void*)':
callbacks.cc:331: warning: unused parameter `GtkButton*button'
callbacks.cc:331: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_FindExecButton_clicked(GtkButton*,
void*)':
callbacks.cc:339: warning: unused parameter `GtkButton*button'
callbacks.cc:339: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_FindContentDir_clicked(GtkButton*,
void*)':
callbacks.cc:347: warning: unused parameter `GtkButton*button'
callbacks.cc:347: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_FindConfigButton_clicked(GtkButton*,
void*)':
callbacks.cc:355: warning: unused parameter `GtkButton*button'
callbacks.cc:355: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Scene_OK_clicked(GtkButton*, void*)':
callbacks.cc:362: warning: unused parameter `GtkButton*button'
callbacks.cc:362: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Scene_Cancel_clicked(GtkButton*,
void*)':
callbacks.cc:373: warning: unused parameter `GtkButton*button'
callbacks.cc:373: warning: unused parameter `void*user_data'
callbacks.cc: In function `void on_Scene_Help_clicked(GtkButton*,
void*)':
callbacks.cc:381: warning: unused parameter `GtkButton*button'
callbacks.cc:381: warning: unused parameter `void*user_data'
rm -f libsrc.a
ar cru libsrc.a support.o ScreamerView.o ScreamerNode.o SceneView.o
Scene.o OutputView.o Options.o main.o interface.o EventView.o DataView.o
callbacks.o
ranlib libsrc.a
gmake[3]: Leaving directory `/home/usr/Code/solarcell/solarcell/src'
gmake[3]: Entering directory `/home/usr/Code/solarcell/solarcell'
/bin/sh ../libtool --silent --mode=link gcc -ansi -W -Wall -pedantic
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -o solarcell ./src/libsrc.a
./src/libsrc.a(main.o): In function `main':
/home/usr/Code/solarcell/solarcell/src/main.cc:39: undefined reference
to `operator new(unsigned)'
/home/usr/Code/solarcell/solarcell/src/main.cc:43: undefined reference
to `operator new(unsigned)'
/home/usr/Code/solarcell/solarcell/src/main.cc:44: undefined reference
to `operator new(unsigned)'
/home/usr/Code/solarcell/solarcell/src/main.cc:45: undefined reference
to `operator new(unsigned)'
/home/usr/Code/solarcell/solarcell/src/main.cc:46: undefined reference
to `operator new(unsigned)'
./src/libsrc.a(EventView.o): In function `EventView::~EventView
[not-in-charge]()':
/home/usr/Code/solarcell/solarcell/src/EventView.cc:33: undefined
reference to `operator delete(void*)'
./src/libsrc.a(EventView.o): In function `EventView::~EventView
[in-charge]()':
/home/usr/Code/solarcell/solarcell/src/EventView.cc:33: undefined
reference to `operator delete(void*)'
./src/libsrc.a(EventView.o): In function `EventView::~EventView
[in-charge deleting]()':
/home/usr/Code/solarcell/solarcell/src/EventView.cc:33: undefined
reference to `operator delete(void*)'
./src/libsrc.a(EventView.o):/home/usr/Code/solarcell/solarcell/src/EventView.cc:9: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
./src/libsrc.a(DataView.o): In function `DataView::~DataView
[not-in-charge]()':
/home/usr/Code/solarcell/solarcell/src/DataView.cc:17: undefined
reference to `operator delete(void*)'
./src/libsrc.a(DataView.o): In function `DataView::~DataView
[in-charge]()':
/home/usr/Code/solarcell/solarcell/src/DataView.cc:17: undefined
reference to `operator delete(void*)'
./src/libsrc.a(DataView.o): In function `DataView::~DataView [in-charge
deleting]()':
/home/usr/Code/solarcell/solarcell/src/DataView.cc:17: undefined
reference to `operator delete(void*)'
./src/libsrc.a(DataView.o):/home/usr/Code/solarcell/solarcell/src/DataView.cc:10: undefined reference to `vtable for __cxxabiv1::__class_type_info'
./src/libsrc.a(callbacks.o): In function `OpenCmdDir(_GtkFileSelection*,
void*)':
/home/usr/Code/solarcell/solarcell/src/callbacks.cc:50: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::operator=(char const*)'
./src/libsrc.a(callbacks.o): In function
`OpenScreamerExec(_GtkFileSelection*, void*)':
/home/usr/Code/solarcell/solarcell/src/callbacks.cc:59: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::operator=(char const*)'
./src/libsrc.a(callbacks.o): In function
`OpenContentDir(_GtkFileSelection*, void*)':
/home/usr/Code/solarcell/solarcell/src/callbacks.cc:67: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::operator=(char const*)'
./src/libsrc.a(callbacks.o): In function
`OpenScreamerConfigDir(_GtkFileSelection*, void*)':
/home/usr/Code/solarcell/solarcell/src/callbacks.cc:75: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::operator=(char const*)'
./src/libsrc.a(ScreamerView.o): In function `ScreamerView::~ScreamerView
[not-in-charge]()':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:58: undefined
reference to `operator delete(void*)'
./src/libsrc.a(ScreamerView.o): In function `ScreamerView::~ScreamerView
[in-charge]()':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:58: undefined
reference to `operator delete(void*)'
./src/libsrc.a(ScreamerView.o): In function `ScreamerView::~ScreamerView
[in-charge deleting]()':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:58: undefined
reference to `operator delete(void*)'
./src/libsrc.a(ScreamerView.o): In function `ScreamerView::Add()':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:69: undefined
reference to `operator new(unsigned)'
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:81: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::c_str() const'
./src/libsrc.a(ScreamerView.o): In function `ScreamerView::Remove(int)':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:123: undefined
reference to `operator delete(void*)'
./src/libsrc.a(ScreamerView.o): In function `ScreamerView::Update(int)':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:156: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::c_str() const'
./src/libsrc.a(ScreamerView.o): In function
`std::__simple_alloc<ScreamerNode*,
std::__default_alloc_template<(bool)1, (int)0>
>::deallocate(ScreamerNode**, unsigned)':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:19: undefined
reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
./src/libsrc.a(ScreamerView.o): In function
`std::__simple_alloc<ScreamerNode*,
std::__default_alloc_template<(bool)1, (int)0> >::allocate(unsigned)':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:19: undefined
reference to `std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)'
./src/libsrc.a(ScreamerView.o): In function `std::__simple_alloc<int,
std::__default_alloc_template<(bool)1, (int)0> >::allocate(unsigned)':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:19: undefined
reference to `std::__default_alloc_template<(bool)1,
(int)0>::allocate(unsigned)'
./src/libsrc.a(ScreamerView.o): In function `std::__simple_alloc<int,
std::__default_alloc_template<(bool)1, (int)0> >::deallocate(int*,
unsigned)':
/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:19: undefined
reference to `std::__default_alloc_template<(bool)1,
(int)0>::deallocate(void*, unsigned)'
./src/libsrc.a(ScreamerView.o):/home/usr/Code/solarcell/solarcell/src/ScreamerView.cc:19: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
./src/libsrc.a(ScreamerNode.o): In function
`ScreamerNode::ScreamerNode[not-in-charge](int)':
/home/usr/Code/solarcell/solarcell/src/ScreamerNode.cc:24: undefined
reference to `std::basic_ofstream<char, std::char_traits<char>
>::basic_ofstream[in-charge]()'
/home/usr/Code/solarcell/solarcell/src/ScreamerNode.cc:24: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string[in-charge]()'
/home/usr/Code/solarcell/solarcell/src/ScreamerNode.cc:24: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string[in-charge]()'
/home/usr/Code/solarcell/solarcell/src/ScreamerNode.cc:24: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string[in-charge]()'
<snip, just keeps going and going until the end of the project>
collect2: ld returned 1 exit status
gmake[3]: *** [solarcell] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** failed ***
<make end>
--
Evil Kosh <evil_kosh_uk at yahoo.co.uk>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list