X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Trace: 116801503/mk-filter-3.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/79.66.17.75/None/johne53 AT tiscali DOT co DOT uk X-SBRS: None X-RemoteIP: 79.66.17.75 X-IP-MAIL-FROM: johne53 AT tiscali DOT co DOT uk X-MUA: Microsoft Outlook Express 6.00.2900.2180Produced By Microsoft MimeOLE V6.00.2900.2180 X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuYEAIVsRklPQhFL/2dsb2JhbACEAFDIQ4J+ X-IronPort-AV: E=Sophos;i="4.36,226,1228089600"; d="scan'208";a="116801503" Message-ID: <002701c95f06$c7c2e190$4001a8c0@mycomputer> From: "John Emmas" To: References: Subject: Re: GTK+ externals are unresolved Date: Mon, 15 Dec 2008 22:45:07 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 ----- Original Message ----- From: "M.O.D." Subject: GTK+ externals are unresolved > > > Why are the GTK externals going unresolved on Cygwin? > > Thanks, > Ollie > > ---------------------------------------------------------------------------- > $ cc `pkg-config --cflags --libs gtk+-2.0` murg.c -o murg > /cygdrive/c/Users/pd/AppData/Local/Temp/ccPuIk43.o:murg.c:(.text+0x2b): > undefined reference to `_gtk_set_locale' > /cygdrive/c/Users/pd/AppData/Local/Temp/ccPuIk43.o:murg.c:(.text+0x55): > undefined reference to `_gtk_init_abi_check' > /cygdrive/c/Users/pd/AppData/Local/Temp/ccPuIk43.o:murg.c:(.text+0x61): > undefined reference to `_gtk_window_new' > /cygdrive/c/Users/pd/AppData/Local/Temp/ccPuIk43.o:murg.c:(.text+0x73): > undefined reference to `_gtk_widget_show_all' > /cygdrive/c/Users/pd/AppData/Local/Temp/ccPuIk43.o:murg.c:(.text+0x78): > undefined reference to `_gtk_main' > collect2: ld returned 1 exit status > ---------------------------------------------------------------------------- > > ---------------------------------------------------------------------------- > $ pkg-config --cflags --libs gtk+-2.0 > -DXTHREADS -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > - > I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 - > I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 > -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 > -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv > ---------------------------------------------------------------------------- > Perhaps you're missing the file 'libgtk-x11-2.0.la' (it should be in /lib/). Try linking to 'libgtk-x11-2.0.dll.a' temporarily. If that works, you might need to re-install gtk2-x11-devel. Maybe part of it has gone missing. John -- 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/