My guess is that the environment is different between when it is compiling and at your desktop, and may be a pain to find. Try copy/pasting the line that is failing during the build and see if that will work. I doubt that it is "g++-4.4 -std=c++0x -c nbi.cc && echo success". This will let you know if there another problem (like std=c++0x not being set, or possibly the error being on a different line of code).
Just a thought. EBo -- On Jan 3 2016 4:01 AM, Niemand Sonst wrote: > I got nearly the same on my machine, I just changed the commands to > use > the default g++ > > $ lsb_release -cr > Release: 10.04 > Codename: lucid > > $ g++ -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu > 4.4.3-4ubuntu5.1' > --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr > --enable-shared --enable-multiarch --enable-linker-build-id > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 > --program-suffix=-4.4 --enable-nls --enable-clocale=gnu > --enable-libstdcxx-debug --enable-plugin --enable-objc-gc > --enable-targets=all --disable-werror --with-arch-32=i486 > --with-tune=generic --enable-checking=release --build=i486-linux-gnu > --host=i486-linux-gnu --target=i486-linux-gnu > Thread model: posix > gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) > > $ cat nbi.cc > #include <cmath> > const auto i = std::nearbyint(3.14); > > > $ g++ -std=c++0x -c nbi.cc && echo success > success > > I have done that within the python 2.7 environment and with > rip-environment > So I do not understand why I get the error during make with master, > but > not with 2.7 > > Norbert > > > Am 02.01.2016 um 23:03 schrieb Jeff Epler: >> $ lsb_release -cr >> Release: 10.04 >> Codename: lucid >> $ g++-4.4 -v >> Using built-in specs. >> Target: i486-linux-gnu >> Configured with: ../src/configure -v --with-pkgversion='Ubuntu >> 4.4.3-4ubuntu5.1' >> --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs >> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr >> --enable-shared --enable-multiarch --enable-linker-build-id >> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext >> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 >> --program-suffix=-4.4 --enable-nls --enable-clocale=gnu >> --enable-libstdcxx-debug --enable-plugin --enable-objc-gc >> --enable-targets=all --disable-werror --with-arch-32=i486 >> --with-tune=generic --enable-checking=release --build=i486-linux-gnu >> --host=i486-linux-gnu --target=i486-linux-gnu >> Thread model: posix >> gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) >> $ cat nbi.cc >> #include <cmath> >> const auto i = std::nearbyint(3.14); >> $ g++-4.4 -std=c++0x -c nbi.cc && echo success >> success > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers