<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Still have that extras/contrib x264 build problem, under Cygwin.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT FACE="Times New Roman">In the win32 patch I've gotten rid of the substitutions for AR, RANLIB, STRIP, to get it to build. It builds until:</FONT>
<BR><FONT FACE="Times New Roman">ranlib libx264.a</FONT>
<BR><FONT FACE="Times New Roman">gcc -mno-cygwin -isystem /usr/include/mingw -o x264.exe x264.o matroska.o muxers</FONT>
<BR><FONT FACE="Times New Roman">.o libx264.a -L/home/mfm/vlc-trunk/extras/contrib/lib -mno-cygwin -mno-cygwin -l</FONT>
<BR><FONT FACE="Times New Roman">pthread -lvfw32 -s</FONT>
<BR><FONT FACE="Times New Roman">libx264.a(cpu.o):cpu.c:(.text+0x192): undefined reference to `__imp__pthread_num</FONT>
<BR><FONT FACE="Times New Roman">_processors_np'</FONT>
<BR><FONT FACE="Times New Roman">collect2: ld returned 1 exit status</FONT>
<BR><FONT FACE="Times New Roman">make[3]: *** [x264.exe] Error 1</FONT>
</P>
<BR>
<P><FONT FACE="Times New Roman">Prior to that, it seemed to have built pthreads OK:</FONT>
<BR><FONT FACE="Times New Roman">rm -f libpthreadGC2.a</FONT>
<BR><FONT FACE="Times New Roman">ar -rv libpthreadGC2.a pthread.o version.o</FONT>
<BR><FONT FACE="Times New Roman">ar: creating libpthreadGC2.a</FONT>
<BR><FONT FACE="Times New Roman">a - pthread.o</FONT>
<BR><FONT FACE="Times New Roman">a - version.o</FONT>
<BR><FONT FACE="Times New Roman">ranlib libpthreadGC2.a</FONT>
<BR><FONT FACE="Times New Roman">echo touched > libpthreadGC2.stamp</FONT>
<BR><FONT FACE="Times New Roman">make[4]: Leaving directory `/home/mfm/vlc-trunk/extras/contrib/src/pthreads'</FONT>
<BR><FONT FACE="Times New Roman">make[3]: Leaving directory `/home/mfm/vlc-trunk/extras/contrib/src/pthreads'</FONT>
<BR><FONT FACE="Times New Roman">touch .pthreads</FONT>
<BR><FONT FACE="Times New Roman">(cd x264; CC="gcc -mno-cygwin -isystem /usr/include/mingw" CXX="g++ -mno-cygwin</FONT>
<BR><FONT FACE="Times New Roman">-isystem /usr/include/mingw" ./configure --prefix="/home/mfm/vlc-trunk/extras/c</FONT>
<BR><FONT FACE="Times New Roman">ontrib" && make && make install)</FONT>
<BR><FONT FACE="Times New Roman">Platform: X86</FONT>
<BR><FONT FACE="Times New Roman">System: CYGWIN</FONT>
<BR><FONT FACE="Times New Roman">avis input: yes</FONT>
<BR><FONT FACE="Times New Roman">mp4 output: no</FONT>
<BR><FONT FACE="Times New Roman">pthread: yes</FONT>
<BR><FONT FACE="Times New Roman">gtk: no</FONT>
<BR><FONT FACE="Times New Roman">debug: no</FONT>
<BR><FONT FACE="Times New Roman">gprof: no</FONT>
<BR><FONT FACE="Times New Roman">PIC: no</FONT>
<BR><FONT FACE="Times New Roman">shared: no</FONT>
<BR><FONT FACE="Times New Roman">visualize: no</FONT>
</P>
<P><FONT FACE="Times New Roman">Thoughts?</FONT>
</P>
<P><FONT FACE="Times New Roman">Thanks.</FONT>
</P>
</BODY>
</HTML>