expat update broke build on ubuntu 22.04 server

nick vincent at systemli.org
Tue Feb 13 06:22:34 PST 2024


Can you try building from a clean build, e.g. use make distclean?

On 2/13/24 11:56, Koen Vandeputte wrote:
> Hi Nick,
>
> Regarding commit:
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=4a3f430d726e0713f4936844f26ccaf5077ef881
>
>
> I'm seeing this when building:
> Any idea how to fix it?
>
>
>
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with -std=c++11... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with +std=c++11... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with -h std=c++11... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with -std:c++11... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with -std=c++0x... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with +std=c++0x... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with -h std=c++0x... no
> checking whether ccache
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/bin/g++
> supports C++11 features with -std:c++0x... no
> configure: error: *** A compiler with support for C++11 language
> features is required.
> make[3]: *** [Makefile:34:
> /home/koen/firmware/builds/generic_dr40x9/build_dir/host/expat-2.6.0/.configured]
> Error 1
> make[3]: Leaving directory
> '/home/koen/firmware/builds/generic_dr40x9/tools/expat'
> time: tools/expat/compile#0.94#0.25#1.17
>      ERROR: tools/expat failed to build.
> make[2]: *** [tools/Makefile:228: tools/expat/compile] Error 1
> make[2]: Leaving directory '/home/koen/firmware/builds/generic_dr40x9'
> make[1]: *** [tools/Makefile:224:
> /home/koen/firmware/builds/generic_dr40x9/staging_dir/host/stamp/.tools_compile_nyyynyynnnyyyynynyyyyyyynyyynnynyynnynnyyyyyynyyyyyyyyyyynynnyyyyyyy]
> Error 2
> make[1]: Leaving directory '/home/koen/firmware/builds/generic_dr40x9'
> make: *** [/home/koen/firmware/builds/generic_dr40x9/include/toplevel.mk:232:
> world] Error 2
>
>
> koen at roemer:~/firmware/builds/generic_dr40x9$ uname -a
> Linux roemer 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC
> 2023 x86_64 x86_64 x86_64 GNU/Linux
>
>
> koen at roemer:~/firmware/builds/generic_dr40x9$ gcc --version
> gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
> Copyright (C) 2021 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
> Koen
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list