On Jan 19, 2008 9:32 PM, MythTV &lt;<a href="mailto:mythtv@cvs.mythtv.org">mythtv@cvs.mythtv.org</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
#4497: Win32 builds broken after r15435<br>------------------------------------------+---------------------------------<br>&nbsp;Reporter: &nbsp;Jay Modi &lt;<a href="mailto:jaymode@gmail.com">jaymode@gmail.com</a>&gt; &nbsp;| &nbsp; &nbsp; &nbsp; Owner: &nbsp;ijr
<br> &nbsp; &nbsp; Type: &nbsp;patch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp;Status: &nbsp;new<br>&nbsp;Priority: &nbsp;minor &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; Milestone: &nbsp;unknown<br>Component: &nbsp;mythtv &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; Version: &nbsp;unknown<br>&nbsp;Severity: &nbsp;medium &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; Mlocked: &nbsp;0
<br>------------------------------------------+---------------------------------<br>&nbsp;The Win32 builds seem to have been partially broken by r15435. The first<br>&nbsp;issue I noticed is that the typedef on line 89 needs a semicolon. However,
<br>&nbsp;this leads to even more problems, dealing with multiple definitions. The<br>&nbsp;cure for this is to remove the typedef and then include compat.h but this<br>&nbsp;causes linking errors. These linking errors are due to some other issue,
<br>&nbsp;as I have removed the entire r15435 changes from my compat.h and get the<br>&nbsp;same errors.<br><br>&nbsp;I have attached a patch file to add the include.<br><br>--<br>Ticket URL: &lt;<a href="http://svn.mythtv.org/trac/ticket/4497" target="_blank">
http://svn.mythtv.org/trac/ticket/4497</a>&gt;<br>MythTV &lt;<a href="http://svn.mythtv.org/trac" target="_blank">http://svn.mythtv.org/trac</a>&gt;<br><font color="#888888">MythTV<br></font></blockquote></div><br><br><br>
I wrote this ticket up last night and have tried again today with a clean subversion checkout and no patches applied. Now the weird thing is that I got a new error today. This error comes in a file that has not been changed in years according to trac. Is anyone else (the few of us) that are building with MinGW experiencing similar issues on the HEAD revision of svn. 
<br><br>Using this configure command:<br>./configure --prefix=/usr --disable-dbox2 --disable-hdhomerun --disable-dvb -<br>-disable-ivtv --disable-iptv --disable-joystick-menu --disable-xvmc-vld --disab<br>le-x11 --disable-xvmc --enable-directx --enable-memalign-hack --compile-type=de
<br>bug<br><br>When I run make, this is the new error: <br>gcc -c -march=i586 -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -fPIC -DPIC -mthreads -w -fexceptions -frtti&nbsp; -DUSING_MINGW -DUSING_WINAUDIO -DUSING_D3D -DUSING_DIRECTX -DUSING_DIRECTX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\&quot;/usr\&quot; -DLIBDIR=\&quot;/usr/lib\&quot; -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DQT_DLL -DQT_THREAD_SUPPORT -I&quot;/usr/include&quot; -I&quot;..&quot; -I&quot;../..&quot; -I&quot;/qt-
3.3.x-p8/include&quot; -I&quot;C:/msys/1.0/qt-3.3.x-p8/mkspecs/win32-g++&quot; -o samplerate.o samplerate.c<br>In file included from samplerate.c:27:<br>float_cast.h: In function `lrint&#39;:<br>float_cast.h:90: error: `_asm&#39; undeclared (first use in this function)
<br>float_cast.h:90: error: (Each undeclared identifier is reported only once<br>float_cast.h:90: error: for each function it appears in.)<br>float_cast.h:90: error: syntax error before &#39;{&#39; token<br>float_cast.h: In function `lrintf&#39;:
<br>float_cast.h:102: error: `_asm&#39; undeclared (first use in this function)<br>float_cast.h:102: error: syntax error before &#39;{&#39; token<br>make[2]: *** [samplerate.o] Error 1<br>make[2]: Leaving directory `/c/mythtv/mythtv/libs/libmythsamplerate&#39;
<br>make[1]: *** [sub-libmythsamplerate] Error 2<br>make[1]: Leaving directory `/c/mythtv/mythtv/libs&#39;<br>make: *** [sub-libs] Error 2<br><br>