Make sure you are on most recent code checkout hash: $ git log -1
should give you the hash: 0639894412 (Feb 11 2020)
I just did a complete rebuild of the source and I do not have tezos-p2p
in the path you specified. This, $ find ./ -iname tezos-p2p
, returns no results in the entire code tree.
Additionally, looking at the build file (dune file) it says this is a library, not a binary to be executed. The core binaries are built in the root source directory, not within _build.
These are the only binaries to be ran: tezos-accuser-005-PsBabyM1 tezos-accuser-006-PsCARTHA tezos-admin-client tezos-baker-005-PsBabyM1 tezos-baker-006-PsCARTHA tezos-client tezos-codec tezos-endorser-005-PsBabyM1 tezos-endorser-006-PsCARTHA tezos-node tezos-protocol-compiler tezos-signer tezos-validator
tezos-p2p
? That's not a binary that comes with the code AFAIK.