Uh, well...some progress coming up...but I don't know whether I'm getting closer or just being lucky ;)
(I'm sorry if this post is unclear and/or of very little use. I'm not used to twisting/tweaking/porting software.) I put: 'ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no' exported that as well, and ran configure --disable-win16 I believe the win16 might be responsible for the DOS low mem mapping sc***ing things up...but I haven't checked that, just to confuse myself and everyone else... I commented out the dnsapi line in dlls/Makefile... next I compiled: make depend ; make and tried running: ktrace wine-pthreads /emul/w/windows/sol.exe (Note: I try that because sol.exe runs under the current wine-99xxxx OpenBSD port.) ...which created a *huge* ktrace.out file output from program was only "wine: failed to initialize: File not found" Here are the last four rows of code in main.c, which is the only place I can find that error msg: wine_pthread_set_functions( &pthread_functions, sizeof(pthread_functions) ); wine_init( argc, argv, error, sizeof(error) ); fprintf( stderr, "wine: failed to initialize: %s\n", error ); exit(1); After kdumping into text file, I did some greps for relevant things: grep -n '.so' wtf 4: 20251 wine-pthread NAMI "/usr/libexec/ld.so" 18: 20251 wine-pthread NAMI "/var/run/ld.so.hints" 30: 20251 wine-pthread NAMI "/usr/local/lib/libwine.so.1.0" 226: 20251 wine-pthread NAMI "/usr/lib/libpthread.so.7.0" 392: 20251 wine-pthread NAMI "/usr/lib/libc.so.40.3" 571: 20251 wine-pthread NAMI "/usr/lib/libossaudio.so.3.0" grep -n "not found" wtf 100890: "wine: failed to initialize: File not found About 150 lines above, /usr/local/lib/wine is opened, so there might be something missing there...? The closest access I can see is this: (note: 20251 is pid) 20251 wine-pthread NAMI "/usr/local/lib/wine" 20251 wine-pthread RET open 5 20251 wine-pthread CALL fstat(0x5,0xcfbc8420) grep -n 'lib' wtf 4: 20251 wine-pthread NAMI "/usr/libexec/ld.so" 27: 20251 wine-pthread NAMI "$ORIGIN/../lib" 30: 20251 wine-pthread NAMI "/usr/local/lib/libwine.so.1.0" 223: 20251 wine-pthread NAMI "$ORIGIN/../lib" 226: 20251 wine-pthread NAMI "/usr/lib/libpthread.so.7.0" 389: 20251 wine-pthread NAMI "$ORIGIN/../lib" 392: 20251 wine-pthread NAMI "/usr/lib/libc.so.40.3" 568: 20251 wine-pthread NAMI "$ORIGIN/../lib" 571: 20251 wine-pthread NAMI "/usr/lib/libossaudio.so.3.0" 1624: 20251 wine-pthread NAMI "/usr/local/lib/../bin/wineserver" 100687: 20251 wine-pthread NAMI "/usr/local/lib/wine" 100702: 20251 wine-pthread NAMI "/usr/local/lib/wine" 100723: 20251 wine-pthread NAMI "/usr/local/lib/wine" 100736: 20251 wine-pthread NAMI "/usr/local/lib/wine" Uh......$ORIGIN....?? Another grep, which I won't paste here, is "allocate memory", which seems to occupy every other line from ~2400 to ~100600. Example: wine-pthread CALL mmap(0x9f230000,0x13f0000,0,0x1442,0xffffffff,0,0,0) wine-pthread RET mmap -1 errno 12 Cannot allocate memory I don't understand why mmap is called with eight args, maybe it's trivial for those who know. // V.A. -- View this message in context: http://www.nabble.com/wine-0.9.37-ktrace-tf3733527.html#a10633012 Sent from the openbsd user - ports mailing list archive at Nabble.com.