Hi,
I have downloaded the 3.7.1 Win32 source and tools from SourceForge and have tried building Squeak, but am getting link time errors.
The following symbols are undefined :-
win32JoystickDebugInfo win32JoystickDebugPrintRawValues win32JoystickDebugPrintAlternativeValues win32DebugPrintSocketState
'sqWin32FilePrims.o' seems to be missing from the link as there are further undefined symbols from this file.
And there are thurther error messages...
Help,
Aaron
Aaron -
Make sure that if you regenerate the VM source you have all but the FFIPlugin as internal plugins. Some of them don't build as externals and some (such as the Joystick and Tablet plugin) can't even be left out without modifying the source code.
Cheers, - Andreas
----- Original Message ----- From: Aaron Gray To: squeak-dev@lists.squeakfoundation.org Sent: Friday, December 03, 2004 5:05 PM Subject: Problems building Win32 Squeak
Hi,
I have downloaded the 3.7.1 Win32 source and tools from SourceForge and have tried building Squeak, but am getting link time errors.
The following symbols are undefined :-
win32JoystickDebugInfo win32JoystickDebugPrintRawValues win32JoystickDebugPrintAlternativeValues win32DebugPrintSocketState
'sqWin32FilePrims.o' seems to be missing from the link as there are further undefined symbols from this file.
And there are thurther error messages...
Help,
Aaron
------------------------------------------------------------------------------
Cheers, that solved that, but getting different errors now :(
~~~~ gcc -o ./sqWin32D3D.o -g -mpentium -mwindows -O3 -fomit-frame-pointer -funroll-l oops -fschedule-insns2 -I. -I../../ -I../..//vm -Ic:/dx7sdk/include -DWIN32_FIL E_SUPPORT -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST -DX86 -DSQUEAK_BUILTIN_PLUG IN -c sqWin32D3D.c In file included from c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2..... ...\i386-mingw32\include\oleauto.h:79, from c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2..... ...\i386-mingw32\include\ole2.h:7, from sqWin32D3D.c:16: c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2........\i386-mingw32\incl ude\oaidl.h:63: warning: redefinition of `LPTYPECOMP' c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2........\i386-mingw32\incl ude\oaidl.h:57: warning: `LPTYPECOMP' previously declared here In file included from sqWin32D3D.c:23: c:\dx7sdk\include\d3d.h:215: redefinition of `LPDIRECT3D' c:\dx7sdk\include\d3d.h:153: `LPDIRECT3D' previously declared here c:\dx7sdk\include\d3d.h:259: redefinition of `LPDIRECT3D2' c:\dx7sdk\include\d3d.h:162: `LPDIRECT3D2' previously declared here c:\dx7sdk\include\d3d.h:307: redefinition of `LPDIRECT3D3' c:\dx7sdk\include\d3d.h:170: `LPDIRECT3D3' previously declared here c:\dx7sdk\include\d3d.h:357: redefinition of `LPDIRECT3D7' c:\dx7sdk\include\d3d.h:178: `LPDIRECT3D7' previously declared here c:\dx7sdk\include\d3d.h:414: redefinition of `LPDIRECT3DDEVICE' c:\dx7sdk\include\d3d.h:154: `LPDIRECT3DDEVICE' previously declared here c:\dx7sdk\include\d3d.h:508: redefinition of `LPDIRECT3DDEVICE2' c:\dx7sdk\include\d3d.h:163: `LPDIRECT3DDEVICE2' previously declared here c:\dx7sdk\include\d3d.h:634: redefinition of `LPDIRECT3DDEVICE3' c:\dx7sdk\include\d3d.h:171: `LPDIRECT3DDEVICE3' previously declared here c:\dx7sdk\include\d3d.h:785: redefinition of `LPDIRECT3DDEVICE7' c:\dx7sdk\include\d3d.h:179: `LPDIRECT3DDEVICE7' previously declared here c:\dx7sdk\include\d3d.h:913: redefinition of `LPDIRECT3DEXECUTEBUFFER' c:\dx7sdk\include\d3d.h:155: `LPDIRECT3DEXECUTEBUFFER' previously declared here c:\dx7sdk\include\d3d.h:958: redefinition of `LPDIRECT3DLIGHT' c:\dx7sdk\include\d3d.h:156: `LPDIRECT3DLIGHT' previously declared here c:\dx7sdk\include\d3d.h:998: redefinition of `LPDIRECT3DMATERIAL' c:\dx7sdk\include\d3d.h:157: `LPDIRECT3DMATERIAL' previously declared here c:\dx7sdk\include\d3d.h:1039: redefinition of `LPDIRECT3DMATERIAL2' c:\dx7sdk\include\d3d.h:164: `LPDIRECT3DMATERIAL2' previously declared here c:\dx7sdk\include\d3d.h:1075: redefinition of `LPDIRECT3DMATERIAL3' c:\dx7sdk\include\d3d.h:172: `LPDIRECT3DMATERIAL3' previously declared here c:\dx7sdk\include\d3d.h:1115: redefinition of `LPDIRECT3DTEXTURE' c:\dx7sdk\include\d3d.h:158: `LPDIRECT3DTEXTURE' previously declared here c:\dx7sdk\include\d3d.h:1154: redefinition of `LPDIRECT3DTEXTURE2' ~~~~
If this is still a configuration problem maybe you could send me a copy of a VMMakerTool config file. But maybe not ?
Thanks for the help,
Aaron
----- Original Message ----- From: Andreas Raab To: The general-purpose Squeak developers list Sent: Friday, December 03, 2004 9:38 PM Subject: Re: Problems building Win32 Squeak
Aaron -
Make sure that if you regenerate the VM source you have all but the FFIPlugin as internal plugins. Some of them don't build as externals and some (such as the Joystick and Tablet plugin) can't even be left out without modifying the source code.
Cheers, - Andreas
----- Original Message ----- From: Aaron Gray To: squeak-dev@lists.squeakfoundation.org Sent: Friday, December 03, 2004 5:05 PM Subject: Problems building Win32 Squeak
Hi,
I have downloaded the 3.7.1 Win32 source and tools from SourceForge and have tried building Squeak, but am getting link time errors.
The following symbols are undefined :-
win32JoystickDebugInfo win32JoystickDebugPrintRawValues win32JoystickDebugPrintAlternativeValues win32DebugPrintSocketState
'sqWin32FilePrims.o' seems to be missing from the link as there are further undefined symbols from this file.
And there are thurther error messages...
Help,
Aaron
----------------------------------------------------------------------------
------------------------------------------------------------------------------
The problem seems to be with the B3DAccelerator plugin, including this plugin either as internal or external produces an build error. Is this a bug, known bug, or am I still doing something wrong ?
Aaron
----- Original Message ----- From: Aaron Gray To: The general-purpose Squeak developers list Sent: Friday, December 03, 2004 10:27 PM Subject: Re: Problems building Win32 Squeak
Cheers, that solved that, but getting different errors now :(
~~~~ gcc -o ./sqWin32D3D.o -g -mpentium -mwindows -O3 -fomit-frame-pointer -funroll-l oops -fschedule-insns2 -I. -I../../ -I../..//vm -Ic:/dx7sdk/include -DWIN32_FIL E_SUPPORT -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST -DX86 -DSQUEAK_BUILTIN_PLUG IN -c sqWin32D3D.c In file included from c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2..... ...\i386-mingw32\include\oleauto.h:79, from c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2..... ...\i386-mingw32\include\ole2.h:7, from sqWin32D3D.c:16: c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2........\i386-mingw32\incl ude\oaidl.h:63: warning: redefinition of `LPTYPECOMP' c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2........\i386-mingw32\incl ude\oaidl.h:57: warning: `LPTYPECOMP' previously declared here In file included from sqWin32D3D.c:23: c:\dx7sdk\include\d3d.h:215: redefinition of `LPDIRECT3D' c:\dx7sdk\include\d3d.h:153: `LPDIRECT3D' previously declared here c:\dx7sdk\include\d3d.h:259: redefinition of `LPDIRECT3D2' c:\dx7sdk\include\d3d.h:162: `LPDIRECT3D2' previously declared here c:\dx7sdk\include\d3d.h:307: redefinition of `LPDIRECT3D3' c:\dx7sdk\include\d3d.h:170: `LPDIRECT3D3' previously declared here c:\dx7sdk\include\d3d.h:357: redefinition of `LPDIRECT3D7' c:\dx7sdk\include\d3d.h:178: `LPDIRECT3D7' previously declared here c:\dx7sdk\include\d3d.h:414: redefinition of `LPDIRECT3DDEVICE' c:\dx7sdk\include\d3d.h:154: `LPDIRECT3DDEVICE' previously declared here c:\dx7sdk\include\d3d.h:508: redefinition of `LPDIRECT3DDEVICE2' c:\dx7sdk\include\d3d.h:163: `LPDIRECT3DDEVICE2' previously declared here c:\dx7sdk\include\d3d.h:634: redefinition of `LPDIRECT3DDEVICE3' c:\dx7sdk\include\d3d.h:171: `LPDIRECT3DDEVICE3' previously declared here c:\dx7sdk\include\d3d.h:785: redefinition of `LPDIRECT3DDEVICE7' c:\dx7sdk\include\d3d.h:179: `LPDIRECT3DDEVICE7' previously declared here c:\dx7sdk\include\d3d.h:913: redefinition of `LPDIRECT3DEXECUTEBUFFER' c:\dx7sdk\include\d3d.h:155: `LPDIRECT3DEXECUTEBUFFER' previously declared here c:\dx7sdk\include\d3d.h:958: redefinition of `LPDIRECT3DLIGHT' c:\dx7sdk\include\d3d.h:156: `LPDIRECT3DLIGHT' previously declared here c:\dx7sdk\include\d3d.h:998: redefinition of `LPDIRECT3DMATERIAL' c:\dx7sdk\include\d3d.h:157: `LPDIRECT3DMATERIAL' previously declared here c:\dx7sdk\include\d3d.h:1039: redefinition of `LPDIRECT3DMATERIAL2' c:\dx7sdk\include\d3d.h:164: `LPDIRECT3DMATERIAL2' previously declared here c:\dx7sdk\include\d3d.h:1075: redefinition of `LPDIRECT3DMATERIAL3' c:\dx7sdk\include\d3d.h:172: `LPDIRECT3DMATERIAL3' previously declared here c:\dx7sdk\include\d3d.h:1115: redefinition of `LPDIRECT3DTEXTURE' c:\dx7sdk\include\d3d.h:158: `LPDIRECT3DTEXTURE' previously declared here c:\dx7sdk\include\d3d.h:1154: redefinition of `LPDIRECT3DTEXTURE2' ~~~~
If this is still a configuration problem maybe you could send me a copy of a VMMakerTool config file. But maybe not ?
Thanks for the help,
Aaron
----- Original Message ----- From: Andreas Raab To: The general-purpose Squeak developers list Sent: Friday, December 03, 2004 9:38 PM Subject: Re: Problems building Win32 Squeak
Aaron -
Make sure that if you regenerate the VM source you have all but the FFIPlugin as internal plugins. Some of them don't build as externals and some (such as the Joystick and Tablet plugin) can't even be left out without modifying the source code.
Cheers, - Andreas
----- Original Message ----- From: Aaron Gray To: squeak-dev@lists.squeakfoundation.org Sent: Friday, December 03, 2004 5:05 PM Subject: Problems building Win32 Squeak
Hi,
I have downloaded the 3.7.1 Win32 source and tools from SourceForge and have tried building Squeak, but am getting link time errors.
The following symbols are undefined :-
win32JoystickDebugInfo win32JoystickDebugPrintRawValues win32JoystickDebugPrintAlternativeValues win32DebugPrintSocketState
'sqWin32FilePrims.o' seems to be missing from the link as there are further undefined symbols from this file.
And there are thurther error messages...
Help,
Aaron
--------------------------------------------------------------------------
----------------------------------------------------------------------------
------------------------------------------------------------------------------
Aaron,
The problem seems to be with the B3DAccelerator plugin, including this plugin either as internal or external produces an build error. Is this a bug, known bug, or am I still doing something wrong ?
It seems to be working for me. What your gcc says when you type
gcc -v
? The result includes the path to the 'spec' file. Does that contain "-D__MINGW32__"?
-- Yoshiki
I took the GNUTools distribution from SourceForge so it should be correct.
? The result includes the path to the 'spec' file. Does that contain "-D__MINGW32__"?
C:\Languages\Squeak\3.7.1\win32>gcc -v Reading specs from c:\gnutools\bin..\lib\gcc-lib\i386-mingw32\2.95.2\specs gcc version 2.95.2 19991024 (release)
-Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -Asystem(winnt) -Acpu(i386) -Amachine(i386)
Strange that it did not work right straight off other than the few plugins that have to be internal.
Any other pointers ?
It is not too important for me at the moment but I would like to get the thing working correctly for the sake of it. I may still have missed something. I will have another go at the whole proceedure from scratch at some point. Has anyone else got the Win32 3.7.1 release built using the SourceForge released tool chain.
Aaron
Aaron Gray wrote:
The problem seems to be with the B3DAccelerator plugin, including this plugin either as internal or external produces an build error. Is this a bug, known bug, or am I still doing something wrong ?
How did you solve this?
Regards, Markus
Markus Fritsche wrote:
How did you solve this?
Ah - I see. The d3d.h used for the squeak vm is a modified one. You could find it in the tools package...
squeak-dev@lists.squeakfoundation.org