Actions
Bug #3160
closed/usr/local/lib/libosmocore.so: undefined reference to `clock_gettime' collect2: ld returned 1 exit status
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/12/2018
Due date:
% Done:
0%
Resolution:
Spec Reference:
Description
●setup script
1、install libosmocore
------------------------
1、install libosmocore
------------------------
- sudo apt-get install build-essential libtool libtalloc-dev shtool autoconf automake git-core pkg-config make gcc libpcsclite-dev
- git clone git://git.osmocom.org/libosmocore.git
- cd libosmocore/
- autoreconf -i
- ./configure
- make
- sudo make install
- cd ..
- sudo ldconfig
i
-----------------------
2、Install Osmocom-BB
------------------------ - git clone git://git.osmocom.org/osmocom-bb.git
- git checkout sylvain/testing
#nano src/target/firmware/Makefile
CFLAGS += -DCONFIG_TX_ENABLE - cd src
- make HOST_layer23_CONFARGS=--enable-transcriver
------------------------
● Error
------------------------
make1: Entering directory `/home/hackliu/osmocom-bb/src/host/osmocon'
make all-am
make2: Entering directory `/home/hackliu/osmocom-bb/src/host/osmocon'
CCLD osmocon
/usr/local/lib/libosmocore.so: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make2: * [osmocon] Error 1
make2: Leaving directory `/home/hackliu/osmocom-bb/src/host/osmocon'
make1: [all] Error 2
make1: Leaving directory `/home/hackliu/osmocom-bb/src/host/osmocon'
make: ** [osmocon] Error 2
------------------------
Please help me to solve the problem, thank you.
Related issues
Actions