public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Building Insight 5.2.1 on Win NT 4 + Cygwin?
@ 2002-09-27  6:08 Tim Sørensen
  2002-09-27  7:38 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Sørensen @ 2002-09-27  6:08 UTC (permalink / raw)
  To: 'insight@sources.redhat.com'

Hello all

Im trying to build Insight 5.2.1 on a Win NT 4 box with Cygwin installed,
but so far with no success!

Here's what i do to build a Atmel AVR enabled debugger:

configure -target=avr

Which completes OK

make

Generates a lot of warnings and fails with the following error:

../../../src/tcl/win/tclWin32Dll.c: In function `TclWinSetInterfaces':
../../../src/tcl/win/tclWin32Dll.c:121: static symbol `tclWinTCharEncoding'
is marked dllexport
make[2]: *** [tclWin32Dll.o] Error 1
make[2]: Leaving directory `/cygdrive/d/projects/avr/gdb/insight/tcl/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/d/projects/avr/gdb/insight/tcl'
make: *** [all-tcl] Error 2

Can someone explain whats causing this error ?
I a bit unsure about how many Cygwin packages must be installed.
Exactly which Cygwin packages must be installed to build successfully ?

Best regards / Med venlig hilsen

Tim Sorensen

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

* Re: Building Insight 5.2.1 on Win NT 4 + Cygwin?
  2002-09-27  6:08 Building Insight 5.2.1 on Win NT 4 + Cygwin? Tim Sørensen
@ 2002-09-27  7:38 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2002-09-27  7:38 UTC (permalink / raw)
  To: Tim Sørensen; +Cc: 'insight@sources.redhat.com'

On Fri, 27 Sep 2002, Tim Sørensen wrote:

> ../../../src/tcl/win/tclWin32Dll.c: In function `TclWinSetInterfaces':
> ../../../src/tcl/win/tclWin32Dll.c:121: static symbol `tclWinTCharEncoding'
> is marked dllexport
> make[2]: *** [tclWin32Dll.o] Error 1
> make[2]: Leaving directory `/cygdrive/d/projects/avr/gdb/insight/tcl/win'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/cygdrive/d/projects/avr/gdb/insight/tcl'
> make: *** [all-tcl] Error 2
>
> Can someone explain whats causing this error ?

I don't mean to sound snippety (but it's going to sound that way), but 
anyone willing to build Insight from sources should have the basic 
software background to fix this bug in minutes (reomve "static" from 
"tclWinTCharEncoding" declaration in tclWin32Dll.c)...

> I a bit unsure about how many Cygwin packages must be installed.
> Exactly which Cygwin packages must be installed to build successfully ?

Nothing but the usual development stuff.

More importantly, do NOT build 5.2.1 using the included Tcl/Tk. See 
http://sources.redhat.com/insight/cygwin.html for instructions on how to 
revert these to something more stable. (But if you wanted to help debug 
the current cygwin tcl/tk problems, by all means, use what is in 5.2.1.)

Keith


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

end of thread, other threads:[~2002-09-27 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-27  6:08 Building Insight 5.2.1 on Win NT 4 + Cygwin? Tim Sørensen
2002-09-27  7:38 ` 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).