Re: (Newbie question) Failed building hurd on Debian GNU Hurd
> Il giorno 24/set/2015, alle ore 19:03, James Clarkeha > scritto: > > 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). Thank you, now it builds (it doesn't work when installed, but this is not an issue for what I want to try). Best, Pietro
Re: (Newbie question) Failed building hurd on Debian GNU Hurd
Hello Samuel. Il giorno 15/set/2015, alle ore 17:28, Samuel Thibault> ha scritto: Hello, Braione Pietro, le Tue 15 Sep 2015 12:31:16 +, 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
Re: (Newbie question) Failed building hurd on Debian GNU Hurd
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> wrote: > > Hello Samuel. >> Il giorno 15/set/2015, alle ore 17:28, Samuel Thibault >> ha scritto: >> >> Hello, >> >> Braione Pietro, le Tue 15 Sep 2015 12:31:16 +, 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
Re: (Newbie question) Failed building hurd on Debian GNU Hurd
Hello, Braione Pietro, le Tue 15 Sep 2015 12:31:16 +, 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. You can either: - upgrade to sid to get the latest packages - or just hack with the debian hurd sources of the release you are using, which don't make use of these features. The Hurd codebase hasn't changed too much, so work you do there can probably be easily ported to the current master. Samuel
(Newbie question) Failed building hurd on Debian GNU Hurd
Hello to everyone. As from the title, I am a complete newbie. It is the first time I am trying to build hurd from sources (but I have successfully built gnumach and mig many times). My platform is Debian GNU Hurd (should be the 2013 version). I followed the INSTALL file in the hurd source tree and tried with: cd mig git pull ./configure PREFIX=/usr/local && make && make install #(debian puts mig in /usr/local, not in default /usr) cd ../gnumach git pull ./configure && make && make install && cp gnumach.gz /boot/gnumach-1.4-486.gz reboot cd hurd git pull autoconf && ./configure && make but it fails (after a lot of time) when compiling the auth server: … make -C auth all make [1]: Entering directory ‘root/hurd/auth’ … gcc -Wl,-rpath-link:.:../libps/:../libtrivfs/:../libftpconn/:../libports/:../libcons/:../libhurdbugaddr/:../libiohelp/:../libdiskfs/:../libpipe/:../libpager/:../libstore/:../libhash/:../libshouldbeinlibc/:../libfshelp/:../libnetfs/:../libthreads/ -std=gnu99 -fgnu89-inline -Wall -g -O3 -g -O2 -uargp_program_bug_address -o auth \ auth.o authServer.o auth_replyUser.o \ ‘-Wl,-(‘ ../libhurdbugaddr/libhurdbugaddr.so /usr/lib/i386-gnu/libpthread.so ../libports/libports.so ../libihash/libihash.so ../libshouldbeinlibc/libshouldbeinlibc.so \ ‘-Wl,-)’ ../libports/libports.so: undefined reference to `mach_port_set_protected_payload’ ../libports/libports.so: undefined reference to `mach_port_clear_protected_payload’ collect2: error: ld returned 1 exit status … What am I missing? Best, Pietro Braione