[oe-commits] [Bug 5382] New: [patch] ptpd: fix ftbfs by including limits.h so MAX_INT defined

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Sun Jan 17 23:30:18 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5382

           Summary: [patch] ptpd: fix ftbfs by including limits.h so
                    MAX_INT defined
           Product: Openembedded
           Version: org.openembedded.dev
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: unspecified
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: strawman at astraw.com
                CC: strawman at astraw.com


Created an attachment (id=13997)
 --> (http://bugs.openembedded.org/attachment.cgi?id=13997)
ptpd: fix ftbfs by including limits.h so MAX_INT defined

The current recipe for ptpd fails to build with:

| arith.c: In function 'fromInternalTime':
| arith.c:46: error: 'INT_MAX' undeclared (first use in this function)
| arith.c:46: error: (Each undeclared identifier is reported only once
| arith.c:46: error: for each function it appears in.)
| arith.c: In function 'toInternalTime':
| arith.c:64: error: 'INT_MAX' undeclared (first use in this function)
| make: *** [arith.o] Error 1
| make: *** Waiting for unfinished jobs....
| FATAL: oe_runmake failed

The attached patch fixes the issue.

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list