Re: Problem with GNU Mach compilation

Almudena Garcia <[email protected]> Wed, 27 Jun 2018 18:12:53 +0200
Newsgroups gmane.os.hurd.bugs,gmane.os.hurd.general
Message-ID <CA+vQsMjWmfF=GTUr_TMxcbBrr7X2zWN-Gxa5nZ+qF7vCQ9MxWQ@mail.gmail.com>
Finally, I got to solve the problem, adding a few flags to Makefile.am

http://dpaste.com/2NRGESV

I attach the patch file

2018-06-25 18:13 GMT+02:00 Almudena Garcia <[email protected]>:

> HHi all:
>
> I'm trying to compile GNU Mach from GNU Hurd, using the sources from git
> repository.
>
> I based on this guide: https://www.gnu.org/software/
> hurd/microkernel/mach/gnumach/building.html
> But, during the latest step (make gnumach.gz), It returns a linker error
> (I attach the log file)
>
> My steps were these:
>
> -
>
> git clone git://git.savannah.gnu.org/hurd/gnumach.git
> cd gnumach/
>
> apt-get build-dep gnumach
>
> autoreconf --install
>
> mkdir build
> cd build/
>
> ./configure --prefix=
> make DESTDIR=~/gnu install-data
>
> git clone git://git.savannah.gnu.org/hurd/mig.git
> cd mig
>
> autoreconf --install
>
> mkdir build
> cd build
>
> GNU=~/gnu
>
> TARGET_CPPFLAGS=-I"$GNU"/include ../configure --prefix="$GNU"
>
> PATH=~/gnu/bin:$PATH
> export PATH
>
> cd ../.. #Return to gnumach/build
>
> mig
> make gnumach.gz
>
>
> How can I solve this?
>
>
makefile.patch (text/x-patch, 67 B)
55c55
< 	-fno-builtin-log
---
> 	-fno-builtin-log --no-pie --no-pic