http://bugs.winehq.org/show_bug.cgi?id=2586
Summary: error running make install with FreeBSD make instead gmake Product: Wine Version: CVS Platform: PC OS/Version: FreeBSD Status: UNCONFIRMED Severity: minor Priority: P3 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: thomas.scholten@unbescholten.de
Per default FreeBSD uses it's own implementation of make instead gnu make. Using ./configure. make && make install prodices the following error; using gmake install works fine anyway:
../../tools/mkinstalldirs -m 755 /usr/local/lib/wine /usr/bin/install -c serialui.dll.so /usr/local/lib/wine/serialui.dll.so cd `dirname setupapi/__install__` && make install gcc -g -O2 install.c -o install install.c:23:20: windef.h: No such file or directory install.c:24:21: winbase.h: No such file or directory install.c:25:20: winreg.h: No such file or directory install.c:26:22: winternl.h: No such file or directory install.c:27:22: winerror.h: No such file or directory install.c:28:20: wingdi.h: No such file or directory install.c:29:21: winuser.h: No such file or directory install.c:30:20: winnls.h: No such file or directory install.c:31:22: setupapi.h: No such file or directory In file included from install.c:32: setupapi_private.h:35: error: syntax error before '*' token setupapi_private.h:35: error: syntax error before "hinf" setupapi_private.h:35: warning: data definition has no type or storage class setupapi_private.h:36: error: syntax error before '*' token setupapi_private.h:38: error: syntax error before '*' token setupapi_private.h:40: error: syntax error before '*' token setupapi_private.h:40: error: syntax error before "hinf" setupapi_private.h:40: warning: data definition has no type or storage class setupapi_private.h:41: error: syntax error before '*' token setupapi_private.h:41: error: syntax error before '*' token setupapi_private.h:41: warning: data definition has no type or storage class setupapi_private.h:48: error: syntax error before "PSP_FILE_CALLBACK_A" setupapi_private.h:51: error: syntax error before "CALLBACK" setupapi_private.h:51: error: syntax error before "UINT" setupapi_private.h:51: warning: data definition has no type or storage class install.c:33:26: wine/unicode.h: No such file or directory install.c:34:24: wine/debug.h: No such file or directory install.c:36: warning: parameter names (without types) in function declaration install.c:36: warning: data definition has no type or storage class install.c:41: error: syntax error before "HSPFILEQ" install.c:50: error: syntax error before "HKEY" install.c:57: error: syntax error before "PSP_FILE_CALLBACK_W" install.c:62: error: syntax error before '*' token install.c:65: error: syntax error before "CopyFiles" install.c:65: warning: data definition has no type or storage class install.c:66: error: syntax error before "DelFiles" install.c:66: warning: data definition has no type or storage class install.c:67: error: syntax error before "RenFiles" install.c:67: warning: data definition has no type or storage class install.c:68: error: syntax error before "Ini2Reg" install.c:68: warning: data definition has no type or storage class install.c:69: error: syntax error before "LogConf" install.c:69: warning: data definition has no type or storage class install.c:70: error: syntax error before "AddReg" install.c:70: warning: data definition has no type or storage class install.c:71: error: syntax error before "DelReg" install.c:71: warning: data definition has no type or storage class install.c:72: error: syntax error before "BitReg" install.c:72: warning: data definition has no type or storage class install.c:73: error: syntax error before "UpdateInis" install.c:73: warning: data definition has no type or storage class install.c:74: error: syntax error before "CopyINF" install.c:74: warning: data definition has no type or storage class install.c:75: error: syntax error before "UpdateIniFields" install.c:75: warning: data definition has no type or storage class install.c:76: error: syntax error before "RegisterDlls" install.c:76: warning: data definition has no type or storage class install.c:77: error: syntax error before "UnregisterDlls" install.c:77: warning: data definition has no type or storage class install.c:78: error: syntax error before "ProfileItems" install.c:78: warning: data definition has no type or storage class install.c:86: error: syntax error before '*' token install.c:86: error: syntax error before '*' token install.c: In function `get_field_string': install.c:89: error: syntax error before "required" install.c:91: error: `context' undeclared (first use in this function) install.c:91: error: (Each undeclared identifier is reported only once install.c:91: error: for each function it appears in.) install.c:91: error: `index' undeclared (first use in this function) install.c:91: error: `buffer' undeclared (first use in this function) install.c:91: error: `size' undeclared (first use in this function) install.c:91: error: `required' undeclared (first use in this function) install.c:92: error: `ERROR_INSUFFICIENT_BUFFER' undeclared (first use in this function) install.c:95: error: `static_buffer' undeclared (first use in this function) install.c:96: error: `WCHAR' undeclared (first use in this function) install.c:96: error: `NULL' undeclared (first use in this function) install.c: At top level: install.c:110: error: syntax error before "copy_files_callback" install.c:110: error: syntax error before "hinf" install.c: In function `copy_files_callback': install.c:112: error: `arg' undeclared (first use in this function) install.c:114: error: `field' undeclared (first use in this function) install.c:115: error: structure has no member named `queue' install.c:115: error: structure has no member named `layout' install.c:115: error: structure has no member named `src_root' install.c:115: error: `NULL' undeclared (first use in this function) install.c:115: error: structure has no member named `copy_flags' install.c:117: error: structure has no member named `queue' install.c:117: error: structure has no member named `src_root' install.c:117: error: structure has no member named `layout' install.c:117: error: `hinf' undeclared (first use in this function) install.c:117: error: structure has no member named `copy_flags' install.c:118: error: `TRUE' undeclared (first use in this function) install.c: At top level: install.c:127: error: syntax error before "delete_files_callback" install.c:127: error: syntax error before "hinf" install.c: In function `delete_files_callback': install.c:129: error: `arg' undeclared (first use in this function) install.c:130: error: structure has no member named `queue' install.c:130: error: `hinf' undeclared (first use in this function) install.c:130: error: `field' undeclared (first use in this function) install.c:131: error: `TRUE' undeclared (first use in this function) install.c: At top level: install.c:140: error: syntax error before "rename_files_callback" install.c:140: error: syntax error before "hinf" install.c: In function `rename_files_callback': install.c:142: error: `arg' undeclared (first use in this function) install.c:143: error: structure has no member named `queue' install.c:143: error: `hinf' undeclared (first use in this function) install.c:143: error: `field' undeclared (first use in this function) install.c:144: error: `TRUE' undeclared (first use in this function) install.c: At top level: install.c:153: error: syntax error before "get_root_key" install.c:153: error: syntax error before '*' token install.c: In function `get_root_key': install.c:155: error: syntax error before "HKCR" install.c: At top level: install.c:156: error: syntax error before "HKCU" install.c:156: warning: data definition has no type or storage class install.c:157: error: syntax error before "HKLM" install.c:157: warning: data definition has no type or storage class install.c:158: error: syntax error before "HKU" install.c:158: warning: data definition has no type or storage class install.c:159: error: syntax error before "HKR" install.c:159: warning: data definition has no type or storage class install.c:161: error: syntax error before "if" *** Error code 1
Stop in /usr/home/tom/winecvs/wine/dlls/setupapi. *** Error code 1
Stop in /usr/home/tom/winecvs/wine/dlls. *** Error code 1
Stop in /usr/home/tom/winecvs/wine.