Re: Problem with GTK installation under Solaris 9



On Tue, May 17, 2005 at 11:07:36AM +0200, Schuler, Dr. Christian wrote:
> Daniel,
> 
> thanks for your help. Although I was not sucessful yet:
> 
> >> I have installed gtk-2.2.4 Solaris 9 binaries from sunfreeware
> >>
> >> When I try to compile and link the base.c test programm, I get the
> >> following
> >> linker errors:
> >>
> >> # gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
> >> Undefined                       first referenced
> >>  symbol                             in file
> >> gdk_drawable_get_display            /usr/local/lib/libgtk-x11-2.0.so
> >> gdk_window_set_geometry_hints       /usr/local/lib/libgtk-x11-2.0.so
> >> The pkg-config-Output is listed below:
> >>
> >> # pkg-config --cflags --libs gtk+-2.0
> >> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> >> -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0
> >> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> >> -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
> >-lgdk_pixbuf-2.0
> >> -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 
> >-ldl -lglib-2.0
> >> -liconv

What toolchain are you using ? Are you using the same gcc version and
ld version as the package maintainer used to build your gtk+
package. You might want to contact the package maintainer as well, I
don't see anything else obviously wrong with your setup...

Daniel



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