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 <liberamenso10...@gmail.com>:

> 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?
>
>
55c55
< 	-fno-builtin-log
---
> 	-fno-builtin-log --no-pie --no-pic

Reply via email to