emulators/linux-wine: Help in porting to FreeBSD

Alexander Leidinger Alexander at Leidinger.net
Tue Mar 6 14:01:17 UTC 2007


Quoting Scot Hetzel <swhetzel at gmail.com> (from Sat, 14 Oct 2006  
00:55:17 -0500):

> I'm trying to create a port for emulators/linux-wine, so that we can
> at least have wine running on FreeBSD/amd64 using the linuxator.  This
> would then silence users who want wine (amd64/104311) to run under
> FreeBSD/amd64.
>
> Currently, I am having a problem running linux-wine.  When it is run
> as either root or as a user I get the following error:
>
> $ /compat/linux/usr/bin/wine
> wine: failed to initialize: /usr/lib/wine/ntdll.dll.so: failed to map
> segment from shared object: Cannot allocate memory

Do you get the same error with a recent current? I hope it may be  
fixed with the mmap changes. But it may also be the way the memory is  
laid out in FreeBSD vs. Linux. IIRC the native wine had a similar  
problem until someone fixed the code for wine on FreeBSD. But I'm not  
sure about this.

Bye,
Alexander.

-- 
Hoare's Law of Large Problems:
	Inside every large problem is a small
	problem struggling to get out.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-emulation mailing list