View previous topic :: View next topic |
Author |
Message |
dawe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Nov 2005 Posts: 8
|
Posted: Mon Nov 28, 2005 11:13 am Post subject: binary compatibility on alpha |
|
|
Hi pals, sorry for a new message (but in this way I can split your answers into two threads!). I installed Gentoo on a alpha ds25 (running 2.4.30 kernel). Now I would like to run some 32bit x86 apps. I see that em86 is not into the portage tree and also ftp.digital.com is no more available...
thanks
d |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MxA n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1773802550407bcbb6d1568.gif)
Joined: 13 Apr 2004 Posts: 20 Location: Amsterdam, NL
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dawe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Nov 2005 Posts: 8
|
Posted: Mon Nov 28, 2005 2:51 pm Post subject: damn safari! |
|
|
Of course... my browser has some problems with ftp... also from the shell I have Unknown host for ftp.digital.com...
Thanks a lot
d |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dawe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Nov 2005 Posts: 8
|
Posted: Tue Nov 29, 2005 10:01 am Post subject: em86 doesn't compile at all |
|
|
I have problems in compiling em86 on my alpha...
em86-0.4 $ make
cc -g -O0 -w -I. -DEM86_RUNTIME -c -o sys_mmap.o sys_mmap.S
gcc -c -g -O0 -w -I. -DEM86_RUNTIME -I/usr/x86/include -DUSE_FX_CPU em86.cc -o fx_em86.o
em86.cc: In function `int main(int, char**, char**)':
em86.cc:57: error: `personality' undeclared (first use this function)
em86.cc:57: error: (Each undeclared identifier is reported only once for each function it appears in.)
em86.cc:136: error: invalid conversion from `void*' to `char*'
em86.cc:186: error: `x86_syscall_trace_all' undeclared (first use this function)
em86.cc:190: error: `x86_syscall_untrace' undeclared (first use this function)
em86.cc:193: error: `x86_syscall_trace' undeclared (first use this function)
em86.cc:206: error: invalid conversion from `long unsigned int' to `char*'
em86.cc:206: error: initializing argument 1 of `void x86_set_brk(char*)'
em86.cc: In function `unsigned int em86_call_emulated_routine(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void*)':
em86.cc:288: error: could not convert `current_cpu->fx_cpu_c::registers_homed' to `bool'
em86.cc:288: error: in argument to unary !
make: *** [fx_em86.o] Error 1
I'm not the best person to patch the code... Also I couldn't find any README or whatever... The installation docs only say something about rpm and I cannot have a rpm working here.
d |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MxA n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1773802550407bcbb6d1568.gif)
Joined: 13 Apr 2004 Posts: 20 Location: Amsterdam, NL
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MxA n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1773802550407bcbb6d1568.gif)
Joined: 13 Apr 2004 Posts: 20 Location: Amsterdam, NL
|
Posted: Tue Nov 29, 2005 12:52 pm Post subject: Re: em86 doesn't compile at all |
|
|
dawe wrote: | I have problems in compiling em86 on my alpha...
[snip]
I'm not the best person to patch the code... Also I couldn't find any README or whatever... The installation docs only say something about rpm and I cannot have a rpm working here. |
Have you tried the binaries? http://ftp.digital.com/pub/Digital/Linux-Alpha/em86/v0.4/BINARIES/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dawe n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Nov 2005 Posts: 8
|
Posted: Tue Nov 29, 2005 4:14 pm Post subject: the binaries... |
|
|
I've tried the binaries, the rpms and srpms too (after all I used Firefox...).
Now that I can run rpm I tried to install them but:
# rpm -ivh em86-0.4-1.alpha.rpm
error: Failed dependencies:
libm.so.6.1 is needed by em86-0.4-1
libdl.so.2.1 is needed by em86-0.4-1
libc.so.6.1 is needed by em86-0.4-1
ld-linux.so.2 is needed by em86-0.4-1
and I have to give --nodeps as option. I can install
em-x86-0.2-1.i386.rpm but then:
# rpm -ivh --force em86-baselibs-0.2-1.alpha.rpm
Preparing... ###########################################
[100%]
1:em86-baselibs ###########################################
[100%]
/var/tmp/rpm-tmp.50242: line 1: 27294 Segmentation fault
/usr/bin/ldconfig86
error: %post(em86-baselibs-0.2-1) scriptlet failed, exit status 139
that's because ldconfig86 goes into segmentation fault.
I see there is a patch for the kernel but, you know, is for kernel 2.0 and I'm running 2.4... maybe I should try another way but bochs doesn't seem to be able to run single executables and qemu won't install (I tried to modify the ebuilds, but it doesn't compile).
d |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|