Zhaoming Luo <zhaoming1...@qq.com> writes: > Hi, > > For testing, I'm trying to build gnu mach (2275d52...) from source by > following the guide on this website. I followed the > path of building from the git repository. After I have a working MIG (either > pre-built from apt or built from source), I run > `make gnumach.gz`, then I get the following error messages: > > ``` > In file included from ../linux/dev/include/linux/netdevice.h:30, > from ../linux/dev/drivers/net/auto_irq.c:47: > ../linux/dev/include/linux/if.h:148:17: error: unknown type name 'caddr_t' > 148 | caddr_t ifru_data; > | ^~~~~~~ > ../linux/dev/include/linux/if.h:177:17: error: unknown type name 'caddr_t' > 177 | caddr_t ifcu_buf; > | ^~~~~~~ > make: *** [Makefile:6682: linux/dev/drivers/net/liblinux_a-auto_irq.o] Error 1 > > ``` > > Did I misunderstand something? > > Best
The easiest way to build GNU Mach, is from Debian. If you are running Debian GNU/Hurd: https://darnassus.sceen.net/~hurd-web/microkernel/mach/gnumach/building/ $ apt source gnumach $ cd gnumach-XXXXXXXX # apt install build-essential fakeroot # apt build-dep gnumach $ dpkg-buildpackage -us -uc -b Now, if you insist on building Mach from source via GNU/Linux... Take a look at the cross compiling guide here: https://darnassus.sceen.net/~hurd-web/open_issues/arm_port/ And these links are also useful: https://mail.gnu.org/archive/html/bug-hurd/2023-01/msg00132.html https://github.com/flavioc/cross-hurd Joshua -- Joshua Branson Sent from the Hurd