Hi guys, I dunno if that is the right place for my concern about building the osmocomBB source. Here is what I already have done:
- downloading the sources for osmocomBB and GNU toolchain for ARM, - setting the PATH for the arm-elf-* executables, - calling make in the src directory.
Now, this appears as response of the make command in the terminal:
cd shared/libosmocore/build-host && ../configure configure: error: cannot find install-sh, install.sh, or shtool in ".." "../.." "../../.." make: *** [shared/libosmocore/build-host/Makefile] Error 1.
If you need details about my system, you can look at the following snippet from the config.log file:
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by libosmocore configure UNKNOWN, which was generated by GNU Autoconf 2.65. Invocation command line was
$ ../configure
## --------- ## ## Platform. ## ## --------- ##
hostname = ubuntu-stefan uname -m = x86_64 uname -r = 2.6.32-24-generic uname -s = Linux uname -v = #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010
/usr/bin/uname -p = unknown /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /home/stefan/osmocomBB/gnuarm-4.0.2/bin
## ----------- ## ## Core tests. ## ## ----------- ##
configure:2032: error: cannot find install-sh, install.sh, or shtool in ".." "../.." "../../..".
So, I would be very glad, if someone could give me a hint to solve the problem. Thank you in advance.
Regards, begy
I have the same problem her trying to build osmocom.
PC:/srv/osmocom-bb/src$ make cd shared/libosmocore/build-target && ../configure \ --host=arm-elf --enable-embedded --disable-shared \ --disable-tests ac_cv_header_sys_select_h=no \ --disable-tests ac_cv_header_sys_socket_h=no \ CFLAGS="-Os -ffunction-sections -I/srv/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs" configure: WARNING: unrecognized options: --disable-shared configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used configure: error: cannot find install-sh, install.sh, or shtool in ".." "../.." "../../.." make: *** [shared/libosmocore/build-target/Makefile] Fehler 1
PC:/srv/osmocom-bb/src$ which shtool /usr/bin/shtool
I also copied shtool to the path above ".." without no result.
This error message makes no sense?
Regards
The problem with the missing shtool has gone after a new clone today from the sources.
But now i got an error compiling the sources:
... comm/timer.c:190: warning: unused parameter ‘irq’ AR comm/libcomm.a LD board/compal_e88/hello_world.compalram.elf apps/hello_world/main.o: In function `console_rx_cb': apps/hello_world/main.c:59: undefined reference to `msgb_free' comm/libcomm.a(sercomm.o): In function `sercomm_alloc_msgb': ../../shared/libosmocore/include/osmocom/core/msgb.h:330: undefined reference to `msgb_alloc' comm/libcomm.a(sercomm.o): In function `sercomm_drv_rx_char': comm/sercomm.c:246: undefined reference to `msgb_free' comm/libcomm.a(sercomm.o): In function `dispatch_rx_msg': comm/sercomm.c:227: undefined reference to `msgb_free' comm/libcomm.a(sercomm.o): In function `sercomm_drv_pull': comm/sercomm.c:161: undefined reference to `msgb_dequeue' comm/sercomm.c:188: undefined reference to `msgb_free' comm/libcomm.a(sercomm.o): In function `sercomm_sendmsg': comm/sercomm.c:125: undefined reference to `msgb_enqueue' comm/libcomm.a(sercomm_cons.o): In function `msgb_alloc_headroom': ../../shared/libosmocore/include/osmocom/core/msgb.h:330: undefined reference to `msgb_alloc' make[1]: *** [board/compal_e88/hello_world.compalram.elf] Fehler 1 make[1]: Leaving directory `/srv/osmocom-bb/src/target/firmware' make: *** [firmware] Fehler 2
Regards
baseband-devel@lists.osmocom.org