From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Faylor To: Ultan Henry Cc: insight@sourceware.cygnus.com Subject: Re: Problems building Insight Date: Sun, 02 Apr 2000 18:44:00 -0000 Message-id: <20000402214432.A25061@cygnus.com> References: X-SW-Source: 2000-q2/msg00001.html On Mon, Apr 03, 2000 at 02:39:00AM +0100, Ultan Henry wrote: >I've been trying to compile the 20000318 Insight snapshot under Win 98 for >native use. > >I'm using the 'full' download of Cygwin b20.1 with 19990115 patches (for >Win95 make/fork problems) plus Cygwin 20000325 snapshot (to provide >imagehlp.h and psapi.h files as mentioned elsewhere on this list). > >The build fails during Win32-nat.c: > >win32-nat.c:1297: warning: implicit declaration of function `StackWalk' >win32-nat.c:1297: `IMAGE_FILE_MACHINE_I386' undeclared (first use in this >function) >win32-nat.c:1297: (Each undeclared identifier is reported only once >win32-nat.c:1297: for each function it appears in.) >win32-nat.c:1298: `SymFunctionTableAccess' undeclared (first use in this >function) >win32-nat.c: In function `child_init_frame': >win32-nat.c:1312: warning: unused parameter `leaf' >win32-nat.c: At top level: >win32-nat.c:1279: warning: `sfta' defined but not used >make[1]: *** [win32-nat.o] Error 1 >make: *** [all-gdb] Error 2 > >This seems to indicate an incompatibility between some of the files in the >snapshots I'm using. Is there a compination of Cygwin files and Insight >snaphot that is known to be compatible and build correctly? Do you see a definition of "StackWalk" or IMAGE_FILE_MACHINE_I386 in your imagehlp.h file? If not, then you are either using the wrong version of the file or you have your include file layout messed up somehow. FWIW, the StackWalk stuff should be gone in the most recent snapshots so it might just be worthwhile to download the most recent insight snapshot and use that. cgf