Re: gtk+-1.2.6, sol 7, sun4u
- From: Jean Raymond Chauviere <Jean-Raymond Chauviere cetelem fr>
- To: "Kenneth Gullberg(Centus)" <kenneth unix oktan com>
- CC: gnome-list gnome org
- Subject: Re: gtk+-1.2.6, sol 7, sun4u
- Date: Thu, 21 Oct 1999 17:41:56 +0200
It's a library that is missing, a library containing the symbol _Xsetlocal
As it begins with _X we can hope to find it in a X lib
Go to the X dir (/usr/openwin/lib, /usr/X11R6 or whatever alse) and do
something like
for f in lib*
do
nm $f | grep _Xsetlocale && echo $f
done
after add the -l for the lib where you find the symbol not extern
JRC
"Kenneth Gullberg(Centus)" wrote:
> what flag is missing?
>
> gcc -g -O2 -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so
> -L/export/home/gnome/lib -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl
> -lm ../gdk/.libs/libgdk.so -lgmodule -lglib -ldl -lXext -lX11 -lsocket
> -lnsl -lm -lXext -lX11 -lsocket -lnsl -L/export/home/gnome/lib -lgmodule
> -lglib -ldl -lm -R/export/home/gnome/lib
> Undefined first referenced
> symbol in file
> _Xsetlocale .libs/libgtk.so
> ld: fatal: Symbol referencing errors. No output written to .libs/testgtk
> make[2]: *** [testgtk] Error 1
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
--
Nur der kleine Geist hält Ordnung, das Genie beherrscht das Chaos.
Seuls les petits esprits aiment l'ordre, le génie maitrîse le chaos.
(anonyme)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]