[PTLsim-devel] stubs-32.h , error while installing ptlsim in AMD Turion64
Saša Tomić
Mon Feb 25 05:08:01 EST 2008
google: 32-bit /gnu/stubs-32.h
1st hit (for me):
http://ubuntuforums.org/archive/index.php/t-300266.html
in short, you need to add packages:
a32-libs lib32stdc++6 libc6-dev-i386
you can do this with command:
sudo apt-get install a32-libs lib32stdc++6 libc6-dev-i386
maybe you don't need all of them, but it doesn't hurt to install them all...
:)
good luck!
On Mon, Feb 25, 2008 at 4:17 AM, Manabi <samiramanabi at gmail.com> wrote:
> 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?
>
> _______________________________________________
> PTLsim-devel mailing list
> PTLsim-devel at ptlsim.org
> https://ptlsim.org/mailman/listinfo/ptlsim-devel
>
>
--
Saša Tomić
BSC - Barcelona Supercomputing Center
c\ Gran Capita 2-4, Nexus I/204, 08034 Barcelona, España
Tel.: , web: http://www.bsc.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://ptlsim.org/pipermail/ptlsim-devel/attachments/20080225/58e71335/attachment.htm
More information about the PTLsim-devel mailing list