Created
June 4, 2026 17:21
-
-
Save jbosboom/11b3ec5842a735d45a6019fea5873205 to your computer and use it in GitHub Desktop.
OpenWrt elfutils build error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make[3]: Entering directory '/home/jbosboom/github-repos/openwrt/tools/elfutils' | |
| CFLAGS="-O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -Wno-error -fPIC -std=gnu17" CPPFLAGS="-I/home/jbosboom/github-repos/openwrt/staging_dir/host/include "'-I$(top_srcdir)/lib'"" CXXFLAGS="-O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include" LDFLAGS="-L/home/jbosboom/github-repos/openwrt/staging_dir/host/lib" make -C /home/jbosboom/github-repos/openwrt/build_dir/host/elfutils-0.192/. am__CONFIG_DISTCLEAN_FILES= DEFAULT_INCLUDES='-iquote . -I$(top_builddir) -I$(top_srcdir)/libgnu' AM_LDFLAGS='$(STACK_USAGE_NO_ERROR)' LIBS+='$(if $(findstring src,$(subdir)), $(libgnu))' LIBS+='$(wildcard $(libgnu_exitfail))' LIBS+='$(wildcard $(libgnu_fallocate-posix))' LIBS+='$(wildcard $(libgnu_mbszero))' LIBS+='$(wildcard $(libgnu_obstack))' LIBS+='$(wildcard $(libgnu_obstack-printf))' LIBS+='$(wildcard $(libgnu_printf-args))' LIBS+='$(wildcard $(libgnu_printf-frexp))' LIBS+='$(wildcard $(libgnu_printf-frexpl))' LIBS+='$(wildcard $(libgnu_printf-parse))' LIBS+='$(wildcard $(libgnu_tsearch))' LIBS+='$(wildcard $(libgnu_vasnprintf))' LIBS+='$(wildcard $(libgnu_xsize))' REPLACE_FCNTL=0 REPLACE_FREE=0 REPLACE_FSTAT=0 REPLACE_OPEN=0 REPLACE_OBSTACK=0 REPLACE_OBSTACK_PRINTF=0 bin_PROGRAMS='elflint findtextrel elfcmp unstrip stack elfcompress elfclassify srcfiles' EXEEXT= SUBDIRS='$(wildcard libgnu)' | |
| make[4]: Entering directory '/home/jbosboom/github-repos/openwrt/build_dir/host/elfutils-0.192' | |
| make --no-print-directory all-recursive | |
| Making all in libgnu | |
| make all-recursive | |
| /usr/bin/env bash ../libtool --tag=CC --mode=compile /home/jbosboom/github-repos/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -iquote . -I.. -I../libgnu -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -I../lib -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -D_FORTIFY_SOURCE=3 -O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -Wno-error -fPIC -std=gnu17 -c -o libgnu_la-argp-eexst.lo `test -f 'argp-eexst.c' || echo './'`argp-eexst.c | |
| OpenWrt-libtool: compile: /home/jbosboom/github-repos/openwrt/staging_dir/host/bin/gcc -DHAVE_CONFIG_H -iquote . -I.. -I../libgnu -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -I../lib -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -D_FORTIFY_SOURCE=3 -O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -Wno-error -fPIC -std=gnu17 -c argp-eexst.c -o libgnu_la-argp-eexst.o | |
| In file included from /usr/include/locale.h:28, | |
| from ../libgnu/locale.h:41, | |
| from ../libgnu/gettext.h:122, | |
| from ../lib/eu-config.h:34, | |
| from ../config.h:2700, | |
| from argp-eexst.c:20: | |
| ./libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| ../libgnu/stddef.h:93:35: error: operator '!' has no right operand | |
| 93 | # if !defined _GCC_NULLPTR_T && ! | |
| | ^ | |
| In file included from ../libgnu/locale.h:54: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| In file included from ../libgnu/setlocale_null.h:22, | |
| from ../libgnu/locale.h:758: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| ../libgnu/locale.h:761:33: error: operator '&&' has no left operand | |
| 761 | #if /*@GNULIB_NEWLOCALE@ ||*/ ( && 0 && 1) | |
| | ^~ | |
| ../libgnu/locale.h:794:12: error: operator '&&' has no left operand | |
| 794 | #if 0 || ( && 0 && 1) | |
| | ^~ | |
| ../libgnu/locale.h:824:34: error: operator '&&' has no left operand | |
| 824 | #if /*@GNULIB_FREELOCALE@ ||*/ ( && 0 && 1) | |
| | ^~ | |
| In file included from /usr/include/string.h:37, | |
| from ../libgnu/string.h:41, | |
| from ../libgnu/gettext.h:192: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| In file included from /usr/include/strings.h:23, | |
| from ../libgnu/strings.h:34, | |
| from /usr/include/string.h:494: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| In file included from ../libgnu/string.h:56: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| ../libgnu/string.h:1619:5: error: #if with no expression | |
| 1619 | #if | |
| | ^ | |
| ../libgnu/string.h:1627:5: error: #if with no expression | |
| 1627 | #if | |
| | ^ | |
| In file included from /usr/include/stdio.h:38, | |
| from ../libgnu/stdio.h:55, | |
| from argp.h:27, | |
| from argp-eexst.c:25: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| In file included from ../libgnu/stdio.h:77: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| In file included from /usr/include/sys/types.h:144, | |
| from ../libgnu/sys/types.h:46, | |
| from ../libgnu/stdio.h:83: | |
| ../libgnu/stddef.h:37:9: error: operator '!' has no right operand | |
| 37 | && ! | |
| | ^ | |
| ../libgnu/sys/types.h:65:6: error: operator '!' has no right operand | |
| 65 | #if ! | |
| | ^ | |
| ../libgnu/stdio.h:820:5: error: #if with no expression | |
| 820 | #if | |
| | ^ | |
| ../libgnu/stdio.h:1110:5: error: #if with no expression | |
| 1110 | #if | |
| | ^ | |
| ../libgnu/stdio.h:1662:5: error: #if with no expression | |
| 1662 | #if | |
| | ^ | |
| ../libgnu/stdio.h:1815:5: error: #if with no expression | |
| 1815 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2064:5: error: #if with no expression | |
| 2064 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2125:5: error: #if with no expression | |
| 2125 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2237:5: error: #if with no expression | |
| 2237 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2317:5: error: #if with no expression | |
| 2317 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2370:5: error: #if with no expression | |
| 2370 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2460:5: error: #if with no expression | |
| 2460 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2535:5: error: #if with no expression | |
| 2535 | #if | |
| | ^ | |
| ../libgnu/stdio.h:2596:5: error: #if with no expression | |
| 2596 | #if | |
| | ^ | |
| make[8]: *** [Makefile:3019: libgnu_la-argp-eexst.lo] Error 1 | |
| make[7]: *** [Makefile:4318: all-recursive] Error 1 | |
| make[6]: *** [Makefile:2678: all] Error 2 | |
| make[5]: *** [Makefile:2082: all-recursive] Error 1 | |
| make[4]: *** [Makefile:1989: all] Error 2 | |
| make[4]: Leaving directory '/home/jbosboom/github-repos/openwrt/build_dir/host/elfutils-0.192' | |
| make[3]: *** [Makefile:135: /home/jbosboom/github-repos/openwrt/build_dir/host/elfutils-0.192/.built] Error 2 | |
| make[3]: Leaving directory '/home/jbosboom/github-repos/openwrt/tools/elfutils' | |
| time: tools/elfutils/compile#0.08#0.07#0.15 | |
| ERROR: tools/elfutils failed to build. | |
| make[2]: *** [tools/Makefile:243: tools/elfutils/compile] Error 1 | |
| make[2]: Leaving directory '/home/jbosboom/github-repos/openwrt' | |
| make[1]: *** [tools/Makefile:239: /home/jbosboom/github-repos/openwrt/staging_dir/host/stamp/.tools_compile_nyyynyynnnynyynynyyyyyyyynyyynynyynnynnyyyyyynyyyyyyyyyyynynnyyyyynyyy] Error 2 | |
| make[1]: Leaving directory '/home/jbosboom/github-repos/openwrt' | |
| make: *** [/home/jbosboom/github-repos/openwrt/include/toplevel.mk:233: world] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment