qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Wim Vanderbauwhede" <wim@motherearth.org>
To: Sander Nagtegaal <trunks-carracho@planet.nl>,
	Wim Vanderbauwhede <wim@motherearth.org>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: WINE with QEMU on PPC
Date: Tue, 8 Jun 2004 07:12:29 -0000	[thread overview]
Message-ID: <twig.1086678749.97053@all2all.org> (raw)
In-Reply-To: <200406072336.20571.trunks-carracho@planet.nl>

> Just tested something..........it gives the same error with non-existed 
> directories.
That must be the root of the problem then. 
Did you set the LD_LIBRAY_PATH correctly? 

What version of glibc and gcc do you have?
$ rpm -q gcc
$ rpm -q glibc

Could you test this:
$ qemu-i386 -L /yourpath /yourpath/bin/ash.static -c pwd
$ qemu-i386 -L /yourpath /yourpath/bin/sh -c pwd
$ qemu-i386 -L /yourpath /yourpath/bin/pwd

Now, I had this problem with Mandrake 10 x86, and none of the gurus could
explain it. That's why I switched to Red Hat 9. It that fails for you, you
could maybe try Red Hat 7.3. 

Sander Nagtegaal <trunks-carracho@planet.nl> said:

> Just tested something..........it gives the same error with non-existed 
> directories. It does not give the error when not using the -L option but then 
> it can't find some libraries.........
> 
> Hope you know what to do........
> 
> Thanks , Sander
> 
> Op maandag 7 juni 2004 23:32, schreef u:
> > With the -L option error returns.
> >
> > [******@localhost ****]$ qemu-i386 -L /home/*****/Emulation
> > /home/******/Emulation/usr/bin/wineserver
> > qemu: uncaught target signal 11 (Segmentation fault) - exiting
> >
> > So it still doesn't work sadly...........I think I'm very close. Would a
> > CVS qemu help maybe?
> >
> > Op maandag 7 juni 2004 22:07, schreef u:
> > > It looks like you forgot the -L option.
> > >
> > > Sander Nagtegaal <trunks-carracho@planet.nl> said:
> > > > [azrael@localhost Emulation]$ qemu-i386
> > > > /home/azrael/Emulation/usr/bin/wineserver
> > > > /home/azrael/Emulation/usr/bin/wineserver: /lib/libc.so.6: version
> > > > `GLIBC_2.2' not found (required by
> > > > /home/azrael/Emulation/usr/bin/wineserver)
> > > > /home/azrael/Emulation/usr/bin/wineserver: /lib/libc.so.6: version
> > > > `GLIBC_2.3' not found (required by
> > > > /home/azrael/Emulation/usr/bin/wineserver)
> > > > /home/azrael/Emulation/usr/bin/wineserver: /lib/libc.so.6: version
> > > > `GLIBC_2.2' not found (required by
> > > > /home/azrael/Emulation/usr/lib/libwine.so.1)
> > > > /home/azrael/Emulation/usr/bin/wineserver: /lib/libc.so.6: version
> > > > `GLIBC_2.3' not found (required by
> > > > /home/azrael/Emulation/usr/lib/libwine_unicode.so.1)
> > > >
> > > > I'm a step further. The 11 error was just that I didn't correctly put
> > > > the LD path with declare -x
> > > > Doing that solved my problem.
> > > > But now wineserver only can't find 4 pieces. Where to get them? I
> > > > installed every rpm you said and everything is found except for those
> > > > 4.........
> > > >
> > > > Op maandag 7 juni 2004 15:55, schreef u:
> > > > > On Mon, 2004-06-07 at 13:36, Sander Nagtegaal wrote:
> > > > > > -Put them in the target platform directory (mine is
> > > > > > /home/ARCHS/rh_x86) -Install the rpm's using rpm2cpio and cpio:
> > > > > > e.g.
> > > > > > $ rpm2cpio ash-0.3.8-8.i386.rpm | cpio -idv
> > > > > >
> > > > > > Just a small question. Can I give the target platform directory any
> > > > > > name I want? And then just change the dir? Or does it have to be a
> > > > > > /ARCHS/rh_x86 type of directory?
> > > > >
> > > > > It can be any name you like. I just mentioned the name I gave because
> > > > > it also occurs in the config file.
> > > > >
> > > > > On Mon, 2004-06-07 at 14:35, Sander Nagtegaal wrote:
> > > > > > groff: error while loading shared libraries:
> > > > > > /home/azrael/Emulation/usr/lib/libstdc++.so.5: ELF file data
> > > > > > encoding not big-endian
> > > > > >
> > > > > > Another thing is that when I now run a "man **** " command it gives
> > > > > > errors. All my man pages are not working anymore.........maybe some
> > > > > > declare path is wrong?
> > > > >
> > > > > I'm afraid that's normal: your LD_LIBRARY_PATH now points to the x86
> > > > > libraries. If you just open a new terminal window, and run "man"
> > > > > there, that should be OK.
> > > > > To avoid this kind of problem, I put my qemu-specific commands in
> > > > > shell scripts. The "declare" statements are only valid within the
> > > > > enviroment of the script, not outside it.
> > > > >
> > > > > On Mon, 2004-06-07 at 14:26, Sander Nagtegaal wrote:
> > > > > > [azrael@localhost Emulation]$ qemu-i386 -L /home/azrael/Emulation
> > > > > > /home/azrael/Emulation/usr/bin/wineserver
> > > > > > qemu: uncaught target signal 11 (Segmentation fault) - exiting
> > > > > >
> > > > > > That's what I got trying to run winserver. What could be the
> > > > > > problem?
> > > > >
> > > > > The wineserver error is a different issue. What qemu are you using? I
> > > > > am now using qemu-0.5.5, and wine-20040505; before, I used qemu-0.5.3
> > > > > and wine-20040309.
> > > > > I have glibc-2.3.3 and I use gcc-3.3.2 for building.
> > > > > But I'm just a user, segfaults in qemu is something for the real
> > > > > qemu-guru's.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Wim
> > > > >
> > > > > > Op maandag 7 juni 2004 12:27, schreef u:
> > > > > > > In attachment my wine config file. Save it as ~/.wine/config
> > > > > > > and edit the "Path" entries under the [Drive ...] entries a bit
> > > > > > > so that all paths point to meaningful directories:
> > > > > > >
> > > > > > > [Drive C]
> > > > > > > "Path"="/home/ARCHS/rh_x86/usr/share/wine-c"
> > > > > > > "Type" = "hd"
> > > > > > > "Label" = "MS-DOS"
> > > > > > > "Filesystem" = "win95"
> > > > > > >
> > > > > > >   [Drive D] "Path" = "/mnt/cdrom"
> > > > > > > "Type" = "cdrom"
> > > > > > > "Label" = "CD-Rom"
> > > > > > > "Filesystem" = "win95"
> > > > > > > ; make sure that device is correct and has proper permissions !
> > > > > > > "Device" = "/dev/cdrom"
> > > > > > >
> > > > > > >     [Drive E] "Path" = "/tmp"
> > > > > > > "Type" = "hd"
> > > > > > > "Label" = "Tmp Drive"
> > > > > > > "Filesystem" = "win95"
> > > > > > >
> > > > > > >     [Drive F] "Path" = "/home/wim"
> > > > > > > "Type" = "network"
> > > > > > > "Label" = "Home"
> > > > > > > "Filesystem" = "win95"
> > > > > > >
> > > > > > >     [Drive G] "Path" = "/home/ARCHS/rh_x86"
> > > > > > > "Type" = "hd"
> > > > > > > "Label" = "MS-DOS"
> > > > > > > "Filesystem" = "win95"
> > > > > > >
> > > > > > > On Mon, 2004-06-07 at 10:53, Sander Nagtegaal wrote:
> > > > > > > > Op maandag 7 juni 2004 10:29, schreef u:
> > > > > > > > > -I assume you know how to set up wine (I mean adapting the
> > > > > > > > > ~/.wine/config file). My qemu-wine home directory is
> > > > > > > > > usr/share/wine-c in the target platform directory. If you
> > > > > > > > > like I can mail my .wine/config file.
> > > > > > > >
> > > > > > > > No......I do not know how to set up wine..That was my next
> > > > > > > > problem after I managed to let qemu run the "ls" file. Could
> > > > > > > > you mail the config or email me how to set it up? Thanks alot!
> > > > > > > > You're a great help. I'm going to try it!
> 
> 
> 



-- 
If it's pointless, what's the point?
If there is a point to it, what's the point?
(Tibor Fischer, "The Thought Gang")

  parent reply	other threads:[~2004-06-08  7:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1BWhiS-0006Mt-00@moses.all2all.org>
2004-06-05 20:56 ` [Qemu-devel] Re: Qemu-devel Digest, Vol 15, Issue 19 - WINE with QEMU on non-86x processor? Wim Vanderbauwhede
     [not found]   ` <200406052312.04434.trunks-carracho@planet.nl>
2004-06-07  8:29     ` Wim Vanderbauwhede
     [not found]       ` <200406071153.13888.trunks-carracho@planet.nl>
2004-06-07 10:27         ` Wim Vanderbauwhede
     [not found]           ` <200406071535.27517.trunks-carracho@planet.nl>
2004-06-07 13:55             ` [Qemu-devel] Re: WINE with QEMU on PPC Wim Vanderbauwhede
2004-06-07 16:02               ` Sander Nagtegaal
2004-06-07 17:51                 ` Mark Guertin
2004-06-07 20:07                 ` Wim Vanderbauwhede
     [not found]                   ` <200406072332.06794.trunks-carracho@planet.nl>
2004-06-07 21:36                     ` Sander Nagtegaal
2004-06-07 22:10                       ` Sander Nagtegaal
2004-06-08  7:12                       ` Wim Vanderbauwhede [this message]
2004-06-08  8:54                         ` Sander Nagtegaal
     [not found]   ` <1086685662.3281.4.camel@sicilia>
     [not found]     ` <200406081553.31093.trunks-carracho@planet.nl>
2004-06-08 14:10       ` [Qemu-devel] Re: WINE with QEMU on PPC: importance of gcc/glibc versions? Sander Nagtegaal
2004-06-09  7:57       ` Wim Vanderbauwhede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=twig.1086678749.97053@all2all.org \
    --to=wim@motherearth.org \
    --cc=qemu-devel@nongnu.org \
    --cc=trunks-carracho@planet.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).