[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #46091] unix port needs to link with rt for clock_gett
From: |
Erik Ekman |
Subject: |
[lwip-devel] [bug #46091] unix port needs to link with rt for clock_gettime |
Date: |
Thu, 01 Oct 2015 08:40:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 |
URL:
<http://savannah.nongnu.org/bugs/?46091>
Summary: unix port needs to link with rt for clock_gettime
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: yarrick
Submitted on: Thu 01 Oct 2015 08:40:34 AM GMT
Category: Platform ports
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: git head
_______________________________________________________
Details:
According to manpage, clock_gettime needs to link with -lrt (for glibc
versions before 2.17)
liblwipcommon.a(sys_arch.o): In function `sys_now':
/home/travis/build/yarrick/lwip-merged/contrib/ports/unix/proj/minimal/../../../../ports/unix/sys_arch.c:479:
undefined reference to `clock_gettime'
liblwipcommon.a(sys_arch.o): In function `sys_jiffies':
/home/travis/build/yarrick/lwip-merged/contrib/ports/unix/proj/minimal/../../../../ports/unix/sys_arch.c:550:
undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make: *** [echop] Error 1
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46091>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #46091] unix port needs to link with rt for clock_gettime,
Erik Ekman <=