From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30346 invoked by alias); 21 Dec 2008 16:18:27 -0000 Received: (qmail 30331 invoked by uid 22791); 21 Dec 2008 16:18:26 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-gx0-f10.google.com (HELO mail-gx0-f10.google.com) (209.85.217.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 21 Dec 2008 16:17:25 +0000 Received: by gxk3 with SMTP id 3so1403674gxk.2 for ; Sun, 21 Dec 2008 08:17:23 -0800 (PST) Received: by 10.65.177.6 with SMTP id e6mr4302622qbp.97.1229876243114; Sun, 21 Dec 2008 08:17:23 -0800 (PST) Received: from ?192.168.0.100? (S0106001346f94b85.wp.shawcable.net [24.76.249.6]) by mx.google.com with ESMTPS id 9sm11415834qbw.1.2008.12.21.08.17.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Dec 2008 08:17:22 -0800 (PST) Message-ID: <494E6C10.8030408@users.sourceforge.net> Date: Sun, 21 Dec 2008 16:18:00 -0000 From: "Yaakov (Cygwin/X)" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: GTK+ externals are unresolved References: <002701c95f06$c7c2e190$4001a8c0@mycomputer> <49480D5D.8090002@x-ray.at> <4948117F.6080208@users.sourceforge.net> <49495236.6080407@x-ray.at> <49497EE9.70504@users.sourceforge.net> <4949E6FD.6050508@users.sourceforge.net> <494D128D.9080207@x-ray.at> <494D915D.4060204@users.sourceforge.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-12/txt/msg00529.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 M.O.D. wrote: > Thanks for your comments, Yaakov. As you suspected, the order of the link > libraries made no difference. > > I downloaded all of Cygwin at one time, in about an hour. I have not done > anything I know of that would mix versions. If there is some kind of library > mismatch, I have no idea what to do about it. I am going to run setup again > today, in order to download whatever updates have become available since I first > installed a couple of weeks ago. > > Any other recommendations? First, make sure that your -devel packages are installed properly: pkg-config --modversion gtk+-2.0 Second, as mentioned earlier, the libs must follow the object files, IOW: gcc -o murg murg.c `pkg-config --cflags --libs gtk+-2.0` (The placement of the cflags doesn't matter; only the libs. Doing it like this makes for only one pkg-config call instead of two.) You're simple test case doesn't appear to use any new APIs, so that should work. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklObBAACgkQpiWmPGlmQSNGiwCgmWieFa+5yoxnB5ceXIDEBcld bcwAniDDwEPe7B2xa9OX/mNLfiVWhu88 =EjK1 -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/