Skip to content

Build for nuttx problem, undefined reference to 'setjmp' and 'longjmp' #231

Closed
@seanshpark

Description

@seanshpark

With latest JerryScript, cannot build for nuttx cause of

jerry-core/parser/js/parser.cpp:2917: undefined reference to `setjmp'
jerry-core/parser/js/syntax-errors.cpp:67: undefined reference to `longjmp'

How to reproduce: with iotjs build for nuttx. Get latest iotjs source.

cd iotjs
git pull

./tools/build.py --buildtype=release \
--target-arch=arm --target-os=nuttx \
--nuttx-home=/home/(...)/harmony/nuttx/nuttx \
--buildlib --no-checktest

replace --nuttx-home value with your nuttx folder.
Please refer https://github.com/Samsung/iotjs/wiki/Build-for-NuttX page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions