Hi list,
sorry for this tedious question. I've already read a previous post about my problem but has not been useful ( http://lists.osmocom.org/pipermail/baseband-devel/2011-October/002351.html). I've this error after the make:
checking for ranlib... ranlib ./configure: line 3508: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3508: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)' make: *** [host/layer23/Makefile] Error 2
My settings with the last versions of sources:
- Linux ubuntu 2.6.38-11-generic-pae #50-Ubuntu SMP Mon Sep 12 22:21:04 UTC 2011 i686 i686 i386 GNU/Linux - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/root/cell_logger/tool-chain/install/bin - arm-elf-gcc -v (installed with http://bb.osmocom.org/trac/wiki/GnuArmToolchain) Using built-in specs. Target: arm-elf Configured with: ./configure elf Thread model: single gcc version 4.2.3
- Makefile:
# this is the host tuple of your cross-toolchain CROSS_HOST ?= $(shell which arm-elf-gcc >/dev/null 2>&1 && echo arm-elf || echo arm-none-eabi)
# this is the prefix of your cross-toolchain programs CROSS_TOOL_PREFIX=$(CROSS_HOST)-
Any tips? :)
Thank you very much, AL
On 03/29/2012 02:48 PM, alfonso caponi wrote:
checking for ranlib... ranlib ./configure: line 3508: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3508: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)' make: *** [host/layer23/Makefile] Error 2
install pkg-config
"pkg-config is already the newest version." :(
If I try to comment the lines in src/host/layer23/configure
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore) PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty) PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm) PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec)
I've an include error:
l1ctl.c:33:41: fatal error: include/osmocom/core/signal.h: No such file or directory compilation terminated.
signal.h exists into src/shared/libosmocore/include/osmocom/core/signal.h
:(
2012/3/29 Holger Hans Peter Freyther holger@freyther.de
On 03/29/2012 02:48 PM, alfonso caponi wrote:
checking for ranlib... ranlib ./configure: line 3508: syntax error near unexpected token `LIBOSMOCORE,' ./configure: line 3508: `PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore)' make: *** [host/layer23/Makefile] Error 2
install pkg-config
Hi,
"pkg-config is already the newest version." :(
If I try to comment the lines in src/host/layer23/configure
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore) PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty) PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm) PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec)
I've an include error:
Well no kidding ... we didn't put these lines in there just for giggles, they actually have a purpose. Whatever error you get after you remove them is a consequence of removing them !
Your autotools/pkg-config/libtool setup is somehow broken, no idea why ... it's your distrib after all you should know how it works.
Cheers,
Sylvain
baseband-devel@lists.osmocom.org