Hello,

I want to compile linuxptp for linux and ARM host,
But while compiling over linux it throws following errors:

grep: /usr/include/linux/net_tstamp.h: No such file or directory
gcc -Wall -DVER=1.4-00063-gbdb6a35      -c -o ptp4l.o ptp4l.c
ptp4l.c:26:30: error: linux/net_tstamp.h: No such file or directory
ptp4l.c: In function ‘main’:
ptp4l.c:343: error: ‘SOF_TIMESTAMPING_TX_SOFTWARE’ undeclared (first use in 
this function)
ptp4l.c:343: error: (Each undeclared identifier is reported only once
ptp4l.c:343: error: for each function it appears in.)
ptp4l.c:344: error: ‘SOF_TIMESTAMPING_RX_SOFTWARE’ undeclared (first
 use in this function)
ptp4l.c:345: error: ‘SOF_TIMESTAMPING_SOFTWARE’ undeclared (first use in this 
function)
ptp4l.c:348: error: ‘SOF_TIMESTAMPING_TX_HARDWARE’ undeclared
 (first use in this function)
ptp4l.c:349: error: ‘SOF_TIMESTAMPING_RX_HARDWARE’ undeclared (first use in 
this function)
ptp4l.c:350: error: ‘SOF_TIMESTAMPING_SYS_HARDWARE’ undeclared (first use in 
this function)
ptp4l.c:356: error: ‘SOF_TIMESTAMPING_RAW_HARDWARE’ undeclared (first use in 
this function)
make: *** [ptp4l.o] Error 1



Can anyone please share the steps to compile linuxptp, and how it's supposed to 
use ?
I need steps for cross-compilation for arm architecture also.

Further please also suggest that if I need to establish ptp master/slave 
communication between two host in LAN, what are the steps that I need to follow 
for this.


Regards,Ronex
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to