Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when executing make #28

Closed
rwaldron opened this issue Jan 16, 2018 · 1 comment
Closed

Error when executing make #28

rwaldron opened this issue Jan 16, 2018 · 1 comment

Comments

@rwaldron
Copy link
Contributor

I just updated to the latest code on public and while attempting to rebuild everything, I hit this error:

/Users/rwaldron/clonez/moddable/modules/piu/All/piuAll.js:68: exception: /Users/rwaldron/clonez/moddable/modules/piu/All/piuAll.js: call freeze: no function!
### TypeError: /Users/rwaldron/clonez/moddable/modules/piu/All/piuAll.js: call freeze: no function!
make[1]: *** [/Users/rwaldron/clonez/moddable/build/tmp/mac/debug/xsbug/mc.xs.c] Error 22
make: *** [debug] Error 2

This was the result of running the following commands:

cd ${MODDABLE}/build/makefiles/mac
make clean
make

For full session:

rwaldron in ~/clonez/moddable on public*
$ cd ${MODDABLE}/build/makefiles/mac
rwaldron in ~/clonez/moddable/build/makefiles/mac on public*
$ make clean
make clean -f /Users/rwaldron/clonez/moddable/xs/makefiles/mac/xsc.mk
make clean -f /Users/rwaldron/clonez/moddable/xs/makefiles/mac/xsid.mk
make clean -f /Users/rwaldron/clonez/moddable/xs/makefiles/mac/xsl.mk
make clean -f serial2xsbug.mk
make clean -f simulator.mk
make clean -f tools.mk
rwaldron in ~/clonez/moddable/build/makefiles/mac on public*
$ make
make -f /Users/rwaldron/clonez/moddable/xs/makefiles/mac/xsc.mk
# xsc debug : cc xsdtoa.c
# xsc debug : cc xsre.c
# xsc debug : cc xsCommon.c
# xsc debug : cc xsScript.c
# xsc debug : cc xsLexical.c
# xsc debug : cc xsSyntaxical.c
# xsc debug : cc xsTree.c
# xsc debug : cc xsSourceMap.c
# xsc debug : cc xsScope.c
# xsc debug : cc xsCode.c
# xsc debug : cc xsc.c
# xsc debug : cc xsc
make -f /Users/rwaldron/clonez/moddable/xs/makefiles/mac/xsid.mk
# xsid debug : cc xsdtoa.c
# xsid debug : cc xsre.c
# xsid debug : cc xsCommon.c
# xsid debug : cc xsid.c
# xsid debug : cc xsid
make -f /Users/rwaldron/clonez/moddable/xs/makefiles/mac/xsl.mk
# xsl debug : cc xsAll.c
# xsl debug : cc xsAPI.c
# xsl debug : cc xsArray.c
# xsl debug : cc xsAtomics.c
# xsl debug : cc xsBoolean.c
# xsl debug : cc xsCommon.c
# xsl debug : cc xsDataView.c
# xsl debug : cc xsDate.c
# xsl debug : cc xsDebug.c
# xsl debug : cc xsDefaults.c
# xsl debug : cc xsError.c
# xsl debug : cc xsFunction.c
# xsl debug : cc xsGenerator.c
# xsl debug : cc xsGlobal.c
# xsl debug : cc xsJSON.c
# xsl debug : cc xsMapSet.c
# xsl debug : cc xsMarshall.c
# xsl debug : cc xsMath.c
# xsl debug : cc xsMemory.c
# xsl debug : cc xsModule.c
# xsl debug : cc xsNumber.c
# xsl debug : cc xsObject.c
# xsl debug : cc xsPlatforms.c
# xsl debug : cc xsProfile.c
# xsl debug : cc xsPromise.c
# xsl debug : cc xsProperty.c
# xsl debug : cc xsProxy.c
# xsl debug : cc xsRegExp.c
# xsl debug : cc xsRun.c
# xsl debug : cc xsString.c
# xsl debug : cc xsSymbol.c
# xsl debug : cc xsType.c
# xsl debug : cc xsdtoa.c
# xsl debug : cc xsre.c
# xsl debug : cc xslBase.c
# xsl debug : cc xslSlot.c
# xsl debug : cc xslStrip.c
# xsl debug : cc xsl.c
# xsl debug : cc xsl
make -f serial2xsbug.mk
# serial2xsbug debug : cc serial2xsbug.c
# serial2xsbug debug : cc serial2xsbug
make -f simulator.mk
# simulator debug : cc main.m
# simulator debug : cc simulator
make -f tools.mk
# tools debug : cc mac_xs.c
# tools debug : cc xsAll.c
# tools debug : cc xsAPI.c
# tools debug : cc xsArray.c
# tools debug : cc xsAtomics.c
# tools debug : cc xsBoolean.c
# tools debug : cc xsCode.c
# tools debug : cc xsCommon.c
# tools debug : cc xsDataView.c
# tools debug : cc xsDate.c
# tools debug : cc xsDebug.c
# tools debug : cc xsError.c
# tools debug : cc xsFunction.c
# tools debug : cc xsGenerator.c
# tools debug : cc xsGlobal.c
# tools debug : cc xsJSON.c
# tools debug : cc xsLexical.c
# tools debug : cc xsMapSet.c
# tools debug : cc xsMarshall.c
# tools debug : cc xsMath.c
# tools debug : cc xsMemory.c
# tools debug : cc xsModule.c
# tools debug : cc xsNumber.c
# tools debug : cc xsObject.c
# tools debug : cc xsPlatforms.c
# tools debug : cc xsProfile.c
# tools debug : cc xsPromise.c
# tools debug : cc xsProperty.c
# tools debug : cc xsProxy.c
# tools debug : cc xsRegExp.c
# tools debug : cc xsRun.c
# tools debug : cc xsScope.c
# tools debug : cc xsScript.c
# tools debug : cc xsSourceMap.c
# tools debug : cc xsString.c
# tools debug : cc xsSymbol.c
# tools debug : cc xsSyntaxical.c
# tools debug : cc xsTree.c
# tools debug : cc xsType.c
# tools debug : cc xsdtoa.c
# tools debug : cc xsmc.c
# tools debug : cc xsre.c
# tools debug : xsc commodettoBitmap.js
# tools debug : xsc commodettoBMPOut.js
# tools debug : xsc commodettoBufferOut.js
# tools debug : xsc commodettoColorCellOut.js
# tools debug : xsc commodettoConvert.js
# tools debug : xsc commodettoParseBMF.js
# tools debug : xsc commodettoParseBMP.js
# tools debug : xsc commodettoPixelsOut.js
# tools debug : xsc commodettoPoco.js
# tools debug : xsc commodettoReadJPEG.js
# tools debug : xsc commodettoReadPNG.js
# tools debug : xsc commodettoRLE4Out.js
# tools debug : xsc file.js
# tools debug : xsc buildclut.js
# tools debug : xsc colorcellencode.js
# tools debug : xsc compressbmf.js
# tools debug : xsc image2cs.js
# tools debug : xsc mcconfig.js
# tools debug : xsc mclocal.js
# tools debug : xsc mcmanifest.js
# tools debug : xsc mcrez.js
# tools debug : xsc png2bmp.js
# tools debug : xsc rle4encode.js
# tools debug : xsc tool.js
# tools debug : xsid commodettoBitmap.c
# tools debug : xsid commodettoBufferOut.c
# tools debug : xsid commodettoColorCellOut.c
# tools debug : xsid commodettoConvert.c
# tools debug : xsid commodettoParseBMF.c
# tools debug : xsid commodettoParseBMP.c
# tools debug : xsid commodettoPoco.c
# tools debug : xsid commodettoPocoBlit.c
# tools debug : xsid commodettoReadJPEG.c
# tools debug : xsid commodettoReadPNG.c
# tools debug : xsid image2cs.c
# tools debug : xsid miniz.c
# tools debug : xsid modInstrumentation.c
# tools debug : xsid tool.c
# tools debug : xsl modules
# tools debug : cc commodettoBitmap.c
# tools debug : cc commodettoBufferOut.c
# tools debug : cc commodettoColorCellOut.c
# tools debug : cc commodettoConvert.c
# tools debug : cc commodettoParseBMF.c
# tools debug : cc commodettoParseBMP.c
# tools debug : cc commodettoPoco.c
# tools debug : cc commodettoPocoBlit.c
# tools debug : cc commodettoReadJPEG.c
# tools debug : cc commodettoReadPNG.c
# tools debug : cc image2cs.c
# tools debug : cc miniz.c
# tools debug : cc modInstrumentation.c
# tools debug : cc tool.c
# tools debug : cc mc.xs.c
# tools debug : cc tools
# tools debug : buildclut
# tools debug : colorcellencode
# tools debug : compressbmf
# tools debug : image2cs
# tools debug : mclocal
# tools debug : mcconfig
# tools debug : mcrez
# tools debug : png2bmp
# tools debug : rle4encode
/Users/rwaldron/clonez/moddable/build/bin/mac/debug/mcconfig -d -m -p x-mac /Users/rwaldron/clonez/moddable/tools/xsbug/manifest.json
# xsc piu/All.xsb
# xsc piu/Timeline.xsb
# xsc piu/PC.xsb
# xsid piuLocals.c.xsi
# xsid piuScroller.c.xsi
# xsid piuSkin.c.xsi
# xsid piuCode.c.xsi
# xsid piuMain.m.xsi
# xsid SearchService.c.xsi
# xsid piuView.m.xsi
# xsid piuAll.h.xsi
# xsid piuCode.h.xsi
# xsl modules
/Users/rwaldron/clonez/moddable/modules/piu/All/piuAll.js:68: exception: /Users/rwaldron/clonez/moddable/modules/piu/All/piuAll.js: call freeze: no function!
### TypeError: /Users/rwaldron/clonez/moddable/modules/piu/All/piuAll.js: call freeze: no function!
make[1]: *** [/Users/rwaldron/clonez/moddable/build/tmp/mac/debug/xsbug/mc.xs.c] Error 22
make: *** [debug] Error 2
@rwaldron
Copy link
Contributor Author

@phoddie advised me to rm build/bin and build/tmp and then do make: this worked perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant