Everything up to point 3 worked perfect. When running the command in point 4 though, I'm getting this error message:
make dlls/d3d8 dlls/wined3d
make[1]: Entering directory '/tmp/wine-1.8.5/libs/port'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/wine-1.8.5/libs/port'
make[1]: Entering directory '/tmp/wine-1.8.5/libs/wine'
gcc -m32 -c -o c_10001.o c_10001.c -I. -I../../include -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC \
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
-Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
-Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
c_10001.c:7061:5: error: stray ‘\20’ in program
�x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f,
^
c_10001.c:7061:6: error: ‘x003f’ undeclared here (not in a function)
�x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f, 0x003f,
^
Makefile:292: recipe for target 'c_10001.o' failed
make[1]: *** [c_10001.o] Error 1
make[1]: Leaving directory '/tmp/wine-1.8.5/libs/wine'
Makefile:21917: recipe for target 'libs/wine' failed
make: *** [libs/wine] Error 2
Any ideas what's going wrong?
Edit: Running Ubuntu 16.04.1 LTS, and Wine 1.8.5