[9713] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Example compile prob. Irix 6.3
daemon@ATHENA.MIT.EDU (Ronan BOURLIER)
Sat Oct 31 11:27:25 1998
Date: Sat, 31 Oct 1998 17:27:07 +0000
From: Ronan BOURLIER <ronan@radioss.com>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
"David J. Topper" wrote:
>
> Hello,
>
> I've gotten gtk to compile and install under Irix 6.3 but am unable to
> compile stuff in the examples directory. Take gtkdial. I get the
> following errors:
>
> hendrix:/usr/local/src/gtk+-1.0.4/examples/gtkdial# make
> gcc `gtk-config --libs` dial_test.o gtkdial.o -o dial_test
> ld32: WARNING 84: /usr/local/lib/libgtk.so is not used for resolving any
> symbol.
> ld32: ERROR 33: Unresolved text symbol "gtk_label_get_type" -- 1st
> referenced by dial_test.o.
> Use linker option -v to see when and which objects, archives and
> dsos are loaded.
>
> and so on with many other symbols. But gtk-config is located in
> /usr/freeware/bin which sure enough is in my path.
>
> So what gives?
>
Hi, I had the same problem with an Octane.
try :
gcc dial_test.o gtkdial.o -o dial_test `gtk-config --libs`
It seems that ld takes in account the order of appearance in the line.
--
Ronan BOURLIER
Development Engineer
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null