public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* help building for powerpc-eabi under cygwin
@ 2003-10-03 13:33 Marc Schafer
  2003-10-03 16:21 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Schafer @ 2003-10-03 13:33 UTC (permalink / raw)
  To: insight

I have already configured and built the following for powerpc-eabi:
binutils 2.14
gcc 3.3.1
newlib 1.11

I have not been able to build Insight.  I checked the code out from cvs as described on the readme page for cygwin.  I
did not use the branch but took the latest version instead.  The 2003-02-05 update made it sound like it was no longer
necessary to revert the tcl/tk parts so I skipped steps 2 and 3.  The build failed in the tcl stuff, so I went back and
performed step 2 and then tried configuring and building again.

It fails in exactly the same place during the tcl build.  The last few lines of the make output are attached.

Can you tell me how to fix this problem?

thanks,
marc


checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) yes
checking for gettext in libc... (cached) no
checking for bindtextdomain in -lintl... (cached) yes
checking for gettext in libintl... (cached) no
checking for msgfmt... (cached) /bin/msgfmt
checking for gmsgfmt... (cached) /bin/msgfmt
checking for xgettext... (cached) /bin/xgettext
checking for catalogs to be installed...  fr sv tr es da de id pt_BR ro nl
checking for a BSD compatible install... /bin/install -c
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating po/Makefile.in
creating config.h
make[1]: Entering directory `/tmp/build/cvs-insight/build/opcodes'
make  all-recursive
make[2]: Entering directory `/tmp/build/cvs-insight/build/opcodes'
Making all in po
make[3]: Entering directory `/tmp/build/cvs-insight/build/opcodes/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/cvs-insight/build/opcodes/po'
make[3]: Entering directory `/tmp/build/cvs-insight/build/opcodes'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I.
 -D_GNU_SOURCE -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -
I../../src/opcodes/../bfd  -I../../src/opcodes/../intl -I../intl   -W -Wall -Wst
rict-prototypes -Wmissing-prototypes -g -O2 -c ../../src/opcodes/dis-buf.c
gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -D_GNU_SOURCE -I. -I../../src/op
codes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -I../..
/src/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
 -g -O2 -c ../../src/opcodes/dis-buf.c -o dis-buf.o
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I.
 -D_GNU_SOURCE -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -
I../../src/opcodes/../bfd  -I../../src/opcodes/../intl -I../intl   -W -Wall -Wst
rict-prototypes -Wmissing-prototypes -g -O2 -c  -DARCH_rs6000 -DARCH_powerpc ../
../src/opcodes/disassemble.c
gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -D_GNU_SOURCE -I. -I../../src/op
codes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -I../..
/src/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
 -g -O2 -c -DARCH_rs6000 -DARCH_powerpc ../../src/opcodes/disassemble.c -o disas
semble.o
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I.
 -D_GNU_SOURCE -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -
I../../src/opcodes/../bfd  -I../../src/opcodes/../intl -I../intl   -W -Wall -Wst
rict-prototypes -Wmissing-prototypes -g -O2 -c ../../src/opcodes/dis-init.c
gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -D_GNU_SOURCE -I. -I../../src/op
codes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -I../..
/src/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
 -g -O2 -c ../../src/opcodes/dis-init.c -o dis-init.o
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I.
 -D_GNU_SOURCE -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -
I../../src/opcodes/../bfd  -I../../src/opcodes/../intl -I../intl   -W -Wall -Wst
rict-prototypes -Wmissing-prototypes -g -O2 -c ../../src/opcodes/ppc-dis.c
gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -D_GNU_SOURCE -I. -I../../src/op
codes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -I../..
/src/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
 -g -O2 -c ../../src/opcodes/ppc-dis.c -o ppc-dis.o
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I.
 -D_GNU_SOURCE -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -
I../../src/opcodes/../bfd  -I../../src/opcodes/../intl -I../intl   -W -Wall -Wst
rict-prototypes -Wmissing-prototypes -g -O2 -c ../../src/opcodes/ppc-opc.c
gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -D_GNU_SOURCE -I. -I../../src/op
codes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -I../..
/src/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes
 -g -O2 -c ../../src/opcodes/ppc-opc.c -o ppc-opc.o
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototy
pes -g -O2  -o libopcodes.la -rpath /usr/local/tools/i686-pc-cygwin/powerpc-eabi
/lib -release 2.14.90  dis-buf.lo disassemble.lo dis-init.lo ppc-dis.lo ppc-opc.
lo  ../bfd/libbfd.la
mkdir .libs
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared l
ibraries
ar cru .libs/libopcodes.a  dis-buf.o disassemble.o dis-init.o ppc-dis.o ppc-opc.
o
ranlib .libs/libopcodes.a
creating libopcodes.la
(cd .libs && rm -f libopcodes.la && ln -s ../libopcodes.la libopcodes.la)
libtooldir=`/bin/sh ./libtool --config | sed -n -e 's/^objdir=//p'`; \
if [ -f $libtooldir/libopcodes.a ]; then \
  cp $libtooldir/libopcodes.a libopcodes.tmp; \
  ranlib libopcodes.tmp; \
  /bin/sh ../../src/opcodes/../move-if-change libopcodes.tmp libopcodes.a; \
else true; fi
touch stamp-lib
make[3]: Leaving directory `/tmp/build/cvs-insight/build/opcodes'
make[2]: Leaving directory `/tmp/build/cvs-insight/build/opcodes'
make[1]: Leaving directory `/tmp/build/cvs-insight/build/opcodes'
Configuring in dejagnu
loading cache .././config.cache
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... c++
checking whether the C++ compiler (c++ -g -O2 ) works... yes
checking whether the C++ compiler (c++ -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking for Cygwin environment... (cached) yes
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) .exe
checking for bison... bison -y
checking for docbook tools... none
checking for the tclsh program... none
checking for tclsh... /bin/tclsh
updating cache .././config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating testsuite/Makefile
creating example/Makefile
creating testsuite/libdejagnu/Makefile
configuring in example/calc
running /bin/sh ../../../../src/dejagnu/example/calc/configure  --build=i686-pc-
cygwin --host=i686-pc-cygwin --target=powerpc-eabi --prefix=/usr/local/tools '--
program-transform-name=s,^,powerpc-eabi-,; ' --cache-file=../../.././config.cach
e --srcdir=../../../../src/dejagnu/example/calc
loading cache ../../.././config.cache
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for stdlib.h... (cached) yes
checking for strcmp... yes
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ../../.././config.cache
creating ./config.status
creating Makefile
creating calc.h
Configuring in tcl
loading cache .././config.cache
checking host system type... i686-pc-cygwin
checking whether make sets ${MAKE}... (cached) yes
updating cache .././config.cache
creating ./config.status
creating Makefile
configuring in win
running /bin/sh ../../../src/tcl/win/configure  --build=i686-pc-cygwin --host=i6
86-pc-cygwin --target=powerpc-eabi --prefix=/usr/local/tools '--program-transfor
m-name=s,^,powerpc-eabi-,; ' --cache-file=../.././config.cache --srcdir=../../..
/src/tcl/win
loading cache ../.././config.cache
checking host system type... i686-pc-cygwin
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for object suffix... (cached) o
checking build system type... i686-pc-cygwin
checking for nm... nm
checking for as... as
checking for ld... (cached) /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i6
86-pc-cygwin/bin/ld.exe
checking for ranlib... (cached) ranlib
checking for dlltool... dlltool
checking for windres... windres
checking for a BSD compatible install... (cached) /bin/install -c
updating cache ../.././config.cache
creating ./config.status
creating Makefile
creating ../unix/tclConfig.sh
configuring in cygwin
running /bin/sh ../../../src/tcl/cygwin/configure  --build=i686-pc-cygwin --host
=i686-pc-cygwin --target=powerpc-eabi --prefix=/usr/local/tools '--program-trans
form-name=s,^,powerpc-eabi-,; ' --cache-file=../.././config.cache --srcdir=../..
/../src/tcl/cygwin
loading cache ../.././config.cache
checking host system type... i686-pc-cygwin
checking target system type... powerpc-unknown-eabi
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... (cached) yes
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) .exe
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /bin/install -c
updating cache ../.././config.cache
creating ./config.status
creating Makefile
make[1]: Entering directory `/tmp/build/cvs-insight/build/tcl'
make[2]: Entering directory `/tmp/build/cvs-insight/build/tcl/win'
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/tclAppInit.c
windres --include ../../../src/tcl/win/../generic --include ../../../src/tcl/win
/../win --define __WIN32__ --define VS_VERSION_INFO=1 ../../../src/tcl/win/tclsh
.rc tclshres.o
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/panic.c
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/regexp.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/generic/regexp.c:48:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../compat/strftime.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/compat/strftime.c:55:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/tclAsync.c
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/tclBasic.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/generic/tclBasic.c:21:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/tclBinary.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/generic/tclBinary.c:17:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/tclCkalloc.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/generic/tclCkalloc.c:19:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/tclClock.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/generic/tclClock.c:19:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
win/../generic/tclCmdAH.c
In file included from ../../../src/tcl/generic/tclPort.h:23,
                 from ../../../src/tcl/generic/tclCmdAH.c:18:
../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
<command line>:14:1: warning: this is the location of the previous definition
../../../src/tcl/generic/tclCmdAH.c: In function `Tcl_FileObjCmd':
../../../src/tcl/generic/tclCmdAH.c:670: error: parse error before numeric const
ant
make[2]: *** [tclCmdAH.o] Error 1
make[2]: Leaving directory `/tmp/build/cvs-insight/build/tcl/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/cvs-insight/build/tcl'
make: *** [all-tcl] Error 2
%

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

* Re: help building for powerpc-eabi under cygwin
  2003-10-03 13:33 help building for powerpc-eabi under cygwin Marc Schafer
@ 2003-10-03 16:21 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-10-03 16:21 UTC (permalink / raw)
  To: Marc Schafer; +Cc: insight

On Fri, 2003-10-03 at 06:33, Marc Schafer wrote:
> I have not been able to build Insight.  I checked the code out from cvs as described on the readme page for cygwin.  I
> did not use the branch but took the latest version instead.  The 2003-02-05 update made it sound like it was no longer
> necessary to revert the tcl/tk parts so I skipped steps 2 and 3.  The build failed in the tcl stuff, so I went back and
> performed step 2 and then tried configuring and building again.

So what did you check out? Trunk or a branch?

You should use the gdb 6.0 branch for best results. I've once again
heard rumors on the gdb list that a release of 6.0 is imminent. (Of
course, it was imminent several months ago, too. Nonetheless, I
recommend using the 6.0 branch.) Use the branch "gdb_6_0-branch" to
check out those sources.

> gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tcl/win/../win -I../../../
> src/tcl/win/../generic -D__WIN32__ -D__USE_W32_SOCKETS  -g -O2 ../../../src/tcl/
> win/../generic/tclCmdAH.c
> In file included from ../../../src/tcl/generic/tclPort.h:23,
>                  from ../../../src/tcl/generic/tclCmdAH.c:18:
> ../../../src/tcl/win/tclWinPort.h:20:1: warning: "__USE_W32_SOCKETS" redefined
> <command line>:14:1: warning: this is the location of the previous definition
> ../../../src/tcl/generic/tclCmdAH.c: In function `Tcl_FileObjCmd':
> ../../../src/tcl/generic/tclCmdAH.c:670: error: parse error before numeric const
> ant

tclCmdAH.c:670 is the very last line of Tcl_ExitObjCmd (after the
"return TCL_OK;"). This again beckons me to ask: what version of insight
are you building? What command did you use to check it out (or what
tarball did you download)?

Keith



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

end of thread, other threads:[~2003-10-03 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03 13:33 help building for powerpc-eabi under cygwin Marc Schafer
2003-10-03 16:21 ` 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).