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

Submitter:  chrysn <chrysn>
Submitted:  Sat 24 Jan 2015 11:17:10 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned 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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-27 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code