rda build on x86_64

Ralf Wildenhues
2009-08-18T05:35:26Z

Hello,

I'm trying to build the full src tree, plain
../src/configure
make

on x86_64-pc-linux-gnu (on my way of updating autotools in src).

The build fails like this:

| make[5]: Entering directory `/tmp/build/x86_64-unknown-linux-gnu/rda/unix'
| if gcc -L/tmp/build/./ld -DHAVE_CONFIG_H -I. -I../../../../src/rda/unix -I. -I../../../../src/rda/unix -I../../../../src/rda/unix/../include -Wall -g -O2 -MT linux-target.o -MD -MP -MF ".deps/linux-target.Tpo" -c -o linux-target.o ../../../../src/rda/unix/linux-target.c; \
| then mv -f ".deps/linux-target.Tpo" ".deps/linux-target.Po"; else rm -f ".deps/linux-target.Tpo"; exit 1; fi
| In file included from ../../../../src/rda/unix/linux-target.c:50:
| ../../../../src/rda/unix/ptrace-target.h:70: error: expected declaration specifiers or ‘...’ before ‘ptrace_arg3_type’
| ../../../../src/rda/unix/ptrace-target.h:72: error: expected declaration specifiers or ‘...’ before ‘ptrace_arg3_type’
| ../../../../src/rda/unix/linux-target.c:1620:2: error: #error Need a _LINUX_TARGET define for your architecture
| ../../../../src/rda/unix/linux-target.c: In function ‘linux_next_gg_reg’:
| ../../../../src/rda/unix/linux-target.c:1643: error: ‘NUM_REGS’ undeclared (first use in this function)

Looking at configure.in, x86_64 seems simply not supported. Is a port
to the new x86_64 architecture planned?

Until then, would it be desirable to let toplevel not configure the rda
directory on x86_64 to avoid this build error (so the user doesn't have
to --disable-rda manually)?

Thanks, and please Cc: me on replies,
Ralf