Static linking doesn't work
- From: "Felix E. Klee" <felix klee inka de>
- To: gtk-app-devel <gtk-app-devel-list gnome org>
- Subject: Static linking doesn't work
- Date: Fri, 29 Jun 2001 21:14:58 +0200
Hi,
compiling my GTK-application worked fine until I added the -static flag
to gcc. Now, I get many error messages that look like this:
/usr/lib/libgtkmm.a(accellabel.o): In function
`Gtk::AccelLabel::isA(Gtk::Object *)':
accellabel.o(.text+0x1a8): undefined reference to
`gtk_accel_label_get_type'
Here are the libraries that I include:
-lgtk -lgdk -lgtkmm -lgdkmm -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
-lsigc -lpthread -lgthread -lgtkextramm -lgtkextra
What am I doing wrong?
TIA,
Felix
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]