X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Wed, 17 Mar 2010 16:24:57 +0100 From: Vincent Richomme To: Subject: Linker error with GNustep Message-ID: <7c9a06bd4a9de2e0dda29af7ff2aa63f@mail.smartmobili.com> X-Sender: forumer AT smartmobili DOT com User-Agent: RoundCube Webmail/0.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 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 Hi, I wanted to compile gnustep on cygwin and I followed the following guide: http://gnustep.made-it.com/BuildGuide/ I can sump up by : A) GNUstep-make svn co http://svn.gna.org/svn/gnustep/tools/make/trunk/ gnustep-make cd gnustep-make ./configure --prefix=/usr/GNUstep --with-layout=gnustep \ --with-config-file=/usr/GNUstep/Local/Configuration/GNUstep.conf make && make install cd .. B) Setup GNustep . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh and add the following lines at the bottom of /etc/profile: # Setup GNUstep variables so we can run/compile stuff echo Setting up GNUstep Environment... . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh C) GNUstep-base svn co http://svn.gna.org/svn/gnustep/libs/base/trunk/ gnustep-base cd gnustep-base ./configure --enable-libffi --with-default-config=/usr/GNUstep/Local/Configuration/GNUstep.conf make && make install cd .. D) GNUstep-gui svn co http://svn.gna.org/svn/gnustep/libs/gui/trunk/ gnustep-gui Apply this patch : Index: Source/NSButtonCell.m =================================================================== --- Source/NSButtonCell.m (revision 29993) +++ Source/NSButtonCell.m (working copy) @@ -38,7 +38,7 @@ #include #include #include -#include +//#include #include "AppKit/AppKitExceptions.h" #include "AppKit/NSApplication.h" Index: Source/NSMenuItem.m =================================================================== --- Source/NSMenuItem.m (revision 29993) +++ Source/NSMenuItem.m (working copy) @@ -33,7 +33,7 @@ #include #include #include -#include +//#include #include "AppKit/NSCell.h" #include "AppKit/NSEvent.h" #include "AppKit/NSImage.h" Index: Source/NSBitmapImageRep+JPEG.m =================================================================== --- Source/NSBitmapImageRep+JPEG.m (revision 29993) +++ Source/NSBitmapImageRep+JPEG.m (working copy) @@ -56,7 +56,7 @@ #include #if defined(__CYGWIN__) /* Cygwin uses a patched jpeg */ -#define GSTEP_PROGRESSIVE_CODEC +//#define GSTEP_PROGRESSIVE_CODEC #endif #include cd gnustep-gui ./configure make && make install cd .. D)GNUstep-back svn co http://svn.gna.org/svn/gnustep/libs/back/trunk/ gnustep-back cd gnustep-back ./configure --enable-server=x11 --enable-graphics=cairo make && make install and I get the following error Making all for bundle libgnustep-back-017... Linking bundle libgnustep-back-017 ... /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 and 3 information. ./x11/obj/subproject.o:context.c:(.text+0x1906): undefined reference to `_XmuLookupStandardColormap' collect2: ld returned 1 exit status make[4]: *** [libgnustep-back-017.bundle/./libgnustep-back-017.dll] Error 1 make[3]: *** [internal-bundle-run-compile-submake] Error 2 make[2]: *** [libgnustep-back-017.all.bundle.variables] Error 2 I understand that GNustep is using a missing reference but I find the error message about dwarf a bit weird. Is it normal ? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple