Hi! Dne 09.06.2014 (pon) ob 19:26 -0500 je Bill Brown napisal(a): > Hello Gtk users / devs: > > > I've got a program that compiles against gtk3 but fails to link. The > error I get is. > > > [ERROR] /usr/bin/ld: /home/bill//container.o: undefined reference to > symbol 'gtk_window_get_default_widget' > [ERROR] /usr/lib/libgtk-3.so.0: error adding symbols: DSO missing from > command line How are you compiling your program? This error is usually caused by listing libraries before yur objects on linker command line. Proper way of compiling GTK+ applications would be something like this: gcc -o app obj1.o obj2.o $(pkg-config --libs gtk-3.0) Cheers, Tadej -- Tadej Borovšak tadej.borovsak@xxxxxxxxx tadeboro@xxxxxxxxx blog.borovsak.si _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list