undefined references...



Hi group,

Need some help.
I am writing my first programm with glade. I have included some gnome widgets. During compilation I encountered the following mistakes: It is about some undefined references during linking...

[Tchepannou Ruwer gui]$ make clean
rm -f statgui callbacks.o interface.o main.o support.o
cd ../../base/bin; rm -f statgui
cd ../../bin; rm -f statgui
[Tchepannou Ruwer gui]$ make
gcc -O0 -Wall -DVERSION=\"0.1\" -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/gnome-libs/include/ -I ../../base/inc -I ../../system/inc -I ../../customer/inc -c callbacks.c gcc -O0 -Wall -DVERSION=\"0.1\" -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/gnome-libs/include/ -I ../../base/inc -I ../../system/inc -I ../../customer/inc -c interface.c gcc -O0 -Wall -DVERSION=\"0.1\" -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/gnome-libs/include/ -I ../../base/inc -I ../../system/inc -I ../../customer/inc -c main.c gcc -O0 -Wall -DVERSION=\"0.1\" -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/gnome-libs/include/ -I ../../base/inc -I ../../system/inc -I ../../customer/inc -c support.c g++ -O0 -Wall -o statgui callbacks.o interface.o main.o support.o -L../../bin -L/usr/lib -L/usr/X11R6/lib \ -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lreader -lgeneral
interface.o: In function `create_main_window':
interface.o(.text+0x278): undefined reference to `gnome_app_fill_menu'
interface.o(.text+0xd08): undefined reference to `gnome_stock_pixmap_widget'
interface.o(.text+0xdd9): undefined reference to `gnome_stock_pixmap_widget'
interface.o(.text+0xea9): undefined reference to `gnome_stock_pixmap_widget'
interface.o(.text+0xf79): undefined reference to `gnome_stock_pixmap_widget'
interface.o(.text+0x1049): undefined reference to `gnome_stock_pixmap_widget'
main.o: In function `main':
main.o(.text+0x17): undefined reference to `gnome_init'
support.o: In function `create_dummy_pixmap':
support.o(.text+0x119): undefined reference to `gnome_pixmap_new_from_xpm_d'
support.o: In function `create_pixmap':
support.o(.text+0x1eb): undefined reference to `gnome_pixmap_file'
support.o(.text+0x239): undefined reference to `gnome_pixmap_new_from_file'
support.o: In function `create_image':
support.o(.text+0x325): undefined reference to `gnome_pixmap_file'
support.o(.text+0x357): undefined reference to `gdk_imlib_load_image'
collect2: ld returned 1 exit status
make: *** [statgui] Fehler 1


Thanks for any contribution.

---
Eric Tchepannou

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]