Package Details: ptpd 2.3.1-2

Git Clone URL: (read-only, click to copy)
Package Base: ptpd
Description: The PTP daemon (PTPd) implements the Precision Time protocol (PTP) as defined by the relevant IEEE 1588 standard. PTP Version 2 implements IEEE-1588-2008. PTP was developed to provide very precise time coordination of LAN connected computers.
Upstream URL:
Licenses: BSD
Provides: ptpd
Submitter: gin078
Maintainer: gin078
Last Packager: gin078
Votes: 3
Popularity: 0.000000
First Submitted: 2015-11-08 16:58
Last Updated: 2020-05-18 13:49

Latest Comments

gin078 commented on 2017-03-26 18:55

Looks like that compile error was fixed in, which was merged after the latest release (2.3.1). Building from git should be sufficient (

hakunamenta commented on 2017-03-26 17:25

i get a compile error because of a missing type:

dep/snmp.c: In Funktion »snmpScalars«:
dep/snmp.c:224:9: Fehler: unbekannter Typname: »U64«
static U64 counter64_ret; \

it seems that the net-snmp version (5.7.3-3) current in arch is not compatible with this source code.
Please either patch the types or upgrade the PKGBUILD to a newer version of ptpd that supports a current net-snmp.

Btw: this is not an optional dependency:

libtool: link: gcc -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o ptpd2 arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -L/usr/lib -lpcap -lrt -lm
dep/startup.o: In function `ptpdShutdown':
startup.c:(.text+0x933): undefined reference to `snmpShutdown'
dep/startup.o: In function `ptpdStartup':
startup.c:(.text+0x1127): undefined reference to `snmpInit'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:590: ptpd2] Fehler 1

hakunamenta commented on 2017-03-23 16:48

the dependency on net-snmp is missing.