X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <494E6C10.8030408@users.sourceforge.net> Date: Sun, 21 Dec 2008 10:17:20 -0600 From: "Yaakov (Cygwin/X)" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: GTK+ externals are unresolved References: <002701c95f06$c7c2e190$4001a8c0 AT mycomputer> <49480D5D DOT 8090002 AT x-ray DOT at> <4948117F DOT 6080208 AT users DOT sourceforge DOT net> <49495236 DOT 6080407 AT x-ray DOT at> <49497EE9 DOT 70504 AT users DOT sourceforge DOT net> <4949E6FD DOT 6050508 AT users DOT sourceforge DOT net> <494D128D DOT 9080207 AT x-ray DOT at> <494D915D DOT 4060204 AT users DOT sourceforge DOT net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----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/