public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Failure Building Insight under cygwin 1.1.2
@ 2000-07-10 10:11 fernando
  2000-07-10 11:03 ` Chris Faylor
  0 siblings, 1 reply; 3+ messages in thread
From: fernando @ 2000-07-10 10:11 UTC (permalink / raw)
  To: gdb; +Cc: fernando

Hi GDB,

Sorry if this question has already been discussed, but I didn't find it
in the Insight/GDB mail archives...

I'm trying to build a Insight-5.0 to use it with powerpc-eabi-gcc cross
compiler. My host is cygwin 1.1.2 running under Windows NT Server 4.0
(SP6).

I used the options: --target=powerpc-eabi --prefix=/ppctools to
configure Insight.

After a long compilation time, I received the following output:

gcc -c -g -O2 -DDEFAULT_INLINE=INLINE_LOCALS
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I.
-I/src/gdb/insight-5.0/sim/ppc
-I/src/gdb/insight-5.0/sim/ppc/../../include -I../../bfd
-I/src/gdb/insight-5.0/sim/ppc/../../bfd -I../../gdb
-I/src/gdb/insight-5.0/sim/ppc/../../gdb
-I/src/gdb/insight-5.0/sim/ppc/../../gdb/config
-I/src/gdb/insight-5.0/sim/ppc/../../mmalloc
/src/gdb/insight-5.0/sim/ppc/sim_calls.c
In file included from /src/gdb/insight-5.0/sim/ppc/sim_calls.c:43:
/src/gdb/insight-5.0/sim/ppc/../../gdb/defs.h:60: conflicting types for
`strsignal'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/string.h:71:
previous declaration of `strsignal'
make[2]: *** [sim_calls.o] Error 1
make[2]: Leaving directory `/tmp/build/gdb/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/gdb/sim'
make: *** [all-sim] Error 2
make: Leaving directory `/tmp/build/gdb'

I tried some workarounds to solve the problem changing file
"sim_calls.c", but without success.

Someone can give me a "light" on this question???

Thank you very much,

Fernando



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

* Re: Failure Building Insight under cygwin 1.1.2
  2000-07-10 10:11 Failure Building Insight under cygwin 1.1.2 fernando
@ 2000-07-10 11:03 ` Chris Faylor
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Faylor @ 2000-07-10 11:03 UTC (permalink / raw)
  To: fernando; +Cc: gdb, fernando

On Mon, Jul 10, 2000 at 05:14:03PM +0000, fernando@stratus.swi.com.br wrote:
>Hi GDB,
>
>Sorry if this question has already been discussed, but I didn't find it
>in the Insight/GDB mail archives...
>
>I'm trying to build a Insight-5.0 to use it with powerpc-eabi-gcc cross
>compiler. My host is cygwin 1.1.2 running under Windows NT Server 4.0
>(SP6).
>
>I used the options: --target=powerpc-eabi --prefix=/ppctools to
>configure Insight.
>
>After a long compilation time, I received the following output:
>
>gcc -c -g -O2 -DDEFAULT_INLINE=INLINE_LOCALS
>-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
>-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I.
>-I/src/gdb/insight-5.0/sim/ppc
>-I/src/gdb/insight-5.0/sim/ppc/../../include -I../../bfd
>-I/src/gdb/insight-5.0/sim/ppc/../../bfd -I../../gdb
>-I/src/gdb/insight-5.0/sim/ppc/../../gdb
>-I/src/gdb/insight-5.0/sim/ppc/../../gdb/config
>-I/src/gdb/insight-5.0/sim/ppc/../../mmalloc
>/src/gdb/insight-5.0/sim/ppc/sim_calls.c
>In file included from /src/gdb/insight-5.0/sim/ppc/sim_calls.c:43:
>/src/gdb/insight-5.0/sim/ppc/../../gdb/defs.h:60: conflicting types for
>`strsignal'
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/string.h:71:
>previous declaration of `strsignal'
>make[2]: *** [sim_calls.o] Error 1
>make[2]: Leaving directory `/tmp/build/gdb/sim/ppc'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/tmp/build/gdb/sim'
>make: *** [all-sim] Error 2
>make: Leaving directory `/tmp/build/gdb'
>
>I tried some workarounds to solve the problem changing file
>"sim_calls.c", but without success.
>
>Someone can give me a "light" on this question???

Remove the declaration in gdb/defs.h.

cgf

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

* Re: Failure Building Insight under cygwin 1.1.2
       [not found] <396B41E9.B73D2E9B@cpgei.cefetpr.br>
@ 2000-07-11 10:31 ` João Cadamuro Junior
  0 siblings, 0 replies; 3+ messages in thread
From: João Cadamuro Junior @ 2000-07-11 10:31 UTC (permalink / raw)
  To: gdb; +Cc: cgf, fernando

The declaration of "strsignal" was removed from gdb/defs.h and the compilation
continues. But unfortunately we had another problem...

rm -f gdb.exe
gcc -g -O2       -Wl,--subsystem,console -o gdb.exe main.o libgdb.a
../sim/ppc/libsim.a ../bfd/libbfd.a ../readline/libreadline.a
../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a `if test -r
../libtermcap/libtermcap.a; then echo ../libtermcap/libtermcap.a; else echo
-ltermcap; fi`    ../libgui/src/libgui.a -L/tmp/build/gdb/itcl/itcl/win -litcl30
-L/tmp/build/gdb/itcl/itk/win -litk30 -L/tmp/build/gdb/tix/win/tcl8.0 -ltix4180
-L/tmp/build/gdb/tk/win -ltk80 -L/tmp/build/gdb/tcl/win -ltcl80      -lm -lm
../libiberty/libiberty.a -luser32 -lshell32 -lgdi32 -lcomdlg32 -ladvapi32
libgdb.a(gdbtk.o): In function `gdbtk_init':
/src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:433: undefined reference to
`Tix_Init'
/src/gdb/insight-5.0/gdb/gdbtk/generic/gdbtk.c:435: undefined reference to
`Tix_Init'
collect2: ld returned 1 exit status
make[1]: *** [gdb.exe] Error 1
make[1]: Leaving directory `/tmp/build/gdb/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/tmp/build/gdb'

The function "Tix_Init" is declared as EXTERN in the <tix.h> module, but the
linker is unable to find the function.

Someone has another hit???

Thanks a lot...

Cadamuro



> Subject: Fwd: Re: Failure Building Insight under cygwin 1.1.2
> Date: Mon, 10 Jul 100 19:02:46 +0000
> From: fernando@stratus.swi.com.br
> To: cadamuro@corvo.cpgei.cefetpr.br
>
> Forwarded Message:
> > Para: fernando@stratus.swi.com.br
> > De: Chris Faylor <cgf@cygnus.com>
> > Assunto: Re: Failure Building Insight under cygwin 1.1.2
> > Data: Mon, 10 Jul 2000 14:03:20 -0400
> > -----
> <pre>
> On Mon, Jul 10, 2000 at 05:14:03PM +0000, fernando@stratus.swi.com.br wrote:
> >Hi GDB,
> >
> >Sorry if this question has already been discussed, but I didn't find it
> >in the Insight/GDB mail archives...
> >
> >I'm trying to build a Insight-5.0 to use it with powerpc-eabi-gcc cross
> >compiler. My host is cygwin 1.1.2 running under Windows NT Server 4.0
> >(SP6).
> >
> >I used the options: --target=powerpc-eabi --prefix=/ppctools to
> >configure Insight.
> >
> >After a long compilation time, I received the following output:
> >
> >gcc -c -g -O2 -DDEFAULT_INLINE=INLINE_LOCALS
> >-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
> >-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I.
> >-I/src/gdb/insight-5.0/sim/ppc
> >-I/src/gdb/insight-5.0/sim/ppc/../../include -I../../bfd
> >-I/src/gdb/insight-5.0/sim/ppc/../../bfd -I../../gdb
> >-I/src/gdb/insight-5.0/sim/ppc/../../gdb
> >-I/src/gdb/insight-5.0/sim/ppc/../../gdb/config
> >-I/src/gdb/insight-5.0/sim/ppc/../../mmalloc
> >/src/gdb/insight-5.0/sim/ppc/sim_calls.c
> >In file included from /src/gdb/insight-5.0/sim/ppc/sim_calls.c:43:
> >/src/gdb/insight-5.0/sim/ppc/../../gdb/defs.h:60: conflicting types for
> >`strsignal'
> >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/string.h:71:
> >previous declaration of `strsignal'
> >make[2]: *** [sim_calls.o] Error 1
> >make[2]: Leaving directory `/tmp/build/gdb/sim/ppc'
> >make[1]: *** [all] Error 2
> >make[1]: Leaving directory `/tmp/build/gdb/sim'
> >make: *** [all-sim] Error 2
> >make: Leaving directory `/tmp/build/gdb'
> >
> >I tried some workarounds to solve the problem changing file
> >"sim_calls.c", but without success.
> >
> >Someone can give me a "light" on this question???
>
> Remove the declaration in gdb/defs.h.
>
> cgf
> </pre>

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

end of thread, other threads:[~2000-07-11 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-10 10:11 Failure Building Insight under cygwin 1.1.2 fernando
2000-07-10 11:03 ` Chris Faylor
     [not found] <396B41E9.B73D2E9B@cpgei.cefetpr.br>
2000-07-11 10:31 ` João Cadamuro Junior

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).