<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I've seen this error using the os 4.0 beta 1 sdk, using the GM 3.2 sdk I don't get this error -- so the last couple weeks I've been switching sdk's back and forth to get around the problem.&nbsp; I'm downloading os 4.0 beta 2 right now to see if apple fixed it. <br><br>--- On <b>Tue, 4/20/10, Charles Davis <i>&lt;cdavis@mymail.mines.edu&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Charles Davis &lt;cdavis@mymail.mines.edu&gt;<br>Subject: Winebuild b0rken on Mac OS X?<br>To: "wine-devel" &lt;wine-devel@winehq.org&gt;<br>Date: Tuesday, April 20, 2010, 12:21 PM<br><br><div class="plainMail">While building Wine (latest git) on Mac OS X, I noticed this:<br><br>/usr/bin/nm: object: amstream_test.MDsdpi.o malformed object (LC_SEGMENT<br>command 0 filesize field greater than vmsize
 field)<br>Undefined symbols:<br>&nbsp; "_GetDesktopWindow", referenced from:<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; "_TlsGetValue", referenced from:<br>&nbsp; &nbsp; &nbsp; _get_tls_data in testlist.o<br>&nbsp; "_MultiByteToWideChar", referenced from:<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; "_CloseHandle", referenced from:<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; "_TlsSetValue", referenced from:<br>&nbsp; &nbsp; &nbsp; _get_tls_data in testlist.o<br>&nbsp; "_DirectDrawCreate", referenced from:<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; "_CoCreateInstance", referenced from:<br>&nbsp; &nbsp; &nbsp; _create_ammultimediastream in amstream.o<br>&nbsp; "_WaitForSingleObject", referenced from:<br>&nbsp; &nbsp; &nbsp; _winetest_wait_child_process in testlist.o<br>&nbsp; "_CoInitializeEx", referenced from:<br>&nbsp; &nbsp;
 &nbsp; _func_amstream in amstream.o<br>&nbsp; "_HeapAlloc", referenced from:<br>&nbsp; &nbsp; &nbsp; _get_tls_data in testlist.o<br>&nbsp; "_CoUninitialize", referenced from:<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; "_GetExitCodeProcess", referenced from:<br>&nbsp; &nbsp; &nbsp; _winetest_wait_child_process in testlist.o<br>&nbsp; "_GetEnvironmentVariableA", referenced from:<br>&nbsp; &nbsp; &nbsp; _main in testlist.o<br>&nbsp; &nbsp; &nbsp; _main in testlist.o<br>&nbsp; &nbsp; &nbsp; _main in testlist.o<br>&nbsp; &nbsp; &nbsp; _main in testlist.o<br>&nbsp; "_ExitProcess", referenced from:<br>&nbsp; &nbsp; &nbsp; _exit_process in testlist.o<br>&nbsp; &nbsp; &nbsp; ___wine_spec_exe_entry in libwinecrt0.a(exe_entry.o)<br>&nbsp; "_CreateFileA", referenced from:<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp; &nbsp; &nbsp; _func_amstream in amstream.o<br>&nbsp;
 "_TlsAlloc", referenced from:<br>&nbsp; &nbsp; &nbsp; _run_test in testlist.o<br>ld: symbol(s) not found<br>collect2: ld returned 1 exit status<br>winegcc: gcc failed<br>make[1]: *** [amstream_test.exe.so] Error 2<br>make: *** [dlls/amstream/tests] Error 2<br><br>Something's gone horribly wrong. Winebuild shouldn't be generating<br>b0rken Mach-O files. What gives?<br><br><br></div></blockquote></td></tr></table><br>