This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
problem building 6.1 for powerpc on cygwin
- From: "Marc Schafer" <mschafer at avidyne dot com>
- To: <insight at sources dot redhat dot com>
- Date: Wed, 2 Jun 2004 08:31:42 -0700
- Subject: problem building 6.1 for powerpc on cygwin
I am trying to build insight 6.1 for powerpc-eabi but it is failing in
the tk build. It appears that it is looking for X. I have built
older versions under cygwin and I thought X was not required. It
generates hundreds of errors, but here is a snippet.
thanks,
marc
make[1]: Entering directory `/tmp/build/buildinsight/gdb'
gcc -c -g -O2 -I. -I../../insight-6.1/gdb -I../../insight-6.1/gdb/c
onfig -DLOCALEDIR="\"/usr/local/ppctools/share/locale\"" -DHAVE_CONFIG
_H -I../../insight-6.1/gdb/../include/opcode -I../../insight-6.1/gdb/.
./readline/.. -I../bfd -I../../insight-6.1/gdb/../bfd -I../../insight-
6.1/gdb/../include -I../intl -I../../insight-6.1/gdb/../intl -DMI_OUT
=1 -DGDBTK -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wp
arentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunuse
d-label -Wunused-function -I../../insight-6.1/gdb/../libgui/src -I/t
mp/build/insight-6.1/itcl/itcl/generic \
-I/tmp/build/insight-6.1/itcl/itk/generic \
-I/tmp/build/insight-6.1/tcl/generic -I/tmp/build/insight-6.1/tk/gener
ic -I"/tmp/build/insight-6.0.90/tk/xlib" -fwritable-strings\
../../insight-6.1/gdb/gdbtk/generic/gdbtk.c \
-DGDBTK_LIBRARY=\"/usr/local/ppctools/share/insight1.0\" -DSRC_DIR=\"
/tmp/build/insight-6.1/gdb\"
In file included from /tmp/build/insight-6.1/tcl/generic/tcl.h:2269,
from
/tmp/build/insight-6.1/itcl/itcl/generic/itcl.h:55,
from ../../insight-6.1/gdb/gdbtk/generic/gdbtk.c:44:
/tmp/build/insight-6.1/tcl/generic/tclPlatDecls.h:19: warning:
redefinition of `TCHAR'
/usr/include/w32api/winnt.h:92: warning: `TCHAR' previously declared
here
In file included from
/tmp/build/insight-6.1/itcl/itk/generic/itk.h:61,
from ../../insight-6.1/gdb/gdbtk/generic/gdbtk.c:45:
/tmp/build/insight-6.1/tk/generic/tk.h:96:29: X11/Xlib.h: No such file
or directory
In file included from
/tmp/build/insight-6.1/itcl/itk/generic/itk.h:61,
from ../../insight-6.1/gdb/gdbtk/generic/gdbtk.c:45:
/tmp/build/insight-6.1/tk/generic/tk.h:573: error: syntax error before
"Window"
/tmp/build/insight-6.1/tk/generic/tk.h:573: warning: type defaults to
`int' in declaration of `Window'
/tmp/build/insight-6.1/tk/generic/tk.h:573: error: `Window' declared
as function returning a function
/tmp/build/insight-6.1/tk/generic/tk.h:573: warning: parameter names
(without types) in function declaration
/tmp/build/insight-6.1/tk/generic/tk.h:576: error: syntax error before
"XEvent"
/tmp/build/insight-6.1/tk/generic/tk.h:584: error: syntax error before
"Tk_ClassCreateProc"
/tmp/build/insight-6.1/tk/generic/tk.h:584: warning: no semicolon at
end of struct or union
/tmp/build/insight-6.1/tk/generic/tk.h:592: error: syntax error before
'}' token
/tmp/build/insight-6.1/tk/generic/tk.h:592: warning: type defaults to
`int' in declaration of `Tk_ClassProcs'
/tmp/build/insight-6.1/tk/generic/tk.h:592: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:678: error: syntax error before
"Bool"
/tmp/build/insight-6.1/tk/generic/tk.h:678: warning: no semicolon at
end of struct or union
/tmp/build/insight-6.1/tk/generic/tk.h:679: warning: type defaults to
`int' in declaration of `display'
/tmp/build/insight-6.1/tk/generic/tk.h:679: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:683: error: syntax error before
"time"
/tmp/build/insight-6.1/tk/generic/tk.h:683: warning: type defaults to
`int' in declaration of `time'
/tmp/build/insight-6.1/tk/generic/tk.h:683: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:688: error: syntax error before
"same_screen"
/tmp/build/insight-6.1/tk/generic/tk.h:688: warning: type defaults to
`int' in declaration of `same_screen'
/tmp/build/insight-6.1/tk/generic/tk.h:688: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:689: warning: type defaults to
`int' in declaration of `XVirtualEvent'
/tmp/build/insight-6.1/tk/generic/tk.h:689: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:694: error: syntax error before
"Bool"
/tmp/build/insight-6.1/tk/generic/tk.h:694: warning: no semicolon at
end of struct or union
/tmp/build/insight-6.1/tk/generic/tk.h:695: warning: type defaults to
`int' in declaration of `display'
/tmp/build/insight-6.1/tk/generic/tk.h:695: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:697: error: syntax error before
'}' token
/tmp/build/insight-6.1/tk/generic/tk.h:697: warning: type defaults to
`int' in declaration of `XActivateDeactivateEvent'
/tmp/build/insight-6.1/tk/generic/tk.h:697: warning: data definition
has no type or storage class
/tmp/build/insight-6.1/tk/generic/tk.h:698: error: syntax error before
"XActivateEvent"
/tmp/build/insight-6.1/tk/generic/tk.h:698: warning: type defaults to
`int' in declaration of `XActivateEvent'
/tmp/build/insight-6.1/tk/generic/tk.h:698: warning: data definition
has no type or storage class