Somewhat further along the way of fixing Wine on FreeBSD I'm stuck with what appears to be a clash between msvcrt and libc.
Attached is the output of running "env WINEDEBUG=trace+msvcrt notepad". It looks like msvcrt's _spawnve is called to run a Wine process. The same happens when running the msvcrt file test (2nd attachment), where the test on line 563 and 565 fails.
The actual problem is probably with the _execve symbol, because FreeBSD doesn't have any of the spawn calls. So, how to solve this?
Tijl Coosemans tijl@ulyssis.org writes:
The actual problem is probably with the _execve symbol, because FreeBSD doesn't have any of the spawn calls. So, how to solve this?
The easiest is probably to rename ours to MSVCRT_execve.
On Wednesday 02 August 2006 13:52, Alexandre Julliard wrote:
Tijl Coosemans tijl@ulyssis.org writes:
The actual problem is probably with the _execve symbol, because FreeBSD doesn't have any of the spawn calls. So, how to solve this?
The easiest is probably to rename ours to MSVCRT_execve.
I just managed to work arround it. The problem was the execv call in libs/wine/config.c. In libc execv calls _execve which exists outside libc as part of the threading libs and is therefore dynamically resolved. This can be prevented by calling execve instead of execv. On to the next problem...