This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

problems building CVS snapshot


since I have I few problems with gdb 5.0 and 5.2 under SunOS-5.8 I thought
I'll go and check the CVS version, thus I fetched gdb+dejagnu-20030526
and tried configure and make. Here are 4 problems I ran into:

1. configure complains about sys/ptem.h

checking sys/ptem.h usability... no
checking sys/ptem.h presence... yes
configure: WARNING: sys/ptem.h: present but cannot be compiled
configure: WARNING: sys/ptem.h: check for missing prerequisite headers?
configure: WARNING: sys/ptem.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##

a test C program that additionally contains sys/streams.h does compile.

I reported this yesterday to bug-autoconf and got the following reply:

Attachment: autoconf.bug
Description: bug-autoconf reply


2. compile of infrun.c fails

gcc -c -g -O2  -I/usr/include/v9  -I. -I. -I./config -DLOCALEDIR="\"/vol/freeware/SunOS-5.8/gdb+dejagnu/20030526/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl  -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  infrun.c
/usr/ccs/bin/as: "/var/tmp/ccWcVZ58.s", line 3774: error: constant value must be between -4096 and 4095
make[1]: *** [infrun.o] Error 1
make[1]: Leaving directory `/vol/freeware/source/gdb+dejagnu-20030526/gdb'


3. normally I don't build in the source directory, but if I try to build
in a separate build directory, make stops in example/calc with:

configuring in example/calc
running /bin/sh /vol/freeware/source/gdb+dejagnu-20030526/dejagnu/example/calc/configure  --build=sparc-sun-solaris2.8 --host=sparc-sun-solaris2.8 --target=sparc-sun-solaris2.8 --prefix=/vol/freeware/SunOS-5.8/gdb+dejagnu/20030526 --cache-file=../../.././config.cache --srcdir=/vol/freeware/source/gdb+dejagnu-20030526/dejagnu/example/calc
loading cache ../../.././config.cache
checking for a BSD compatible install... /bin/sh $s/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
configure: error: source directory already configured; run make distclean there first
configure: error: /vol/freeware/source/gdb+dejagnu-20030526/dejagnu/example/calc/configure failed for example/calc
make: *** [configure-dejagnu] Error 1
ERROR: gdb: make


4. on our system is tcl/tk 8.0.5 installed (old I know)
It seems as if gdb comes with its own tcl (8.4.1) but no tk.
configure doesn't find the installed tk version (on my system tcl/tk is
installed under /usr/local/gnu). configure has an option with-tkconfig that
I could use, but I guess using tcl 8.4.1 together with tk 8.0.5 might be
asking for trouble anyway.


I appreciate any help

Thanks

Klaus

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
The confusion of a staff member is measured by the length
of his memos.            -- New York Times, Jan. 20, 1981

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