1 |
Sin Li wrote: |
2 |
> |
3 |
> Attempting to emerge glib 2.22.4 on Interix 6.1 x64 fails like so: |
4 |
> |
5 |
> libtool: compile: i586-pc-interix6.0-gcc -DHAVE_CONFIG_H -I. -I.. |
6 |
> -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I.. -I../glib -I../gmodule |
7 |
> -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGIO_COMPILATION |
8 |
> -DGIO_MODULE_DIR=\"/opt/gentoo/usr/lib/gio/modules\" -D_ALL_SOURCE |
9 |
> -D_REENTRANT -march=native -O2 -pipe -DG_DISABLE_SINGLE_INCLUDES -pthread |
10 |
> -D_ALL_SOURCE -D_REENTRANT -march=native -O2 -pipe |
11 |
> -I/opt/gentoo/usr/include/bind -Wall -MT gappinfo.lo -MD -MP -MF |
12 |
> .deps/gappinfo.Tpo -c gappinfo.c -DPIC -o .libs/gappinfo.o |
13 |
> calling 2 |
14 |
> calling 2 |
15 |
> i586-pc-interix6.0-gcc: unrecognized option '-pthread' |
16 |
> calling 2 |
17 |
> calling 2 |
18 |
> In file included from ../gio/giotypes.h:30, |
19 |
> from gappinfo.h:30, |
20 |
> from gappinfo.c:24: |
21 |
> ../gio/gioenums.h:563: error: expected expression before '}' token |
22 |
> make[4]: *** [gappinfo.lo] Error 1 |
23 |
> make[4]: Leaving directory |
24 |
> `/opt/gentoo/var/tmp/portage/dev-libs/glib-2.22.4/work/glib-2.22.4/gio' |
25 |
> make[3]: *** [all-recursive] Error 1 |
26 |
> make[3]: Leaving directory |
27 |
> `/opt/gentoo/var/tmp/portage/dev-libs/glib-2.22.4/work/glib-2.22.4/gio' |
28 |
> make[2]: *** [all] Error 2 |
29 |
> make[2]: Leaving directory |
30 |
> `/opt/gentoo/var/tmp/portage/dev-libs/glib-2.22.4/work/glib-2.22.4/gio' |
31 |
> make[1]: *** [all-recursive] Error 1 |
32 |
> make[1]: Leaving directory |
33 |
> `/opt/gentoo/var/tmp/portage/dev-libs/glib-2.22.4/work/glib-2.22.4' |
34 |
> make: *** [all] Error 2 |
35 |
> |
36 |
> Seems like the problem is GLIB_SYSDEF_AF_INET6 is assumed to be defined, |
37 |
> but not. |
38 |
> |
39 |
> |
40 |
|
41 |
Found the real culprit: |
42 |
|
43 |
glibconfig.h:#define GLIB_SYSDEF_AF_INET 2 |
44 |
glibconfig.h:#define GLIB_SYSDEF_AF_INET6 |
45 |
glibconfig.h.win32:#define GLIB_SYSDEF_AF_INET 2 |
46 |
glibconfig.h.win32:#define GLIB_SYSDEF_AF_INET6 23 |
47 |
|
48 |
Is this intentional? |
49 |
|
50 |
-- |
51 |
View this message in context: http://old.nabble.com/emerge-glib-fails-on-Interix-6.1-tp27854827p27854918.html |
52 |
Sent from the gentoo-alt mailing list archive at Nabble.com. |