Giter Club home page Giter Club logo

ndn-lite-test-over-riot's People

Contributors

tianyuan129 avatar zhiyi-zhang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ndn-lite-test-over-riot's Issues

Build error in 'interest' test on 'native' port

Environment: Ubuntu 16.04 ARMv7, gcc 5.4
Code revision: 1b9da9c

RIOT example works:

sunny@pimate:~/code/ndn-lite-test-over-riot/RIOT/examples/hello-world$ make all term
Building application "hello-world" for "native" with MCU "native".

"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/boards/native
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/boards/native/drivers
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/core
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/cpu/native
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/cpu/native/periph
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/cpu/native/vfs
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/drivers
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/drivers/periph_common
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/sys
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/sys/auto_init
   text	   data	    bss	    dec	    hex	filename
  18134	    392	  48364	  66890	  1054a	/home/sunny/code/ndn-lite-test-over-riot/RIOT/examples/hello-world/bin/native/hello-world.elf
/home/sunny/code/ndn-lite-test-over-riot/RIOT/examples/hello-world/bin/native/hello-world.elf  
RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.

main(): This is RIOT! (Version: 2018.10-RC1-732-gbc8f3-HEAD)
Hello World!
You are running RIOT on a(n) native board.
This board features a(n) native MCU.
^C
native: exiting

interest test does not compile:

sunny@pimate:~/code/ndn-lite-test-over-riot/ndn-riot-tests/interest$ make all term
Building application "interest_test" for "native" with MCU "native".

rm -Rf /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite
mkdir -p $(dirname /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite)
cp -a /home/sunny/code/ndn-lite-test-over-riot/RIOT/../ndn-lite /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite
touch /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/.prepared
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/pkg/ndn-lite
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite -f /home/sunny/code/ndn-lite-test-over-riot/RIOT/pkg/ndn-lite/Makefile.ndn-lite
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/app-support
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/encode
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/face
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/forwarder
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/security
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/security/detail/default-backend
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/security/detail/default-backend/sec-lib/micro-ecc
"make" -C /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/pkg/native/ndn-lite/security/detail/default-backend/sec-lib/tinycrypt
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/boards/native
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/boards/native/drivers
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/core
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/cpu/native
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/cpu/native/periph
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/cpu/native/vfs
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/drivers
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/drivers/periph_common
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/sys
"make" -C /home/sunny/code/ndn-lite-test-over-riot/RIOT/sys/auto_init
gcc: error: /home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/native/ndn-security-detail.a: No such file or directory
/home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/../../RIOT/Makefile.include:452: recipe for target '/home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/native/interest_test.elf' failed
make: *** [/home/sunny/code/ndn-lite-test-over-riot/ndn-riot-tests/interest/bin/native/interest_test.elf] Error 1

I also tried random and sign-verify tests because they appear to have newer "fix" patches. They fail with the same error.

Test command fails to terminate

Environment: Ubuntu 16.04 ARMv7 or AMD64, gcc 5.4
Code revision: 720a1d0

Executing make all term ends with printing:

ALL NDN-LITE OVER RIOT UNIT TESTS PASSED.

However, the command fails to terminate.
pstree -p indicates that the ndn-riot-tests/bin/native/ndn_lite_riot_unit_tests.elf program is still running.

This command should exit with zero if the tests pass, and exit with non-zero if the tests fail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.