Closed GoogleCodeExporter closed 9 years ago
This is the link error
cd /c/src/webp/libwebp
CC=mingw32-gcc CXX=mingw32-g++ ./configure -prefix=/mingw
make clean
make
...
make[2]: Entering directory `/c/src/webp/libwebp/src'
g++ -Werror -Wall -O2 -g -O2 -L/usr/X11R6/lib -L/usr/local/lib -o webpconv.exe
webpimg.o webpconv.o -llept -ljpeg -lpng -lz -lm -lvpx -lpthread -lvpx
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: cannot fin
d -lpthread
collect2: ld returned 1 exit status
make[2]: *** [webpconv.exe] Error 1
The references are found here:
src\Makefile:VPX_LIBS = -lvpx -lpthread
src\Makefile.am:VPX_LIBS = -lvpx -lpthread
src\Makefile.in:VPX_LIBS = -lvpx -lpthread
Removing those references, webp builds ok on msys
Original comment by fbarch...@chromium.org
on 19 Nov 2010 at 1:16
Now in the new reference implementations for WebP encoder & decoder, 'pthread'
dependency is not required:
ikas[104] ldd /usr/local/bin/cwebp
linux-vdso.so.1 => (0x00007fffc79ff000)
libwebp.so.0 => /usr/local/lib/libwebp.so.0 (0x00007f3adbfbe000)
libpng12.so.0 => /lib/libpng12.so.0 (0x00007f3adbd97000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f3adbb72000)
libc.so.6 => /lib/libc.so.6 (0x00007f3adb7ef000)
libm.so.6 => /lib/libm.so.6 (0x00007f3adb56c000)
libz.so.1 => /lib/libz.so.1 (0x00007f3adb354000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3adc202000)
vikas[106] ldd /usr/local/bin/dwebp
linux-vdso.so.1 => (0x00007fff5dbff000)
libwebp.so.0 => /usr/local/lib/libwebp.so.0 (0x00007ffe10935000)
libpng12.so.0 => /lib/libpng12.so.0 (0x00007ffe1070e000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007ffe104e9000)
libc.so.6 => /lib/libc.so.6 (0x00007ffe10166000)
libm.so.6 => /lib/libm.so.6 (0x00007ffe0fee3000)
libz.so.1 => /lib/libz.so.1 (0x00007ffe0fccb000)
/lib64/ld-linux-x86-64.so.2 (0x00007ffe10b79000)
Original comment by vikaas.a...@gmail.com
on 21 Mar 2011 at 5:05
Original issue reported on code.google.com by
fbarch...@google.com
on 19 Nov 2010 at 12:33