[oe] [PATCH] Precision Time Protocol (PTP) as defined by the IEEE 1588 standard

Jaap de Jong jaap.dejong at nedap.com
Fri Nov 13 10:34:39 UTC 2009


Hi Mickey,

Thanks for your suggestions. 
Attached the changed patch.

Regarding your error; I've seen it before somewhere else, i can't
remember where and worse, I can't remember how I fixed it...
Perhaps someone else can shine a light here?


On Thu, 2009-11-12 at 18:19 +0100, Michael 'Mickey' Lauer wrote:
> Hi Jaap,
> 
> thanks for your patch. 
> 
> Some additional style comments:
> 
> 1.) Please use SOURCEFORGE_MIRROR in SRC_URI
> 2.) Please use whitespace around the assignment operator
> 3.) Please check the OE wiki for recommended metadata ordering.
> 
> Unfortunately ptpd doesn't build for me. It bails out with:
> 
> ERROR: function do_compile failed
> ERROR: log data follows
> (/local/pkg/oe/om-gta02/tmp/work/armv4t-oe-linux-gnueabi/ptpd-1.0.0-r0/temp/log.do_compile.29312)
> | NOTE: make -j3 -e MAKEFLAGS=
> | ccache arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
> -mthumb-interwork -mthumb -c
> -isystem/local/pkg/oe/om-gta02/tmp/staging/armv4t-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/local/pkg/oe/om-gta02/tmp/staging/armv4t-oe-linux-gnueabi/usr/include -o ptpd.o ptpd.c
> | ccache arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
> -mthumb-interwork -mthumb -c
> -isystem/local/pkg/oe/om-gta02/tmp/staging/armv4t-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/local/pkg/oe/om-gta02/tmp/staging/armv4t-oe-linux-gnueabi/usr/include -o arith.o arith.c
> | ccache arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
> -mthumb-interwork -mthumb -c
> -isystem/local/pkg/oe/om-gta02/tmp/staging/armv4t-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/local/pkg/oe/om-gta02/tmp/staging/armv4t-oe-linux-gnueabi/usr/include -o bmc.o bmc.c
> | 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
> 
> Any idea about that?
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Precision-Time-Protocol.patch
Type: text/x-patch
Size: 1573 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091113/cc51870c/attachment-0002.bin>


More information about the Openembedded-devel mailing list