[vlc-devel] Still have that extras/contrib x264 build problem, under Cygwin.

Mark Moriarty mfmbusiness at earthlink.net
Mon Sep 17 02:35:54 CEST 2007


In the win32 patch I've gotten rid of the substitutions for AR, RANLIB,
STRIP, to get it to build.  It builds until:
ranlib libx264.a
gcc -mno-cygwin -isystem /usr/include/mingw -o x264.exe x264.o matroska.o
muxers
.o libx264.a -L/home/mfm/vlc-trunk/extras/contrib/lib -mno-cygwin
-mno-cygwin -l
pthread -lvfw32 -s
libx264.a(cpu.o):cpu.c:(.text+0x192): undefined reference to
`__imp__pthread_num
_processors_np'
collect2: ld returned 1 exit status
make[3]: *** [x264.exe] Error 1


Prior to that, it seemed to have built pthreads OK:
rm -f libpthreadGC2.a
ar -rv libpthreadGC2.a pthread.o version.o
ar: creating libpthreadGC2.a
a - pthread.o
a - version.o
ranlib libpthreadGC2.a
echo touched > libpthreadGC2.stamp
make[4]: Leaving directory `/home/mfm/vlc-trunk/extras/contrib/src/pthreads'
make[3]: Leaving directory `/home/mfm/vlc-trunk/extras/contrib/src/pthreads'
touch .pthreads
(cd x264; CC="gcc -mno-cygwin -isystem /usr/include/mingw" CXX="g++
-mno-cygwin
-isystem /usr/include/mingw" ./configure
--prefix="/home/mfm/vlc-trunk/extras/c
ontrib" && make && make install)
Platform:   X86
System:     CYGWIN
avis input: yes
mp4 output: no
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     no
visualize:  no

Thoughts?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070916/efac647f/attachment.html>


More information about the vlc-devel mailing list