On Fri, 19 Feb 1999, Josh Steiner wrote:
# here's the problem I'm having right now:
#
# [root@bw66 trygtk]# gcc -I /usr/local/lib/glib/include bb.c
# /tmp/cca005171.o: In function `main':
# /tmp/cca005171.o(.text+0xf): undefined reference to `gtk_init'
# /tmp/cca005171.o(.text+0x19): undefined reference to `gtk_window_new'
# /tmp/cca005171.o(.text+0x2a): undefined reference to `gtk_widget_show'
# /tmp/cca005171.o(.text+0x32): undefined reference to `gtk_main'
Here you just need to link against the gtk libraries:
gcc -I /usr/local/lib/glib/include bb.c -lgtk
should do it for you.
G'day!
-- n i c h o l a s j l e o n
elegance through simplicity*http://mrnick.binary9.net*[EMAIL PROTECTED]
good fortune through truth*roaming:[EMAIL PROTECTED]*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
trust no-one with an iq under 150*understand yourself before trying others