public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Latest Insight snapshot build problem on Cygwin
@ 2003-03-26 18:35 David Mc Kenna
  2003-03-27 18:03 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: David Mc Kenna @ 2003-03-26 18:35 UTC (permalink / raw)
  To: insight

Hi folks,

I am having a bit of a problem building the latest snapshots of insight under
cygwin for arm-elf. It appears to be having problem with gdbtk-interp. Bellow
are all the details.

Thanks in advance,
Dave Mc Kenna

gccver=gcc-3.2.1
newlibver=newlib-1.10.0
insightver=insight+dejagnu-20030325 
binutilsver=binutils-2.13


My build script for insight is:

cd $src_root/build/insight && rm -rf *

$src_root/$insightver/configure \
    --target=$target --host=$host\
    --prefix=$prefix \
    --exec-prefix=$prefix -v > ../logs/$target-$insightver-configure.log 2>&1


# 	Make insight

make -w all install CC='gcc -mwin32'  > ../logs/$target-$insightver-make.out
2>&1

and the generated log files show the following failures



gcc -mwin32 -c -g -O2    -I. -I/usr/local/src/gnu/insight+dejagnu-20030325/gdb
-I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/config -DLOCALEDIR="\"/cygdrive/c/adi/arm/share/locale\""
-DHAVE_CONFIG_H -I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/../include/opcode
-I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/../readline/.. -I../bfd -I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/../bfd
 -I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/../include -I../intl -I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/../intl
 -DMI_OUT=1 -DGDBTK -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparentheses -Wpointer-arith -Wuninitialized  -I/usr/local/src/gnu/insight+dejagnu-20030325/gdb/../libgui/src
 -I/usr/local/src/gnu/insight+dejagnu-20030325/itcl/itcl/generic \
-I/usr/local/src/gnu/insight+dejagnu-20030325/tcl/generic -I/usr/local/src/gnu/insight+dejagnu-20030325/tk/generic
 -I"/usr/local/src/gnu/insight+dejagnu-20030325/tk/xlib" -fwritable-strings
\
	/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c

/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:
In function `gdbtk_command_loop':
/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:142:
warning: implicit declaration of function `MessageBox'
/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:142:
`MB_OK' undeclared (first use in this function)
/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:142:
(Each undeclared identifier is reported only once
/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:142:
for each function it appears in.)
/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:142:
`MB_ICONERROR' undeclared (first use in this function)
/usr/local/src/gnu/insight+dejagnu-20030325/gdb/gdbtk/generic/gdbtk-interp.c:142:
`MB_TASKMODAL' undeclared (first use in this function)
make[1]: *** [gdbtk-interp.o] Error 1
make[1]: Leaving directory `/usr/local/src/gnu/build/insight/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/usr/local/src/gnu/build/insight'




--
http://www.iol.ie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Latest Insight snapshot build problem on Cygwin
  2003-03-26 18:35 Latest Insight snapshot build problem on Cygwin David Mc Kenna
@ 2003-03-27 18:03 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-03-27 18:03 UTC (permalink / raw)
  To: mckennad; +Cc: insight

On Wed, 2003-03-26 at 03:20, David Mc Kenna wrote:

> warning: implicit declaration of function `MessageBox'
> `MB_OK' undeclared (first use in this function)
> `MB_ICONERROR' undeclared (first use in this function)
> `MB_TASKMODAL' undeclared (first use in this function)

Oddly, I just did a fresh build from CVS and I don't see any of these
problems. These things should all be defined in windows.h (or something
included by it). Try adding a define for it?

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-26 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-26 18:35 Latest Insight snapshot build problem on Cygwin David Mc Kenna
2003-03-27 18:03 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).