-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am on FreeBSD 8-current (AMD64) and am attempting to get wine
compiled and installed... several issues:
1. Due to item 2 I can't build wine but I have vista64 installed on a
mounted partition can I just tell wine to use it's dll's... if so how?
2. When I do a make (I am not installing as a port) I get:
actxprxy_servprov_p.c:272:2: error: #error Currently only Wine and
WIN32 are supported.
*** Error code 1
Stop in /usr/home/aryeh/wine/dlls/actxprxy.
If I remove the #error derective I get:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__
- -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
- -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2
- -o signal_x86_64.o signal_x86_64.c
signal_x86_64.c:138: warning: type defaults to 'int' in declaration of
'SIGCONTEXT'
signal_x86_64.c:138: error: expected ';', ',' or ')'
before '*' token
signal_x86_64.c:174: error: expected declaration specifiers or '...'
before 'SIGCONTEXT'
signal_x86_64.c: In function 'restore_context':
signal_x86_64.c:176: warning: implicit declaration of function 'RAX_sig'
signal_x86_64.c:176: error: 'sigcontext' undeclared (first use in this
function)
signal_x86_64.c:176: error: (Each undeclared identifier is reported
only once
signal_x86_64.c:176: error: for each function it appears in.)
signal_x86_64.c:176: error: lvalue required as left operand of assignment
signal_x86_64.c:177: warning: implicit declaration of function 'RCX_sig'
signal_x86_64.c:177: error: lvalue required as left operand of assignment
signal_x86_64.c:178: warning: implicit declaration of function 'RDX_sig'
signal_x86_64.c:178: error: lvalue required as left operand of assignment
signal_x86_64.c:179: warning: implicit declaration of function 'RBX_sig'
signal_x86_64.c:179: error: lvalue required as left operand of assignment
signal_x86_64.c:180: warning: implicit declaration of function 'RSP_sig'
signal_x86_64.c:180: error: lvalue required as left operand of assignment
signal_x86_64.c:181: warning: implicit declaration of function 'RBP_sig'
signal_x86_64.c:181: error: lvalue required as left operand of assignment
signal_x86_64.c:182: warning: implicit declaration of function 'RSI_sig'
signal_x86_64.c:182: error: lvalue required as left operand of assignment
signal_x86_64.c:183: warning: implicit declaration of function 'RDI_sig'
signal_x86_64.c:183: error: lvalue required as left operand of assignment
signal_x86_64.c:184: warning: implicit declaration of function 'R8_sig'
signal_x86_64.c:184: error: lvalue required as left operand of assignment
signal_x86_64.c:185: warning: implicit declaration of function 'R9_sig'
signal_x86_64.c:185: error: lvalue required as left operand of assignment
signal_x86_64.c:186: warning: implicit declaration of function 'R10_sig'
signal_x86_64.c:186: error: lvalue required as left operand of assignment
signal_x86_64.c:187: warning: implicit declaration of function 'R11_sig'
signal_x86_64.c:187: error: lvalue required as left operand of assignment
signal_x86_64.c:188: warning: implicit declaration of function 'R12_sig'
signal_x86_64.c:188: error: lvalue required as left operand of assignment
signal_x86_64.c:189: warning: implicit declaration of function 'R13_sig'
signal_x86_64.c:189: error: lvalue required as left operand of assignment
signal_x86_64.c:190: warning: implicit declaration of function 'R14_sig'
signal_x86_64.c:190: error: lvalue required as left operand of assignment
signal_x86_64.c:191: warning: implicit declaration of function 'R15_sig'
signal_x86_64.c:191: error: lvalue required as left operand of assignment
signal_x86_64.c:192: warning: implicit declaration of function 'RIP_sig'
signal_x86_64.c:192: error: lvalue required as left operand of assignment
signal_x86_64.c:193: warning: implicit declaration of function 'CS_sig'
signal_x86_64.c:193: error: lvalue required as left operand of assignment
signal_x86_64.c:194: warning: implicit declaration of function 'FS_sig'
signal_x86_64.c:194: error: lvalue required as left operand of assignment
signal_x86_64.c:195: warning: implicit declaration of function 'GS_sig'
signal_x86_64.c:195: error: lvalue required as left operand of assignment
signal_x86_64.c:196: warning: implicit declaration of function 'EFL_sig'
signal_x86_64.c:196: error: lvalue required as left operand of assignment
signal_x86_64.c:197: warning: implicit declaration of function 'FPU_sig'
signal_x86_64.c:197: error: invalid type argument of 'unary *'
signal_x86_64.c: At top level:
signal_x86_64.c:229: warning: return type defaults to 'int'
signal_x86_64.c: In function 'HANDLER_DEF':
signal_x86_64.c:233: warning: implicit declaration of function
'save_context'
signal_x86_64.c:233: error: 'HANDLER_CONTEXT' undeclared (first use in
this function)
signal_x86_64.c:240: warning: implicit declaration of function
'TRAP_sig'
signal_x86_64.c:257: warning: implicit declaration of function
'ERROR_sig'
signal_x86_64.c:272: warning: format '%ld' expects type 'long
int',
but argument 5 has type 'int'
signal_x86_64.c:285: error: too many arguments to function
'restore_context'
signal_x86_64.c: At top level:
signal_x86_64.c:294: warning: return type defaults to 'int'
signal_x86_64.c:294: error: redefinition of 'HANDLER_DEF'
signal_x86_64.c:229: error: previous definition of 'HANDLER_DEF' was
here
signal_x86_64.c: In function 'HANDLER_DEF':
signal_x86_64.c:298: error: 'HANDLER_CONTEXT' undeclared (first use in
this function)
signal_x86_64.c:304: error: 'FAULT_CODE' undeclared (first use in this
function)
signal_x86_64.c:308: error: lvalue required as left operand of assignment
signal_x86_64.c:319: error: too many arguments to function
'restore_context'
signal_x86_64.c: At top level:
signal_x86_64.c:328: warning: return type defaults to 'int'
signal_x86_64.c:328: error: redefinition of 'HANDLER_DEF'
signal_x86_64.c:294: error: previous definition of 'HANDLER_DEF' was
here
signal_x86_64.c: In function 'HANDLER_DEF':
signal_x86_64.c:332: error: 'HANDLER_CONTEXT' undeclared (first use in
this function)
signal_x86_64.c:338: error: 'FAULT_CODE' undeclared (first use in this
function)
signal_x86_64.c:368: error: too many arguments to function
'restore_context'
signal_x86_64.c: At top level:
signal_x86_64.c:377: warning: return type defaults to 'int'
signal_x86_64.c:377: error: redefinition of 'HANDLER_DEF'
signal_x86_64.c:328: error: previous definition of 'HANDLER_DEF' was
here
signal_x86_64.c: In function 'HANDLER_DEF':
signal_x86_64.c:383: error: 'HANDLER_CONTEXT' undeclared (first use in
this function)
signal_x86_64.c:390: error: too many arguments to function
'restore_context'
signal_x86_64.c: At top level:
signal_x86_64.c:401: warning: return type defaults to 'int'
signal_x86_64.c:401: error: redefinition of 'HANDLER_DEF'
signal_x86_64.c:377: error: previous definition of 'HANDLER_DEF' was
here
signal_x86_64.c: In function 'HANDLER_DEF':
signal_x86_64.c:405: error: 'HANDLER_CONTEXT' undeclared (first use in
this function)
signal_x86_64.c:412: error: too many arguments to function
'restore_context'
signal_x86_64.c: At top level:
signal_x86_64.c:422: warning: return type defaults to 'int'
signal_x86_64.c:422: error: redefinition of 'HANDLER_DEF'
signal_x86_64.c:401: error: previous definition of 'HANDLER_DEF' was
here
signal_x86_64.c:433: warning: return type defaults to 'int'
signal_x86_64.c:433: error: redefinition of 'HANDLER_DEF'
signal_x86_64.c:422: error: previous definition of 'HANDLER_DEF' was
here
signal_x86_64.c: In function 'HANDLER_DEF':
signal_x86_64.c:436: error: 'HANDLER_CONTEXT' undeclared (first use in
this function)
signal_x86_64.c:438: error: too many arguments to function
'restore_context'
signal_x86_64.c: In function 'SIGNAL_Init':
signal_x86_64.c:488: error: 'int_handler' undeclared (first use in
this function)
signal_x86_64.c:489: error: 'fpe_handler' undeclared (first use in
this function)
signal_x86_64.c:490: error: 'segv_handler' undeclared (first use in
this function)
signal_x86_64.c:492: error: 'abrt_handler' undeclared (first use in
this function)
signal_x86_64.c:493: error: 'quit_handler' undeclared (first use in
this function)
signal_x86_64.c:494: error: 'usr1_handler' undeclared (first use in
this function)
signal_x86_64.c:499: error: 'trap_handler' undeclared (first use in
this function)
*** Error code 1
Stop in /usr/home/aryeh/wine/dlls/ntdll.
*** Error code 1
- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business, friendly
http://www.flosoft-systems.com
"Free software != Free beer"
Blog:
http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmQlWQi2hk2LEXBARAvbyAKCzOYHVlJmNu3L/x/wR4zI0HeqvpACeNbyP
TdTw8HU+Q6YKXeyJSwWOtz8=u5L5
-----END PGP SIGNATURE-----
On Thursday January 24 2008 21:55:34 Aryeh M. Friedman wrote:> I am on FreeBSD 8-current (AMD64) and am attempting to get wine > compiled and installed... several issues: > > 1. Due to item 2 I can't build wine but I have vista64 installed on a > mounted partition can I just tell wine to use it's dll's... if so how?Don't try to use DLLs from Windows without reason. By definition, if you just want replace all WINE DLLs with Windows DLLs you should use Windows in virtual machine (because WINE will never support use of ALL Windows DLLs). And of course native DLLs will not help you to compile or install WINE anyway.> 2. When I do a make (I am not installing as a port) I get: > > actxprxy_servprov_p.c:272:2: error: #error Currently only Wine and > WIN32 are supported.You can find instructions about how to compile/install WINE on FreeBSD here: http://www.codeweavers.com/support/docs/wine-user/getting-wine-package#GETTING-FREEBSD and http://www.freshports.org/emulators/wine/ .
Aryeh M. Friedman skrev:> 1. Due to item 2 I can't build wine but I have vista64 installed on a > mounted partition can I just tell wine to use it's dll's... if so how?Hmm, you can't tell wine to do anything without compiling it first... and the answer is no anyway. (Well, technically, you *could*, if you were able to build Wine, but there's no good reason to. "It won't work" is an understatement.)> 2. When I do a make (I am not installing as a port) I get: > > actxprxy_servprov_p.c:272:2: error: #error Currently only Wine and > WIN32 are supported. > *** Error code 1Make sure you pass --disable-win64 to configure. Set CC="gcc -m32", CXX="g++ -m32", and maybe set --host as if cross-compiling to i386. There's a check early in configure.ac that sets -m32 and such automatically if the canonical host is x86_64*linux*. Consider submitting a patch to wine-patches that does the same for BSD.