gdb-20030303-1

Ronald Landheer-Cieslak ronald@landheer.com
Thu Jul 3 12:45:00 GMT 2003


Looks like tclwinprint.c is including a file that it should be including - 
as it doesn't seem to exist..

What OS are you on? (I'm guessing Windows, but have no way of knowing 
whether it's Cygwin, MinGW, or something else). What configure & make 
commands are you using? Why are you using an unofficial gdb source pack?
IOW: please provide a bit more info :)

rlc

On Thu, 3 Jul 2003, Dorwig, Martin wrote:

> Hello,
> i am trying to compile a cross gdb for m68k-elf using the package
> gdb-20030303-1
> the build fails with
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DWIN32 -mwin32 -fwritable-strings
> -I/usr/include -I/usr/include -I"/netrel/src/libtcltk/tk/xlib" -
> DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int   -I/usr/include/../unix
> -I/usr/include/../win -DTBL_VERSION=\"2.7\" -DTBL_COMMAND=\"tabl
> e\" -DTBL_RUNTIME=\"tkTable.tcl\"
> -DTBL_RUNTIME_DIR=\"/usr/local/share/redhat/gui\" -DSTATIC_BUILD    -g -O2
> -c subcommand.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> subcommand.c: In function `subcommand_implementation':
> subcommand.c:78: warning: passing arg 4 of pointer to function from
> incompatible pointer type
> subcommand.c: In function `ide_create_command_with_subcommands':
> subcommand.c:122: warning: passing arg 3 of `Tcl_CreateCommand' from
> incompatible pointer type
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DWIN32 -mwin32 -fwritable-strings
> -I/usr/include -I/usr/include -I"/netrel/src/libtcltk/tk/xlib" -
> DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int   -I/usr/include/../unix
> -I/usr/include/../win -DTBL_VERSION=\"2.7\" -DTBL_COMMAND=\"tabl
> e\" -DTBL_RUNTIME=\"tkTable.tcl\"
> -DTBL_RUNTIME_DIR=\"/usr/local/share/redhat/gui\" -DSTATIC_BUILD    -g -O2
> -c tclwinprint.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> In file included from /usr/include/tcl.h:2269,
>                  from tclwinprint.c:12:
> /usr/include/tclPlatDecls.h:19: warning: redefinition of `TCHAR'
> /usr/include/w32api/winnt.h:92: warning: `TCHAR' previously declared here
> tclwinprint.c:26:22: tkWinInt.h: No such file or directory
> <------------------------------------------- ??????
> tclwinprint.c: In function `winprint_page_setup_command':
> tclwinprint.c:187: warning: assignment makes pointer from integer without a
> cast
> tclwinprint.c: In function `winprint_print_text_dialog':
> tclwinprint.c:360: warning: assignment makes pointer from integer without a
> cast
> tclwinprint.c: At top level:
> tclwinprint.c:905: warning: initialization from incompatible pointer type
> tclwinprint.c:906: warning: initialization from incompatible pointer type
> tclwinprint.c:907: warning: initialization from incompatible pointer type
> tclwinprint.c:908: warning: initialization from incompatible pointer type
> make[3]: *** [tclwinprint.o] Error 1
> make[3]: Leaving directory `/usr/src/gdb-20030303-1/libgui/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/gdb-20030303-1/libgui'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/usr/src/gdb-20030303-1/libgui'
> make: *** [all-libgui] Error 2
> 
> 
> what can i do now ?
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
> 


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list