[glade--]linkage problem
Cyrille Bollu <[email protected]>
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm new to C++ and glade and I'm currently trying to compile my first application. But the following error happens at linkage: Making all in src make[2]: Entre dans le répertoire `/home/cyb/Projets/projet1/src' /bin/sh ../libtool --mode=link g++ -g -O2 -I/usr/lib/gnomemm/include -I/usr/inlude/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/inclue/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-.2 -I/usr/X11R6/include -I/usr/lib/sigc++/include -I/usr/lib/gtkmm/include -I/ur/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -o projet1 projet1.o windw1_glade.o window1.o board.o pot.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnommm -lgtkmm -lgdkmm -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lsic -lpthread g++ -g -O2 -I/usr/lib/gnomemm/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPRT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclde -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/ib/sigc++/include -I/usr/lib/gtkmm/include -I/usr/lib/sigc++-1.0/include -I/usrinclude/sigc++-1.0 -o projet1 projet1.o window1_glade.o window1.o board.o pot.o-rdynamic -L/usr/lib -L/usr/X11R6/lib /usr/lib/libgnomemm.so -lgnomeui -lart_lpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile /usr/lib/libtkmm.so /usr/lib/libgdkmm.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm /usr/lib/libsigc.so -lthread projet1.o: In function `main': /home/cyb/Projets/projet1/src/projet1.cc:21: undefined reference to `SigC::ObjetScoped::ObjectScoped[not-in-charge]()' projet1.o: In function `main': /usr/include/gtk--/main.h:168: undefined reference to `Gtk::Main::instance_' projet1.o: In function `main': /usr/include/c++/3.2/bits/stl_alloc.h:633: undefined reference to `SigC::Object:~Object [not-in-charge]()' /usr/include/c++/3.2/bits/stl_alloc.h:633: undefined reference to `SigC::Objectcoped::~ObjectScoped [not-in-charge]()' projet1.o:/home/cyb/Projets/projet1/src/projet1.cc:17: undefined reference to ` Then come hundreds of "undefined references". I couldn't find any reference to a solution to this problem with google. Any help would be very appreciated. Please can somebody here help me? Cyrille PS: I'm running RH8.0 glade-0.6.4-7 glademm-0.6.2-202 gnomemm-1.2.3-fr2 gnomemm-devel-1.2.3-fr2 gtkmm-1.2.9-1.ximian.1 gtkmm-devel-1.2.9-1.ximian.1 libsigc++-1.0.3-5 libsigc++-devel-1.0.3-5