Re: GTK+ library access issue?

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

 



On Mon, Oct 24, 2011 at 08:09:39AM -0700, David Buchan wrote:
> Trying to make now gives over 1700 errors, ALL of which are like this small sample:
> 
> /x.c:43: undefined reference to `g_threads_got_initialized'
> /x.c:44: undefined reference to `g_thread_init'
> /x.c:46: undefined reference to `gtk_init'
> /x.c:49: undefined reference to `g_malloc0'
> /x.c:57: undefined reference to `gtk_builder_new'
> /x.c:60: undefined reference to `g_free'
> /x.c:98: undefined reference to `gtk_entry_get_type'
> etc etc...
> collect2: ld returned 1 exit status
> make: *** [x] Error 1

A typical symptom of empty CFLAGS and LIBS due to a pkg-config error.
Run the pkg-config commands manually and see what they print. Fix the
problems (probably something missing).  I cannot give any Ubuntu-specific
advice but the problem is usually obvious from the pkg-config errors.

Yeti

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux