buglwIP - A Lightweight TCP/IP stack - Bugs: bug #46091, unix port needs to link with rt...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46091: unix port needs to link with rt for clock_gettime

Submitted by:  Erik Ekman <yarrick>
Submitted on:  Thu 01 Oct 2015 08:40:34 AM UTC  
 
Category: Platform portsSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Thu 01 Oct 2015 07:23:16 PM UTC, comment #1:

I hope that works on all systems... I've just pushed the fix as requested.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Thu 01 Oct 2015 08:40:34 AM UTC, original submission:

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

Erik Ekman <yarrick>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by yarrick (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 Oct 2015 07:23:16 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1