host: debian 11(testing/bulleyes)
lfs version : 11.2
in section bfs, compile the libx11-1.8.1 failed.
-----
i had finished LFS, added wireless support and working fine, so continue to working on BFS about
X-WINDOW(Xorg Libraries)
everything is fine at ./configure as follow:
Code:
./configure $XORG_CONFIG --disable-thread-safety-constructor
result is:
Code:
X11 will be built with the following settings:
Loadable i18n module support: no
Loadable xcursor library support: yes
Threading support: yes
Use Threads safe API: yes
Threads stubs in libX11: no
XCMS: yes
Internationalization support: yes
XF86BigFont support: yes
XKB support: yes
XLOCALEDIR environment variable support: yes
Compose table cache enabled: yes
Functional specs building enabled: yes
but got errors when execute make, error msg just like this:
Code:
/usr/X11/include/X11/extensions/XKBproto.h:702:41: error: expected ':', ',', ';', '}' or '__attribute__' before '_X_NONSTRING'
702 | CARD8 over[XkbKeyNameLength] _X_NONSTRING;
| ^~~~~~~~~~~~
In file included from ../../include/X11/XKBlib.h:31,
from XKBlibint.h:31,
from XKB.c:33:
/usr/X11/include/X11/extensions/XKBstr.h:405:41: error: expected ':', ',', ';', '}' or '__attribute_ ' before '_X_NONSTRING'
405 | char name[XkbKeyNameLength] _X_NONSTRING;
| ^~~~~~~~~~~~
/usr/X11/include/X11/extensions/XKBstr.h:409:41: error: expected ':', ',', ';', '}' or '__attribute_ ' before '_X_NONSTRING'
409 | char real[XkbKeyNameLength] _X_NONSTRING;
| ^~~~~~~~~~~~
make[3]: *** [Makefile:519: XKB.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:519: XKBBind.lo] Error 1
make[3]: Leaving directory '/opt/repository/X/sources/lib/libX11-1.8.1/src/xkb'
make[2]: *** [Makefile:1266: all-recursive] Error 1
make[2]: Leaving directory '/opt/repository/X/sources/lib/libX11-1.8.1/src'
make[1]: *** [Makefile:824: all] Error 2
make[1]: Leaving directory '/opt/repository/X/sources/lib/libX11-1.8.1/src'
make: *** [Makefile:526: all-recursive] Error 1
tks for your reply.