Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] mono 4.4.1.0 fails to compile on latest update
Date: Wed, 11 Jul 2018 17:55:09
Message-Id: m3lgahodxq.wl-covici@ccs.covici.com
1 Hi. On my latest update with my ~amd64 gentoo, I get the following
2 error when compiling mono 4.4.1.0:
3 ../../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..
4 -I../../eglib/src -I../../eglib/src -I../../libgc/include
5 -DMONO_BINDIR=\""/usr/bin"\" -I../.. -fvisibility=hidden
6 -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_M\MAP -DUSE_MUNMAP
7 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
8 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
9 -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch
10 -Wno-switch-enum -Wno-unused-value -Wno-at\tributes
11 -DUSE_COMPILER_TLS -O2 -mtune=core2 -pipe -ggdb -std=gnu99
12 -fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT
13 -Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes
14 -Wmissing-declarations -Wstrict-prototypes -Wmissing-\prototypes
15 -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings
16 -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes
17 -Werror-implicit-function-declaration -c -o processes.lo processes.c
18 processes.c: In function 'load_modules':
19 processes.c:1641:12: error: implicit declaration of function 'makedev'
20 [-Werror=implicit-function-declaration]
21 device = makedev ((int)maj_dev, (int)min_dev);
22 ^~~~~~~
23 processes.c:1641:12: warning: nested extern declaration
24 of 'makedev' [-Wnested-externs]
25 cc1: some warnings being treated as errors
26 make[3]: *** [Makefile:597: processes.lo] Error 1
27
28 I did look on bgo and google, but no joy there.
29
30 Thanks in advance for any ideas. Sounds like something with glibc,
31 but that is just a guess.
32
33 --
34 Your life is like a penny. You're going to lose it. The question is:
35 How do
36 you spend it?
37
38 John Covici wb2una
39 covici@××××××××××.com