This is the mail archive of the
mailing list for the GDB project.
- To: gdb at sources dot redhat dot com
- Subject: Bizzare!
- From: Dan Alderman <d dot alderman at 180sw dot com>
- Date: 14 Feb 2001 14:49:54 +0000
I don't think I'm being stupid (but then again ... ;-)
I'm trying to compile gdb 5.0 for the arm-elf target. Following the
standard rules I'm doing the following...
make a parallel directory called build-gdb
in build-gdb do...
../gdb-5.0/configure --prefix=/export/usr --target=arm-elf
and everything is hunky dory.
However, if I change the prefix to
the build barfs with the following error...
make: Entering directory `/export/sources/build-gdb/mmalloc'
gcc -c -g -O2 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1
-DHAVE_LIMITS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -I.
rm -rf libmmalloc.a
ar rc libmmalloc.a mm.o
make: Leaving directory `/export/sources/build-gdb/mmalloc'
make: Entering directory `/export/sources/build-gdb/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -I. -I../../gdb-cvs/readline
-I/home/share/tools/arm-elf/include -DRL_LIBRARY_VERSION='"4.0"' -g -O2
../../gdb-cvs/readline/readline.c:234: parse error before
../../gdb-cvs/readline/readline.c:234: warning: data definition has no
type or storage class
make: *** [readline.o] Error 1
make: Leaving directory `/export/sources/build-gdb/readline'
make: *** [all-readline] Error 2
The target directory is an nfs share, but this shouldn't break things
should it? Everything else (i.e. binutils, gcc and newlib worked).
Does anyone here know if I can install everything with a prefix that
works and then simply move the directories to another location or is gdb
like gcc in that it will only function in the directory it was installed
Cheers guys and gals,
Dan Alderman Software Engineer OneEighty Software Ltd.
OneEighty Software Ltd. Phone: +44 20 8263 2333
The Lansdowne Building Fax: +44 20 8263 6314
2 Lansdowne Road
Croydon Email: email@example.com
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act One Eighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act.