public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/184: build fails at WINDRES step
@ 2002-11-05 14:43 BrianMcGinley
  0 siblings, 0 replies; 3+ messages in thread
From: BrianMcGinley @ 2002-11-05 14:43 UTC (permalink / raw)
  To: insight-gnats


>Number:         184
>Category:       insight
>Synopsis:       build fails at WINDRES step
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 05 14:43:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Brian McGinley
>Release:        Insight 5.2.x
>Organization:
>Environment:
Windows XP with latest cygwin
>Description:
I tried to build Insight on a Windows XP system, using cygwin, which I got by following the instructions on this page   http://sources.redhat.com/cygwin/

I performed the build after having successfully built my arm tools following the instructions on this page   http://sources.redhat.com/ecos/tools/win-arm-elf.html

To build Insight, I followed the instructions on this page  http://sources.redhat.com/insight/cygwin.html

Unfortunately, I got the following error, which I was unable to find any reference to on any of the mailing lists.

gcc -c   -DWIN32 -D_WIN32 -D_MT -D_DLL -I../../../src/tk/win/../win -I../../../s
rc/tk/win/../generic -I../../../src/tk/win/../bitmaps -I../../../src/tk/win/../x
lib -I../../../src/tk/win/../../tcl/generic  -g -O2 ../../../src/tk/win/../gener
ic/tkWindow.c
In file included from ../../../src/tk/generic/tkPort.h:27,
                 from ../../../src/tk/generic/tkWindow.c:18:
../../../src/tk/win/tkWinPort.h:52:1: warning: "OPEN_MAX" redefined
In file included from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/limits.h:132,
                 from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/syslimits.h:7,

                 from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/limits.h:11,
                 from ../../../src/tk/win/tkWinPort.h:32,
                 from ../../../src/tk/generic/tkPort.h:27,
                 from ../../../src/tk/generic/tkWindow.c:18:
/usr/include/limits.h:143:1: warning: this is the location of the previous defin
ition
windres --include ../../../src/tk/win/../win/rc --include ../../../src/tk/win/..
/generic --define VS_VERSION_INFO=1 ../../../src/tk/win/../win/rc/tk.rc tkres.o
windres: ../../../src/tk/win/../win/rc/cursor5e.cur: read of 77824 returned 0
make[2]: *** [tkres.o] Error 1
make[2]: Leaving directory `/insight/tk/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/insight/tk'
make: *** [all-tk] Error 2

Can someone please help me resolve this problem?

Thanks,
Brian
>How-To-Repeat:
follow Description
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: insight/184: build fails at WINDRES step
@ 2003-01-06 15:33 Rolf Berg
  0 siblings, 0 replies; 3+ messages in thread
From: Rolf Berg @ 2003-01-06 15:33 UTC (permalink / raw)
  To: kseitz; +Cc: insight-prs

The following reply was made to PR insight/184; it has been noted by GNATS.

From: "Rolf Berg" <Rolf.Berg@visitech.no>
To: <kseitz@sources.redhat.com>,
	<insight-gnats@sources.redhat.com>,
	<insight-prs@sources.redhat.com>,
	<BrianMcGinley@BiometricSolutions.com>
Cc:  
Subject: Re: insight/184: build fails at WINDRES step
Date: Mon, 6 Jan 2003 16:34:00 +0100

 Hi,
 
 I experienced the same problem as Brian McGinley described.
 
 Could the problem have anything to do with handling of newline?
 The error code made me suspect it is an alignnment problem in the file.
 I noticed that the cursor5e.cur contained the DOS sequence for
 linefeed, 0xd 0xa. By replacing this with the Unix sequence, 0x0a,
 the file compiled. I did the similar patch to the other .cur files that
 failed.
 
 After some struggling with other, unrelated problems, I was able to get the
 gdb up
 and running. (I have not been able to test it against any target yet, due to
 lack of HW)
 
 Note that this is just a suggestion, I don't have much knowledge of  .cur
 file and WINDRES,
 so the suggested changes may have disastreous side effects.
 
 
 regards,
 Rolf Berg
 
 
 
 


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

* Re: insight/184: build fails at WINDRES step
@ 2002-11-19 20:18 kseitz
  0 siblings, 0 replies; 3+ messages in thread
From: kseitz @ 2002-11-19 20:18 UTC (permalink / raw)
  To: BrianMcGinley, insight-prs, kseitz, nobody

Synopsis: build fails at WINDRES step

Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Tue Nov 19 20:18:13 2002
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->feedback
State-Changed-By: kseitz
State-Changed-When: Tue Nov 19 20:18:13 2002
State-Changed-Why:
    See http://sources.redhat.com/ml/insight/2002-q4/msg00112.html
    
    Does this help?

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=184


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

end of thread, other threads:[~2003-01-06 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 14:43 insight/184: build fails at WINDRES step BrianMcGinley
2002-11-19 20:18 kseitz
2003-01-06 15:33 Rolf Berg

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