[9332] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Newbie Question/Problem

daemon@ATHENA.MIT.EDU (Dominik Rothert)
Thu Oct 15 10:18:57 1998

Date: Thu, 15 Oct 1998 15:07:05 +0200
From: Dominik Rothert <domi@netcologne.de>
To: gtk-list@redhat.com
In-Reply-To: <3625A7D9.ADF6862B@gte.net>; from Joshua Yambert on Thu, Oct 15, 1998 at 12:44:25AM -0700
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


--4SFOXa2GPu3tIq4H
Content-Type: text/plain; charset=us-ascii

On Thu, Oct 15, 1998 at 12:44:25AM -0700,
		Joshua Yambert wrote ...


>     I am having a problem compiling the Hello World program from the GTK
> "/tmp/cca006931.o(.text+0x15a):undefined reference to 'gtk_main' .

gcc -Wall -g hello_world.c -o hello_world `gtk-config --cflags --libs`

man gcc
gtk-config --help
glib-config --help
gnome-config --help

for more on this.


	Dominik.

--
Dominik Rothert

WWW: http://domix.rhein.com
E-Mail: domix@rhein.com
GPG Fingerprint: BB8F 7348 18AE 565F 6ABA  453F A964 3160 B20A 5726
PGP Fingerprint: 70 1C 59 75 D8 30 65 3F  FE 1E D8 B5 89 EA 4B 5A

--4SFOXa2GPu3tIq4H
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBNiXzdv8tVDvmiG0VAQEkUgP9GXv/Lq2HxZch0cAvxS3+eoyM/UEYR49G
jysdwSFWBurETjR+WF0CK9aL2VQMdMfDLKZnLgMbiFBdWm5KU7Xm+f9pN0RULTi9
5msmR0GyvVHTs8NXs9oOVfZ3NUZe21exM/hsGJB5OH5cIupsLdrgjokbA6wwCbvF
7TbDrckdUR8=
=Kltk
-----END PGP SIGNATURE-----

--4SFOXa2GPu3tIq4H--

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post