compilation problem

I am compiling a software named wine

When i run make then at the end following error generated.

DVAPI32_ -foversion.res version.rc
ld.so.1: ../../tools/wrc/wrc: fatal: relocation error: file ../../tools/wrc/wrc: symbol wine_casemap_upper: referenced symbol not found
*** Signal 9
make: Fatal error: Command failed for target `version.res'
Current working directory /opt/software/wine2/wine-0.9.47/dlls/advapi32
*** Error code 1
The following command caused the error:
cd advapi32 && make
make: Fatal error: Command failed for target `advapi32'
Current working directory /opt/software/wine2/wine-0.9.47/dlls
*** Error code 1
The following command caused the error:
cd dlls && make
make: Fatal error: Command failed for target `dlls'

Please tell me what are these errors and how to solve this problem