Project

General

Profile

Actions

Bug #3160

closed

/usr/local/lib/libosmocore.so: undefined reference to `clock_gettime' collect2: ld returned 1 exit status

Added by hackliu almost 6 years ago. Updated over 5 years ago.

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. sudo apt-get install build-essential libtool libtalloc-dev shtool autoconf automake git-core pkg-config make gcc libpcsclite-dev
  2. git clone git://git.osmocom.org/libosmocore.git
  3. cd libosmocore/
  4. autoreconf -i
  5. ./configure
  6. make
  7. sudo make install
  8. cd ..
  9. sudo ldconfig i
    -----------------------

    2、Install Osmocom-BB
    ------------------------
  10. git clone git://git.osmocom.org/osmocom-bb.git
  11. git checkout sylvain/testing
    #nano src/target/firmware/Makefile
    CFLAGS += -DCONFIG_TX_ENABLE
  12. cd src
  13. 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

Has duplicate OsmocomBB - Bug #3159: /usr/local/lib/libosmocore.so: undefined reference to `clock_gettime'Closed04/12/2018

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)