Problems building Win32 Squeak

Aaron Gray angray at beeb.net
Sat Dec 4 18:10:50 UTC 2004


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 at 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




--------------------------------------------------------------------------






----------------------------------------------------------------------------






------------------------------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041204/89042a8d/attachment.htm


More information about the Squeak-dev mailing list