« Return to Thread: Link error

Re: Link error

by Igor Stasenko :: Rate this Message:

Reply to Author | View in Thread

 
Here the make files i'm using to build Exupery from command line.
Place them into winbuild dir and make sure to fix DXDIR before using them.

I'm not sure if they still working with latest VM sources (90% they will).
The version i'm using is a bit old (more than half of year).


2008/4/27 David T. Lewis <lewis@...>:

>
>  On Sat, Apr 26, 2008 at 08:20:17PM +0300, Igor Stasenko wrote:
>  >
>  > 2008/4/26 Gwena??l Casaccio <mrgwen@...>:
>
>
> > >
>  > >  I've tried to regenerate the entire code but I've got the same error :
>  > >
>  > >  gcc -mwindows -o ./obj/vm/Squeak.exe ./obj/vm/sqWin32Alloc.o ./obj/vm/sqWin32Arg
>  > >  s.o ./obj/vm/sqWin32DirectInput.o ./obj/vm/sqWin32Directory.o ./obj/vm/sqWin32Ex
>  > >  ports.o ./obj/vm/sqWin32ExternalPrims.o ./obj/vm/sqWin32GUID.o ./obj/vm/sqWin32I
>  > >  ntel.o ./obj/vm/sqWin32PluginSupport.o ./obj/vm/sqWin32Prefs.o ./obj/vm/sqWin32S
>  > >  ervice.o ./obj/vm/sqWin32Stubs.o ./obj/vm/sqWin32Utils.o ./obj/vm/sqWin32Window.
>  > >  o ./obj/vm/version.o ./obj/vm/sqNamedPrims.o ./obj/vm/sqVirtualMachine.o ./obj/v
>  > >  m/Squeak.exp ./obj/vm/resource.o  -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg
>  > >  32 -lole32 -lwinmm -lversion -luser32 -lgdi32 -lkernel32 -lcrtdll
>  > >  ./obj/vm/sqWin32Args.o: In function `IsImage':
>  > >  //C/SqueakVM/platforms/win32/build/../../win32/vm/sqWin32Args.c:26: undefined re
>  > >  ference to `sqImageFileOpen'
>  > >  //C/SqueakVM/platforms/win32/build/../../win32/vm/sqWin32Args.c:28: undefined re
>  > >  ference to `sqImageFileRead
>  > >  ...
>  > >
>  > The make file in platforms/win32/build/ is outdated. I tried to build
>  > using it , but it looks like totally broken.
>  > I'm using makefile in winbuild dir (located at same level as plaforms subdir).
>  > And before building, don't forget to point VMMaker to winbuild/src  dir.
>  >
>
>  Igor,
>
>  I also am having difficulty with building on Windows. Could you please attach a
>  copy of the Makefile and Makefile.plugin that you are using?
>
>  Thanks a lot,
>
>  Dave
>
>


--
Best regards,
Igor Stasenko AKA sig.


winbuild-makefiles.zip (4K) Download Attachment

 « Return to Thread: Link error