From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12792 invoked by alias); 4 Dec 2003 18:23:27 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 12768 invoked from network); 4 Dec 2003 18:23:26 -0000 Received: from unknown (HELO tx2.oucs.ox.ac.uk) (163.1.2.163) by sources.redhat.com with SMTP; 4 Dec 2003 18:23:26 -0000 Received: from scan2.oucs.ox.ac.uk ([163.1.2.162] helo=localhost) by tx2.oucs.ox.ac.uk with esmtp (Exim 4.20) id 1ARy8M-00040s-KC for cygwin-xfree@cygwin.com; Thu, 04 Dec 2003 18:23:26 +0000 Received: from rx2.oucs.ox.ac.uk ([163.1.2.161]) by localhost (scan2.oucs.ox.ac.uk [163.1.2.162]) (amavisd-new, port 25) with ESMTP id 14926-10 for ; Thu, 4 Dec 2003 18:23:26 +0000 (GMT) Received: from smtp1.herald.ox.ac.uk ([163.1.0.247]) by rx2.oucs.ox.ac.uk with esmtp (Exim 4.20) id 1ARy8M-00040n-6p; Thu, 04 Dec 2003 18:23:26 +0000 Received: from pc217.geog.ox.ac.uk ([163.1.38.217] helo=pc217) by smtp1.herald.ox.ac.uk with smtp (Exim 3.35 #1) id 1ARy8M-0003IQ-00; Thu, 04 Dec 2003 18:23:26 +0000 Message-ID: <0b1f01c3ba93$b54458e0$d92601a3@ouce.ox.ac.uk> From: "Arnaud Desitter" To: , Cc: References: Subject: Re: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD Date: Thu, 04 Dec 2003 18:23:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-12/txt/msg00054.txt.bz2 List-Id: ----- Original Message ----- From: "Richard Campbell" Newsgroups: gmane.os.cygwin.xfree,gmane.comp.debugging.ddd.bugs Cc: Sent: Thursday, December 04, 2003 5:50 PM Subject: RE: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD > >So I guess that it should be something along the lines: > >gcc -Wall -I/usr/X11R6/include Xmcheck.c -L/usr/X11R6/lib > >.libs/libimp-cygXm-2.a > >using whather .libs/libimp-cygXm-2.a points to. > > Ok, yeah, that seems to be the problem. > > bash-2.05b$ gcc -Wall -I/usr/X11R6/include Xmcheck.c -L/usr/X11R6/lib -lXm > Info: resolving _xmUseVersion by linking to __imp__xmUseVersion > (auto-import) > bash-2.05b$ ./a.exe > xmUseVersion=2001 XmVersion=2001 > bash-2.05b$ gcc -Wall -I/usr/X11R6/include Xmcheck.c -L/usr/X11R6/lib > ddd/.libs/libimp-cygXm-2.a > bash-2.05b$ ./a.exe > xmUseVersion=1089480191 XmVersion=2001 > > Now, I guess, to try and walk back all of the automatic steps to figure out > why ddd ended > up linking against that libimp-cygXm-2.a file. Credit or blame libtool for that. > But first, I'll run that last g++ linking step for ddd after editing it to > remove those .libs > links. Just comment out libtool in the Makefile and see what it does. If you can crack and fix this problem properly, that would be great. Regards,