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

Michael 'Mickey' Lauer mickey at vanille-media.de
Thu Nov 12 17:19:55 UTC 2009


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?

-- 
:M:





More information about the Openembedded-devel mailing list