Correctly building insight-6.6-mingw-src

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Correctly building insight-6.6-mingw-src

I am looking for some help building insight 6.6 under MinGW.  Let me start
with why I need help since I've seen other posts where people ask why the
person doesn't use a pre-built version or a newer version.

Why: We currently use insight 6.6 with local changes to address some issues
and interface with a specific BDM.  Building software for Windows is far
from my area of expertise.  However, those that worked on our local build of
insight have left and there are issues with our local archive.  I am unable
to rebuild from our archive.  I am attempting to start over with a fresh
insight 6.6 and get that to build first.  Then I will look into applying our
changes.  This post is regarding getting a fresh build of insight 6.6.

I have done a lot of searching and am aware that there are issues building
insight 6.6 with MinGW/MSys.  But being a newbie to building Windows
applications is likely causing me to not fully understand what I am reading.
So if the answer seems obvious to those of you with experience, please bear
with me as it is all new to me.  Thank you.

I have installed the latest MinGW/MSys and I am trying to build from
insight-6.6-mingw-src.tar.bz2.  From other's posts, that sounded like it
should work.  My only guess is that I am missing something else that is
required or I did not install a MinGW package that is needed.  In MinGW
Installation Manager, I only selected mingw32-base and msys-base under Basic

The issue I am stuck on is:
tclWinChan.o: In function `Tcl_MakeFileChannel':
undefined reference to `ESP'
undefined reference to `EBP'
undefined reference to `ESP'
undefined reference to `EBP'

I can see that HAVE_NO_SEH=1 and DEXCEPTION_DISPOSITION=int which as best
I've been able to figure out is correct for building under MinGW/MSys.
Below is the build/link line that results in the fatal error as well as the
corresponding compile line.

gcc -c -g -O2 -Wall -Wconversion
-I"../../../../src/insight-6.6-mingw/tcl/win" -mwin32  -DPACKAGE_NAME=\"\"
../../../../src/insight-6.6-mingw/tcl/win/tclWinChan.c -o tclWinChan.o

gcc -shared -g -O2  -o tcl84.dll -mwin32        
-Wl,--out-implib,libtcl84.a regcomp.o regexec.o regfree.o regerror.o
tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o
tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o
tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o
tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o
tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o tclLiteral.o
tclListObj.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o
tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o
tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o
tclStubInit.o tclStubLib.o tclThread.o tclThreadAlloc.o tclThreadJoin.o
tclTimer.o tclUtf.o tclUtil.o tclVar.o tclWin32Dll.o tclWinChan.o
tclWinConsole.o tclWinSerial.o tclWinError.o tclWinFCmd.o tclWinFile.o
tclWinInit.o tclWinLoad.o tclWinMtherr.o tclWinNotify.o tclWinPipe.o
tclWinSock.o tclWinThrd.o tclWinTime.o  strftime.o strtoll.o strtoull.o

Any assistance you could give would be greatly appreciated.

View this message in context:
Sent from the MinGW-users mailing list archive at

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:[hidden email]?subject=unsubscribe