undefined reference
- From: Tor Lillqvist <tml iki fi>
- To: "chatiman" <chatiman free fr>
- Cc: <gtk-app-devel-list gnome org>
- Subject: undefined reference
- Date: Sun, 11 Apr 2004 15:01:48 +0000
chatiman writes:
What am I doing wrong ?
What am I doing wrong ?
You should put the libraries last on the gcc command line, i.e.:
gcc `pkg-config gtk+-2.0 --cflags` f1.c f2.c ... `pkg-config gtk+-2.0 --libs`
Doesn't gcc on Linux require this, or where have you picked up the
incorrect habit?
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]