From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5790 invoked by alias); 28 Jun 2007 22:14:49 -0000 Received: (qmail 5780 invoked by uid 22791); 28 Jun 2007 22:14:48 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Jun 2007 22:14:43 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5SMEfBk018402; Thu, 28 Jun 2007 18:14:41 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5SMEfBh023022; Thu, 28 Jun 2007 18:14:41 -0400 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5SMEdTE021648; Thu, 28 Jun 2007 18:14:40 -0400 Message-ID: <468432CF.3010905@redhat.com> Date: Thu, 28 Jun 2007 22:14:00 -0000 From: Keith Seitz User-Agent: Thunderbird 1.5.0.12 (X11/20070509) MIME-Version: 1.0 To: micros@valvers.com CC: insight@sourceware.org Subject: Re: no insight executable built with target=arm-elf (mingw and ubuntu) References: <468257FD.4010904@valvers.com> <4682B85F.80906@redhat.com> <4683BAEE.4070001@valvers.com> In-Reply-To: <4683BAEE.4070001@valvers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00108.txt.bz2 Brian Sidebotham wrote: > My prefix line is now: > ../src/configure --target=arm-elf --prefix=${INSTALLDIR} > --with-tclconfig=${BUILDDIR}/tcl/win --with-tkconfig=%{BUILDDIR}/tk/win > > the build fails when compiling ${SRCDIR}/gdb/gdbtk/generic/gdbtk.c > because it's trying to include but mingw doesn't have a > sys/ioctl.h include. Excluding this include in the source code fails on > the errors - sigaction structure not defined. Are you using mingw or Cygwin? You cannot build/run Insight or gdb on mingw (at least that was true the last time I looked at it). Officially, mingw is not a supported platform (although I have heard of people making having various degrees of success making it work). > The ${BUILDDIR}/gdb/config.h file has HAVE_SYS_IOCTL_H commented out, > but then the gdbtk.c file includes it without checking the define anyway. I'll fix that. > I still haven't tried the linux box yet as it's at home. Any further > clues greatly appreciated! I seldom use Windows any more since my box is about eight years old, but I've dusted it off to give it a try. No problems. For linux, make sure you have the x-devel packages installed. On Fedora, that's xorg-X11-proto-devel. Keith