[PTLsim-devel] stubs-32.h , error while installing ptlsim in AMD Turion64

Manabi
Sun Feb 24 22:17:04 EST 2008


Hello,
I am trying to install ptlsim classic ( userspace version ) in my AMD
Turion64 machine with Ubuntu 7.10 and GCC version 4.1.3. But I get an error
message while I try to build it with running "make". The error message is as
follows.

In file included from /usr/include/features.h:345,
                 from /usr/include/unistd.h:26,
                 from ./ptlcalls.h:13,
                 from ptlcalls.c:8:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory
make: *** [ptlcalls-32bit.o] Error 1


Since mine is a 64 bit machine I have only stubs-64.h file in gnu. I tried
commenting a line in the Makefile saying
"ifneq (,$(findstring x86_64,"$(MACHTYPE)"))" and the its corresponding
"endif" leaving the line
"__x86_64__=1" untouched. But I still get the same error.

#ifneq (,$(findstring x86_64,"$(MACHTYPE)"))
__x86_64__=1
#endif


Can anyone please help me in this matter?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://ptlsim.org/pipermail/ptlsim-devel/attachments/20080224/6d79a827/attachment.html 


More information about the PTLsim-devel mailing list