I am trying to build LinuxPTP from source code. I downloaded the
latest via the command

    git clone http://git.code.sf.net/p/linuxptp/code linuxptp

I then attempt to build with the following commands

    cd linuxptp
    make

I get the following error

    In file included from clock.c:34:0:
    missing.h:53:2:error: redeclaration of enumerator
'HWTSTAMP_TX_ONESTEP_SYNC '
        HWTSTAMP_TX_ONESTEP_SYNC = 2,

    In file included from clock.c:20:0:
    /usr/include/linux/net_tstamp.h:77:2

I tried commenting that section out in missing.h, but I was thinking
it should already be handled by the #ifndef and I've been having
issues getting Linux PTP working when I tried that.

Any idea how to fix this?

- Joey D.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to