[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
static linking problems
- From: Günther Rapp <guenther rapp-informatik de>
- To: gtk-app-devel-list gnome org
- Subject: static linking problems
- Date: Sun, 14 Mar 2004 12:33:37 +0100
Hi
I tried to link my gtk applications static to be sure to run
on different also older glib distributions.
Linking dynamic with RedHat 7.3 gcc 2.9x all runs well
Trying to set the -static it results in unresolved symbols
This is the GTK_LIB Path oder
GTK_LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
-lglib -ldl -lX11 -lm -lXext -lgthread
and this are the typical messages
/usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_device_new':
gdkinput.o(.text+0x68e): undefined reference to `XOpenDevice'
or
/usr/lib/libgdk.a(gdkinput.o): In function `gdk_input_check_proximity':
gdkinput.o(.text+0x1a89): undefined reference to `XQueryDeviceState'
for the thread libraray
/usr/lib/libgthread.a(gthread.o): In function`g_private_new_posix_impl':
gthread.o(.text+0x425): undefined reference to `pthread_key_create'
and it looks like the ptherad_create is also not found
undefined reference to `pthread_create'
has anybody know what to add or change in lib search order
or what else will be wrong or missing.
Thangs for help
guenther
R=I+S Rapp Informatik Systeme GmbH
Rosenbühlstr. 24
D-89182 Bernstadt
Tel: +49 (0)7348-7755
Fax: +49 (0)7348-6086
E-MAIL mailto: guenther@rapp-informatik.de
WEB www.rapp-informatik.de
PS:
Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format
Bitte lesen Sie http://www.fsf.org/philosophy/no-word-attachmentsi.de.html
Please don't send me any attachment in Microsoft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html
begin:vcard
fn;quoted-printable:G=C3=BCnther Rapp
n;quoted-printable:Rapp;G=C3=BCnther
org:R=I+S;Rapp Informatik Systeme GmbH
adr;quoted-printable;dom:;;Rosenb=C3=BChlstr. 24;D-89182 Bernstadt;Germany
email;internet:guenther@rapp-informatik.de
tel;work:+49 (0)7348-7755
tel;fax:+49 (0)7348-6086
x-mozilla-html:FALSE
url:www.rapp-informatik.de
version:2.1
end:vcard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]