<br><br><div class="gmail_quote">2010/2/3 Luca Bennati <span dir="ltr">&lt;<a href="mailto:lucak3@gmail.com">lucak3@gmail.com</a>&gt;</span><br><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
LD_LIBRARY_PATH=&quot;../../libs/wine:$LD_LIBRARY_PATH&quot; ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -foversion.res version.rc<br>
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. -shared ./windowscodecs.spec bmpdecode.o bmpencode.o clsfactory.o converter.o gifformat.o icoformat.o imgfactory.o info.o jpegformat.o main.o palette.o pngformat.o propertybag.o regsvr.o stream.o ungif.o    version.res    -o <a href="http://windowscodecs.dll.so" target="_blank">windowscodecs.dll.so</a>  -luuid -lole32 -ladvapi32 -lkernel32  ../../libs/port/libwine_port.a<br>

pngformat.o: In function `PngFrameEncode_Commit&#39;:<br>/home/luca/wine-git/dlls/windowscodecs/pngformat.c:987: undefined reference to `png_set_longjmp_fn&#39;<br>pngformat.o: In function `PngEncoder_Initialize&#39;:<br>

/home/luca/wine-git/dlls/windowscodecs/pngformat.c:1119: undefined reference to `png_set_longjmp_fn&#39;<br>pngformat.o: In function `PngFrameEncode_WritePixels&#39;:<br>/home/luca/wine-git/dlls/windowscodecs/pngformat.c:861: undefined reference to `png_set_longjmp_fn&#39;<br>

pngformat.o: In function `PngDecoder_Initialize&#39;:<br>/home/luca/wine-git/dlls/windowscodecs/pngformat.c:252: undefined reference to `png_set_longjmp_fn&#39;<br>collect2: ld returned 1 exit status<br><br>I will now investigate this new one<br>

</blockquote></div><br>I didn&#39;t find a clear answer as code seemed ok, so i tried to issue the command:<br>../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. 
-shared ./windowscodecs.spec bmpdecode.o bmpencode.o clsfactory.o 
converter.o gifformat.o icoformat.o imgfactory.o info.o jpegformat.o 
main.o palette.o pngformat.o propertybag.o regsvr.o stream.o ungif.o    
version.res    -o <a href="http://windowscodecs.dll.so/" target="_blank">windowscodecs.dll.so</a> 
 -luuid -lole32 -ladvapi32 -lkernel32  ../../libs/port/libwine_port.a<br>adding a simple -lpng:<br>../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. 
-shared ./windowscodecs.spec bmpdecode.o bmpencode.o clsfactory.o 
converter.o gifformat.o icoformat.o imgfactory.o info.o jpegformat.o 
main.o palette.o pngformat.o propertybag.o regsvr.o stream.o ungif.o    
version.res    -o <a href="http://windowscodecs.dll.so/" target="_blank">windowscodecs.dll.so</a> 
 -luuid -lole32 -ladvapi32 -lkernel32 -lpng  ../../libs/port/libwine_port.a<br>and it magically works ok<br><br>so the previous patch just has to add png to the imports in Makefile.in to make it work<br>Should i send the now correct patch?<br>