That’s an issue with the current Hurd repo on Savannah. You need this patch http://darnassus.sceen.net/gitweb/teythoon/packaging/hurd.git/blob/HEAD:/debian/patches/proc-task-notify-0005-proc-fix-build.patch, from what I gather (at least it fixes it for me).
James > On 24 Sep 2015, at 13:50, Braione Pietro <pietro.brai...@disco.unimib.it> > wrote: > > Hello Samuel. >> Il giorno 15/set/2015, alle ore 17:28, Samuel Thibault >> <samuel.thiba...@gnu.org> ha scritto: >> >> Hello, >> >> Braione Pietro, le Tue 15 Sep 2015 12:31:16 +0000, a écrit : >>> ../libports/libports.so: undefined reference to >>> `mach_port_set_protected_payload’ >>> ../libports/libports.so: undefined reference to >>> `mach_port_clear_protected_payload’ >> >> These are new features which were added to GNU Mach after the 2013 >> release. To get them you need at least a newer glibc in addition to the >> newer gnumach. > > Since I want to be able to build the head version, I downloaded the 2015 > Debian distribution and rebuilt everything (except for mig, but I don’t think > this is the issue). I strictly followed the instructions at > http://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html and > http://www.gnu.org/software/hurd/hurd/building.html, in their non-Debian > variant, plus make install of gnumach. It still fails, but now while linking > the proc server: > > … > make -C proc all > … > mgt.o: In function `S_mach_notify_new_task’: > /root/hurd/build/proc/../../proc/mgt.c:1081: undefined reference to > `mach_notify_new_task’ > collect2: error: ld returned 1 exit status > > Can I suppose that I need a newer glibc? If yes, which of the many branches > should I check out? > Best, > Pietro