Makefile Infinite Loop on comctl32 with --enable-win64

Questions about Wine on Linux
Locked
NotAnAmbiTurner
Newbie
Newbie
Posts: 1
Joined: Sun Oct 08, 2017 12:27 am

Makefile Infinite Loop on comctl32 with --enable-win64

Post by NotAnAmbiTurner »

I am attempting to install Wine on my Fedora 26 distro. I downloaded all dependencies (I think), and created the Makefile successfully (following this guide: https://wiki.winehq.org/Building_Wine#Shared_WoW64). I'm new to Wine - any help would be greatly appreciated.

When i executed `make` on the Makefile, however, I get an infinite loop at comctl32. This happenened the first time I ran the Makefile, and I terminated the terminal session. I tried again, and same result. Here's an except from the terminal:

Code: Select all

make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/capi2032'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/capi2032'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/cards'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/cards'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/cfgmgr32'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/cfgmgr32'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/clusapi'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/clusapi'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/combase'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/combase'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/combase/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/combase/tests'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/comcat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/comcat'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/comcat/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/user1/wine-dirs/wine-build/dlls/comcat/tests'
make[1]: Entering directory '/home/user1/wine-dirs/wine-build/dlls/comctl32'
gcc -m64 -c -o hotkey.o ../../../wine-source/wine-2_18/dlls/comctl32/hotkey.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o imagelist.o ../../../wine-source/wine-2_18/dlls/comctl32/imagelist.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o ipaddress.o ../../../wine-source/wine-2_18/dlls/comctl32/ipaddress.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o listview.o ../../../wine-source/wine-2_18/dlls/comctl32/listview.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o monthcal.o ../../../wine-source/wine-2_18/dlls/comctl32/monthcal.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o nativefont.o ../../../wine-source/wine-2_18/dlls/comctl32/nativefont.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o pager.o ../../../wine-source/wine-2_18/dlls/comctl32/pager.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o progress.o ../../../wine-source/wine-2_18/dlls/comctl32/progress.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o propsheet.o ../../../wine-source/wine-2_18/dlls/comctl32/propsheet.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o rebar.o ../../../wine-source/wine-2_18/dlls/comctl32/rebar.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o smoothscroll.o ../../../wine-source/wine-2_18/dlls/comctl32/smoothscroll.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o status.o ../../../wine-source/wine-2_18/dlls/comctl32/status.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o string.o ../../../wine-source/wine-2_18/dlls/comctl32/string.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o syslink.o ../../../wine-source/wine-2_18/dlls/comctl32/syslink.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o tab.o ../../../wine-source/wine-2_18/dlls/comctl32/tab.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o taskdialog.o ../../../wine-source/wine-2_18/dlls/comctl32/taskdialog.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theme_button.o ../../../wine-source/wine-2_18/dlls/comctl32/theme_button.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theme_combo.o ../../../wine-source/wine-2_18/dlls/comctl32/theme_combo.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theme_dialog.o ../../../wine-source/wine-2_18/dlls/comctl32/theme_dialog.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theme_edit.o ../../../wine-source/wine-2_18/dlls/comctl32/theme_edit.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theme_listbox.o ../../../wine-source/wine-2_18/dlls/comctl32/theme_listbox.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theme_scrollbar.o ../../../wine-source/wine-2_18/dlls/comctl32/theme_scrollbar.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o theming.o ../../../wine-source/wine-2_18/dlls/comctl32/theming.c -I. \
  -I../../../wine-source/wine-2_18/dlls/comctl32 -I../../include \
  -I../../../wine-source/wine-2_18/include -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -fPIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O2
gcc -m64 -c -o toolbar.o ../../../wine-source/wine-2_18/dlls/comctl32/toolbar.c -I. \
... and so on. Help?
DarkPlayer
Level 2
Level 2
Posts: 23
Joined: Sun Mar 13, 2016 11:15 am

Re: Makefile Infinite Loop on comctl32 with --enable-win64

Post by DarkPlayer »

What do you exactly mean by loop? If you take a look at the executed commands, they all compile different files:

Code: Select all

gcc -m64 -c -o hotkey.o ...
gcc -m64 -c -o imagelist.o ...
gcc -m64 -c -o ipaddress.o ...
gcc -m64 -c -o listview.o ...
gcc -m64 -c -o monthcal.o ...
gcc -m64 -c -o nativefont.o ...
gcc -m64 -c -o pager.o ...
gcc -m64 -c -o progress.o ...
gcc -m64 -c -o propsheet.o ...
gcc -m64 -c -o rebar.o ...
gcc -m64 -c -o smoothscroll.o ...
gcc -m64 -c -o status.o ...
gcc -m64 -c -o string.o ...
gcc -m64 -c -o syslink.o ...
gcc -m64 -c -o tab.o ...
gcc -m64 -c -o taskdialog.o ...
gcc -m64 -c -o theme_button.o ...
gcc -m64 -c -o theme_combo.o ...
gcc -m64 -c -o theme_dialog.o ...
gcc -m64 -c -o theme_edit.o ...
gcc -m64 -c -o theme_listbox.o ...
gcc -m64 -c -o theme_scrollbar.o ...
gcc -m64 -c -o theming.o ...
gcc -m64 -c -o toolbar.o ...
Do you mean it starts compiling the comctl32 module each time you execute make?
Locked