Re: gtk+ build problem on solaris 8
- From: "Richard Warren" <rew primagraphics co uk>
- To: <gtk-list gnome org>
- Subject: Re: gtk+ build problem on solaris 8
- Date: Wed, 25 Sep 2002 10:05:28 +0100
Check the archives for a few weeks ago (starting at
http://mail.gnome.org/archives/gtk-list/2002-September/msg00023.html) when
this same problem was discussed.
A quick hack to get you going would be to remove the "const" from the
definitions of the undefined symbols in both the headers and source files.
Richard.
----- Original Message -----
From: "Jarek Dukat" <madmaxer poczta fm>
To: <gtk-list gnome org>
Sent: Wednesday, September 25, 2002 9:49 AM
Subject: gtk+ build problem on solaris 8
> I try building gtk+ 2.0.6 on Solaris 8 using gcc 3.2 but it fails. Before
> gtk+ i compiled and installed libtiff, libjpeg, libpng, glib, atk and
> pango all with success, but then while building gtk+ following error
> appears:
>
> ld: warning: file /backup/src/gtk+-2.0.6/gdk/.libs/libgdk-x11-2.0.so:
> linked to ../gdk/.libs/libgdk-x11-2.0.so: attempted multiple inclusion of
> file
> ld: warning: file
> /backup/src/gtk+-2.0.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so: linked to
> ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so: attempted multiple inclusion of
> file
> Undefined first referenced
> symbol in file
> gtk_minor_version testgtk.o
> gtk_micro_version testgtk.o
> gtk_major_version testgtk.o
> ld: fatal: Symbol referencing errors. No output written to .libs/testgtk
> collect2: ld returned 1 exit status
> make[2]: *** [testgtk] Error 1
> make[2]: Leaving directory `/backup/src/gtk+-2.0.6/tests'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/backup/src/gtk+-2.0.6'
> make: *** [all-recursive-am] Error 2
>
>
> alatek blady /backup/src/gtk+-2.0.6$ gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
> Configured with:
> ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable
> -nls
> Thread model: posix
> gcc version 3.2
> alatek blady /backup/src/gtk+-2.0.6$ ld -v
> GNU ld version 2.11.2 (with BFD 2.11.2)
> alatek blady /backup/src/gtk+-2.0.6$
>
>
> Does anyone know what's the problem?
>
> Jarek
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]