http://bugs.winehq.org/show_bug.cgi?id=2325
Summary: Wine-20040615 fails to run on FreeBSD-5.2 Product: Wine Version: 20040615 Platform: PC OS/Version: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-resources AssignedTo: wine-bugs@winehq.org ReportedBy: gvs@rinet.ru
any app fails with the following reason:
wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: mmap of entire address space failed: Cannot allocate memory
To be honest, Wine-20040615 doesn't even compile on FreeBSD because of a minor bug which can be fixed with a little patch:
--- dlls/ntdll/cdrom.c.orig Wed Jun 30 16:21:10 2004 +++ dlls/ntdll/cdrom.c Wed Jun 30 16:22:41 2004 @@ -1735,8 +1735,6 @@
TRACE("\n"); return CDROM_GetStatusCode(ioctl(fd, DVD_AUTH, &auth_info)); -#elif defined(__FreeBSD__) || defined(__NetBSD__) - return CDROM_GetStatusCode(ioctl(cdrom_cache[dev].fd, (rmv->PreventMediaRemoval) ? CDIOCPREVENT : CDIOCALLOW, NULL)); #else return STATUS_NOT_SUPPORTED; #endif