buglwIP - A Lightweight TCP/IP stack - Bugs: bug #44082, unit tests fail out of the box

 
 

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

bug #44082: unit tests fail out of the box

Submitted by:  chrysn <chrysn>
Submitted on:  Sat 24 Jan 2015 11:17:10 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Tue 27 Jan 2015 08:34:01 PM UTC, comment #1:

Hopefully fixed like this:

LDFLAGS:=$(LDFLAGS) -lcheck -lm -lpthread -lrt

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sat 24 Jan 2015 11:17:10 PM UTC, original submission:

when running the unit tests by checking out lwip and lwip-contrib masters and running `make check` in lwip-contrib/ports/unix/check on debian sid with check 0.9.10-6.1, the checks don't even run, with such error messages:

> libcheck.a(check.o): In function `tcase_create': (.text+0x194): undefined reference to `floor'


running `LDFLAGS="-lm -lpthread -lrt" make check` makes the problems go away.

i suggest that those flags be added in the Makefile.

chrysn <chrysn>

 

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 chrysn (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
    Tue 27 Jan 2015 08:34:01 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1