ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Martinov Nikolay <kolya@mail.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Проблема с gtk
Date: Tue, 27 Jun 2006 10:06:18 +0400
Message-ID: <200606271006.19511.kolya@mail.ru> (raw)
In-Reply-To: <449FE145.50802@rambler.ru>

В сообщении от 26 июня 2006 17:29 Yury Aliaev написал(a):
> Martinov Nikolay scripsit:
> >   Похоже из-за этого не собираются проги под gtk.
>
> Вы бы написали, как именно не собираются проги под gtk? А то лето,
> всё-таки, пора отпусков, особенно у телепатов :)
  Да-да, прошу прощения.

[]$ 
gcc -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/include/gnet-2.0 -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gnet-2.0/include/ -I/usr/lib/gtk-2.0/include -lICE -lSM -lX11 -lXext -lXinerama -lXt -latk-1.0 -lcairo -ldl -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lglib-2.0 -lgmodule-2.0 -lgnet-2.0 -lgobject-2.0 -lgthread-2.0 -lgtk-x11-2.0 -lm -lpango-1.0 -lpangocairo-1.0 -lpthread -lxosd ./test.c -o 
test
/tmp/.private/xxx/cczzz9kz.o: In function `main':
test.c:(.text+0x12): undefined reference to `gtk_text_view_get_type'
test.c:(.text+0x1d): undefined reference to `g_type_check_instance_cast'
test.c:(.text+0x29): undefined reference to `gtk_text_view_get_buffer'
collect2: ld returned 1 exit status

[]$ cat test.c
#include <gtk/gtk.h>

main()
{
   gtk_text_view_get_buffer(GTK_TEXT_VIEW(NULL));
}


С уважением. Николай.

  reply	other threads:[~2006-06-27  6:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26  7:35 Martinov Nikolay
2006-06-26  7:44 ` Alexey Tourbin
2006-06-26 13:29 ` Yury Aliaev
2006-06-27  6:06   ` Martinov Nikolay [this message]
2006-06-27  7:18     ` Michael Shigorin
2006-06-27  7:50       ` Martinov Nikolay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200606271006.19511.kolya@mail.ru \
    --to=kolya@mail.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git