Compiling 1.1.20:undefined reference to `png_set_longjmp_fn'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all.
I'm trying to compile an older wine version from git.
What I did was first to 'git clone' the repo into a folder and then issue a
'git checkout wine-1.1.20' command which should give me the source for the 1.1.20 release. Then I do a "./configure --prefix=/usr" and then I compile with "make depend && make".
This is a part of the last output:

Code:
../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_CLSID=CLSID_PSDispatch -DPROXY_DELEGATION -DREGISTER_PROXY_DLL  -p -P oleaut32_ocidl_p.c oleaut32_ocidl.idl
../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_CLSID=CLSID_PSDispatch -DPROXY_DELEGATION -DREGISTER_PROXY_DLL  -h -H oleaut32_ocidl.h oleaut32_ocidl.idl
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_CLSID=CLSID_PSDispatch -DPROXY_DELEGATION -DREGISTER_PROXY_DLL -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o oleaut32_ocidl_p.o oleaut32_ocidl_p.c
../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_CLSID=CLSID_PSDispatch -DPROXY_DELEGATION -DREGISTER_PROXY_DLL  --dlldata-only --dlldata=dlldata.c oleaut32_oaidl.idl oleaut32_ocidl.idl
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_CLSID=CLSID_PSDispatch -DPROXY_DELEGATION -DREGISTER_PROXY_DLL -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o dlldata.o dlldata.c
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -DENTRY_PREFIX=OLEAUTPS_ -DPROXY_CLSID=CLSID_PSDispatch -DPROXY_DELEGATION -DREGISTER_PROXY_DLL  -fooleaut32.res oleaut32.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./oleaut32.spec ole2disp.spec.o typelib.spec.o ole2disp.o typelib16.o  connpt.o dispatch.o hash.o oleaut.o olefont.o olepicture.o recinfo.o regsvr.o safearray.o stubs.o tmarshal.o typelib.o typelib2.o ungif.o usrmarshal.o varformat.o variant.o vartype.o   oleaut32_oaidl_p.o oleaut32_ocidl_p.o dlldata.o oleaut32.res  -o oleaut32.dll.so -lcomctl32 -lurlmon -luuid -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -Wb,-dcomctl32 -Wb,-durlmon  ../../libs/port/libwine_port.a  
olepicture.o: In function `OLEPictureImpl_LoadPNG':
/home/ole/Desktop/newine/dlls/oleaut32/olepicture.c:1478: undefined reference to `png_set_longjmp_fn'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [oleaut32.dll.so] Error 2
make[2]: Leaving directory `/home/ole/Desktop/newine/dlls/oleaut32'
make[1]: *** [oleaut32] Error 2
make[1]: Leaving directory `/home/ole/Desktop/newine/dlls'
make: *** [dlls] Error 2



I'm using Arch Linux which doesn't have any precompiled packages for older wine releases so I figured compiling from the 1.1.20 tag was my only option. Perhaps this is not the way?
The above error occurs also on the 1.1.10 tag but not on the 1.1.43 - thats the ones I tried besides 1.1.20.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux