Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] mono fails to compile on latest update
Date: Wed, 11 Jul 2018 17:55:09
Hi.  On my latest update with my ~amd64 gentoo, I get the following
error when compiling mono
../../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..
-I../../eglib/src -I../../eglib/src -I../../libgc/include
-DMONO_BINDIR=\""/usr/bin"\" -I../.. -fvisibility=hidden
-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch
-Wno-switch-enum -Wno-unused-value -Wno-at\tributes
-DUSE_COMPILER_TLS  -O2 -mtune=core2 -pipe -ggdb -std=gnu99
-fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT
-Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-\prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings
-Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes
-Werror-implicit-function-declaration -c -o processes.lo processes.c
processes.c: In function 'load_modules':
processes.c:1641:12: error: implicit declaration of function 'makedev'
   device = makedev ((int)maj_dev, (int)min_dev);
			processes.c:1641:12: warning: nested extern declaration
			of 'makedev' [-Wnested-externs]
			cc1: some warnings being treated as errors
			make[3]: *** [Makefile:597: processes.lo] Error 1

I did look on bgo and google, but no joy there.

Thanks in advance for any ideas.  Sounds like something with glibc,
but that is just a guess.

Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una