openwrt building : why toolchain put CXX=no The 2019 Stack Overflow Developer Survey Results Are InXcode “Build and Archive” from command lineXcode warning: “Multiple build commands for output file”c - Linker error building OpenWrt packageBuild Error OpenWRT hotplug2Unknow build error with OpenWrtJust build OpenWrt SDK not ImagesToolchain in openwrt?Build SDK to get Openwrt imageBuilding OpenWrt with ImageBuilder offlineneed config for create build from openwrt

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

How to translate "being like"?

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

How can I define good in a religion that claims no moral authority?

What is this sharp, curved notch on my knife for?

Correct punctuation for showing a character's confusion

Mathematics of imaging the black hole

writing variables above the numbers in tikz picture

How to notate time signature switching consistently every measure

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Falsification in Math vs Science

Why does the nucleus not repel itself?

If a sorcerer casts the Banishment spell on a PC while in Avernus, does the PC return to their home plane?

Pokemon Turn Based battle (Python)

Getting crown tickets for Statue of Liberty

Can a flute soloist sit?

What do these terms in Caesar's Gallic wars mean?

Can there be female White Walkers?

How do you keep chess fun when your opponent constantly beats you?

Are spiders unable to hurt humans, especially very small spiders?

What do I do when my TA workload is more than expected?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?



openwrt building : why toolchain put CXX=no



The 2019 Stack Overflow Developer Survey Results Are InXcode “Build and Archive” from command lineXcode warning: “Multiple build commands for output file”c - Linker error building OpenWrt packageBuild Error OpenWRT hotplug2Unknow build error with OpenWrtJust build OpenWrt SDK not ImagesToolchain in openwrt?Build SDK to get Openwrt imageBuilding OpenWrt with ImageBuilder offlineneed config for create build from openwrt



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















when build openwrt package avahi:
it show this:



 configure.ac:298: the top level
autoreconf: Leaving directory `.'
(cd /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/./; if [ -x ./configure ];
then /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
-name config.guess | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
-name config.guess | xargs -r -n1 cp
--remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.guess; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
-name config.sub | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
-name config.sub | xargs -r -n1 cp --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.sub;
AR=arm-openwrt-linux-uclibcgnueabi-ar
AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE"
LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm
CC="arm-openwrt-linux-uclibcgnueabi-gcc"
GCC="arm-openwrt-linux-uclibcgnueabi-gcc"
CXX="no"
RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip
OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CXXFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CPPFLAGS="-I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/include "
LDFLAGS="-L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/lib " CFLAGS="$CFLAGS -DNDEBUG -DDISABLE_SYSTEMD" ac_cv_header_sys_capability_h=no ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --disable-glib --disable-gobject --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 --with-xml=expat --disable-dbm --enable-gdbm --enable-libdaemon --disable-python --disable-pygtk --disable-python-dbus --disable-mono --disable-monodoc --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-man --disable-doxygen-rtf --disable-doxygen-xml --disable-doxygen-chm --disable-doxygen-chi --disable-doxygen-html --disable-doxygen-ps --disable-doxygen-pdf --disable-xmltoman --with-distro=none --with-avahi-user=nobody --with-avahi-group=nogroup --with-autoipd-user=nobody --with-autoipd-group=nogroup --disable-stack-protector --enable-dbus ; fi; )


...



checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether the C++ compiler works... no
configure: error: in `/home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31':
configure: error: The C++ compiler does not work
See `config.log' for more details


there is arg: CXX=no



how can i fix it?



i add ARGS at configure.ac but not work.










share|improve this question






























    0















    when build openwrt package avahi:
    it show this:



     configure.ac:298: the top level
    autoreconf: Leaving directory `.'
    (cd /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/./; if [ -x ./configure ];
    then /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
    -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
    -name config.guess | xargs -r -n1 cp
    --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.guess; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
    -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
    -name config.sub | xargs -r -n1 cp --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.sub;
    AR=arm-openwrt-linux-uclibcgnueabi-ar
    AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE"
    LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm
    CC="arm-openwrt-linux-uclibcgnueabi-gcc"
    GCC="arm-openwrt-linux-uclibcgnueabi-gcc"
    CXX="no"
    RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip
    OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CXXFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CPPFLAGS="-I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/include "
    LDFLAGS="-L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/lib " CFLAGS="$CFLAGS -DNDEBUG -DDISABLE_SYSTEMD" ac_cv_header_sys_capability_h=no ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --disable-glib --disable-gobject --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 --with-xml=expat --disable-dbm --enable-gdbm --enable-libdaemon --disable-python --disable-pygtk --disable-python-dbus --disable-mono --disable-monodoc --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-man --disable-doxygen-rtf --disable-doxygen-xml --disable-doxygen-chm --disable-doxygen-chi --disable-doxygen-html --disable-doxygen-ps --disable-doxygen-pdf --disable-xmltoman --with-distro=none --with-avahi-user=nobody --with-avahi-group=nogroup --with-autoipd-user=nobody --with-autoipd-group=nogroup --disable-stack-protector --enable-dbus ; fi; )


    ...



    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether the C++ compiler works... no
    configure: error: in `/home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31':
    configure: error: The C++ compiler does not work
    See `config.log' for more details


    there is arg: CXX=no



    how can i fix it?



    i add ARGS at configure.ac but not work.










    share|improve this question


























      0












      0








      0








      when build openwrt package avahi:
      it show this:



       configure.ac:298: the top level
      autoreconf: Leaving directory `.'
      (cd /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/./; if [ -x ./configure ];
      then /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.guess | xargs -r -n1 cp
      --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.guess; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.sub | xargs -r -n1 cp --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.sub;
      AR=arm-openwrt-linux-uclibcgnueabi-ar
      AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE"
      LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm
      CC="arm-openwrt-linux-uclibcgnueabi-gcc"
      GCC="arm-openwrt-linux-uclibcgnueabi-gcc"
      CXX="no"
      RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip
      OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CXXFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CPPFLAGS="-I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/include "
      LDFLAGS="-L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/lib " CFLAGS="$CFLAGS -DNDEBUG -DDISABLE_SYSTEMD" ac_cv_header_sys_capability_h=no ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --disable-glib --disable-gobject --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 --with-xml=expat --disable-dbm --enable-gdbm --enable-libdaemon --disable-python --disable-pygtk --disable-python-dbus --disable-mono --disable-monodoc --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-man --disable-doxygen-rtf --disable-doxygen-xml --disable-doxygen-chm --disable-doxygen-chi --disable-doxygen-html --disable-doxygen-ps --disable-doxygen-pdf --disable-xmltoman --with-distro=none --with-avahi-user=nobody --with-avahi-group=nogroup --with-autoipd-user=nobody --with-autoipd-group=nogroup --disable-stack-protector --enable-dbus ; fi; )


      ...



      checking whether to build shared libraries... yes
      checking whether to build static libraries... yes
      checking whether the C++ compiler works... no
      configure: error: in `/home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31':
      configure: error: The C++ compiler does not work
      See `config.log' for more details


      there is arg: CXX=no



      how can i fix it?



      i add ARGS at configure.ac but not work.










      share|improve this question
















      when build openwrt package avahi:
      it show this:



       configure.ac:298: the top level
      autoreconf: Leaving directory `.'
      (cd /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/./; if [ -x ./configure ];
      then /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.guess | xargs -r -n1 cp
      --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.guess; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31/
      -name config.sub | xargs -r -n1 cp --remove-destination /home/r3d/Desktop/QSDK/qsdk/scripts/config.sub;
      AR=arm-openwrt-linux-uclibcgnueabi-ar
      AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE"
      LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm
      CC="arm-openwrt-linux-uclibcgnueabi-gcc"
      GCC="arm-openwrt-linux-uclibcgnueabi-gcc"
      CXX="no"
      RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip
      OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CXXFLAGS="-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic -DGETTEXT_PACKAGE " CPPFLAGS="-I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/include -I/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/include "
      LDFLAGS="-L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/target-arm_v7-a_uClibc-1.0.14_eabi/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/usr/lib -L/home/r3d/Desktop/QSDK/qsdk/staging_dir/toolchain-arm_v7-a_gcc-4.8-linaro_uClibc-1.0.14_eabi/lib " CFLAGS="$CFLAGS -DNDEBUG -DDISABLE_SYSTEMD" ac_cv_header_sys_capability_h=no ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --disable-glib --disable-gobject --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 --with-xml=expat --disable-dbm --enable-gdbm --enable-libdaemon --disable-python --disable-pygtk --disable-python-dbus --disable-mono --disable-monodoc --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-man --disable-doxygen-rtf --disable-doxygen-xml --disable-doxygen-chm --disable-doxygen-chi --disable-doxygen-html --disable-doxygen-ps --disable-doxygen-pdf --disable-xmltoman --with-distro=none --with-avahi-user=nobody --with-avahi-group=nogroup --with-autoipd-user=nobody --with-autoipd-group=nogroup --disable-stack-protector --enable-dbus ; fi; )


      ...



      checking whether to build shared libraries... yes
      checking whether to build static libraries... yes
      checking whether the C++ compiler works... no
      configure: error: in `/home/r3d/Desktop/QSDK/qsdk/build_dir/target-arm_v7-a_uClibc-1.0.14_eabi/avahi/dbus/avahi-0.6.31':
      configure: error: The C++ compiler does not work
      See `config.log' for more details


      there is arg: CXX=no



      how can i fix it?



      i add ARGS at configure.ac but not work.







      build openwrt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 5:26







      Fcm

















      asked Mar 22 at 4:31









      FcmFcm

      113




      113






















          1 Answer
          1






          active

          oldest

          votes


















          0














          at rule.mk :



          TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no)


          change to :



          TARGET_CXX=$(TARGET_CROSS)g++


          something going wrong when build toolchain






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55292953%2fopenwrt-building-why-toolchain-put-cxx-no%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            at rule.mk :



            TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no)


            change to :



            TARGET_CXX=$(TARGET_CROSS)g++


            something going wrong when build toolchain






            share|improve this answer



























              0














              at rule.mk :



              TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no)


              change to :



              TARGET_CXX=$(TARGET_CROSS)g++


              something going wrong when build toolchain






              share|improve this answer

























                0












                0








                0







                at rule.mk :



                TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no)


                change to :



                TARGET_CXX=$(TARGET_CROSS)g++


                something going wrong when build toolchain






                share|improve this answer













                at rule.mk :



                TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no)


                change to :



                TARGET_CXX=$(TARGET_CROSS)g++


                something going wrong when build toolchain







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 22 at 6:37









                FcmFcm

                113




                113





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid …


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55292953%2fopenwrt-building-why-toolchain-put-cxx-no%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

                    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

                    Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?