This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB build cannot find tkWinInt.h


Hello All,

I am trying to build a Cygwin hosted gdb executable to remotely debug
Linux applications on a powerpc target, but the build breaks in the
libgui directory. Does anyone have any _insight_ into the issue?

I've started with a clean Cygwin download, and added the following
packages to the defaults.
- ddd v3.3.9-1 binary
- gcc v3.4.4-3 binary
- gdb v6.8-2 binary and source
- make v3.81-2 binary
- Xorg-x11-devel v6.8.99.901-1 binary
- Tcltk v 20080420-1 binary and source

After creating a clean directory for the build, I configure with the
following command (note that I tried the --disable-gdbtk option per a
suggestion I found on the mailing list, but got the same error):
/usr/src/gdb-6.8-2/configure --target=powerpc-603-linux-gnu
--program-prefix=ppc-

And I am seeing the following error when I make:
make[4]: Entering directory `/usr/src/ppc-gdb/libgui/src'
gcc -DHAVE_CONFIG_H -I. -I/usr/src/gdb-6.8-2/libgui/src -I.. -DWIN32
-mwin32  -I/usr/include -I/usr/include  -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DP
ACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1
-DEXCEPTION_DISPOSITION=int -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_
H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRIN
G=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES
_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I/usr/include/../unix
-I/usr/include/../win -DTBL_VERSION=\"2.7\" -DTBL_COMMAND=\"table\"
-DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DI
R=\"/usr/local/share/redhat/gui\" -DSTATIC_BUILD    -g -O2 -c
/usr/src/gdb-6.8-2/libgui/src/subcommand.c
/usr/src/gdb-6.8-2/libgui/src/subcommand.c: In function
`subcommand_implementation':
/usr/src/gdb-6.8-2/libgui/src/subcommand.c:78: warning: passing arg 4
of pointer to function from incompatible pointer type
/usr/src/gdb-6.8-2/libgui/src/subcommand.c: In function
`ide_create_command_with_subcommands':
/usr/src/gdb-6.8-2/libgui/src/subcommand.c:122: warning: passing arg 3
of `Tcl_CreateCommand' from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I/usr/src/gdb-6.8-2/libgui/src -I.. -DWIN32
-mwin32  -I/usr/include -I/usr/include  -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DP
ACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1
-DEXCEPTION_DISPOSITION=int -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_
H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRIN
G=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES
_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I/usr/include/../unix
-I/usr/include/../win -DTBL_VERSION=\"2.7\" -DTBL_COMMAND=\"table\"
-DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DI
R=\"/usr/local/share/redhat/gui\" -DSTATIC_BUILD    -g -O2 -c
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:26:22: tkWinInt.h: No such
file or directory
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c: In function
`winprint_page_setup_command':
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:187: warning: assignment
makes pointer from integer without a cast
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c: In function
`winprint_print_text_dialog':
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:360: warning: assignment
makes pointer from integer without a cast
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c: At top level:
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:905: warning:
initialization from incompatible pointer type
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:906: warning:
initialization from incompatible pointer type
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:907: warning:
initialization from incompatible pointer type
/usr/src/gdb-6.8-2/libgui/src/tclwinprint.c:908: warning:
initialization from incompatible pointer type
make[4]: *** [tclwinprint.o] Error 1
make[4]: Leaving directory `/usr/src/ppc-gdb/libgui/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/ppc-gdb/libgui'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/usr/src/ppc-gdb/libgui'
make[1]: *** [all-libgui] Error 2
make[1]: Leaving directory `/usr/src/ppc-gdb'
make: *** [all] Error

Thanks for the  help,
Sam

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]