micro-ROS / micro-ROS/benchmarking

"itm2mem_info.c" includes "info.h" and "json.h", but it seems that there is no such file in /inc

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I just try to build this as the Readme said, i.e. install the dependencies -> . /autogen -> ./configure.sh -> make, but problem occurs:
$ make
Making all in src
make[1]: Entering directory '/home/ros/benchmarking/src'
...
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../inc -I/home/ros/benchmarking/inc -I/home/ros/benchmarking/ext/libcjson/ -I/home/ros/benchmarking/ext/libini/src -I/home/ros/benchmarking/ext/libmfa/inc/ -I/home/ros/benchmarking/ext/libswo/ -I/home/ros/benchmarking/ext/openocd/src -g -O2 -MT libpipeline_la-itm2mem_info.lo -MD -MP -MF .deps/libpipeline_la-itm2mem_info.Tpo -c itm2mem_info.c -fPIC -DPIC -o .libs/libpipeline_la-itm2mem_info.o
itm2mem_info.c:11:10: fatal error: info.h: No such file or directory
11 | #include
| ^~~~~~~~
compilation terminated.
make[1]: *** [Makefile:760: libpipeline_la-itm2mem_info.lo] Error 1
make[1]: Leaving directory '/home/ros/benchmarking/src'
make: *** [Makefile:429: all-recursive] Error 1

Is it possible that I missed something?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README build steps and src/itm2mem_info.c, then inspect the inc directory and the include paths shown by make. Determine whether info.h and json.h are missing, misplaced, or omitted from the build; done means a clean make completes without those header errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.