Error compiling wine 1.3.0 on slackware64

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mrhed
Newbie
Newbie
Posts: 1
Joined: Sun Aug 08, 2010 11:56 pm

Error compiling wine 1.3.0 on slackware64

Post by mrhed »

im having a error compiling wine version 1.3.0 on slackware64 i have the multilib gcc and 32 bit packages installed and i cannot compile i am getting this error.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/wine-1.3.0/dlls/windebug.dll16'
make[1]: Entering directory `/root/wine-1.3.0/dlls/windowscodecs'
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -o pngformat.o pngformat.c
pngformat.c:64: error: 'png_set_expand_gray_1_2_4_to_8' undeclared here (not in a function)
pngformat.c:64: warning: type defaults to 'int' in declaration of 'ppng_set_expand_gray_1_2_4_to_8'
pngformat.c: In function 'PngDecoder_Initialize':
pngformat.c:330: error: called object 'ppng_set_expand_gray_1_2_4_to_8' is not a function
make[1]: *** [pngformat.o] Error 1
make[1]: Leaving directory `/root/wine-1.3.0/dlls/windowscodecs'
make: *** [dlls/windowscodecs] Error 2



i get it reguardless of any version of libpng i install 32 bit compatible library mabe you could help or make a quick patch i dont know thanks for your time
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Error compiling wine 1.3.0 on slackware64

Post by vitamin »

mrhed wrote:pngformat.c:64: error: 'png_set_expand_gray_1_2_4_to_8' undeclared here (not in a function)
You have old libpng and/or old libpng headers.
Locked