Topic: Pothos not compiling, maybe a compiler issue

Hi,

I have an issue compiling pothos. At make step I've got many errorrs. It seems this issue is related to compiler options.

I'm compiling that way :

$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/pothos -DCMAKE_CXX_FLAGS="-march=armv7-a -mfpu=neon -pthread -mtune=cortex-a9 -std=c++11 -O3" 
[url]https://pastebin.com/ZB5Nfxzr[/url]
$ make
[url]https://pastebin.com/6GEimptf[/url]

For info :

$ gcc -v
Reading specs from /usr/lib/gcc/arm-slackware-linux-gnueabi/5.3.1/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/arm-slackware-linux-gnueabi/5.3.1/lto-wrapper
Target: arm-slackware-linux-gnueabi
Configured with: ../gcc-5.3.1/configure --prefix=/usr --mandir=/usr/man --infodir=/usr/info --libdir=/usr/lib --enable-bootstrap --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --with-python-dir=/lib/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --enable-shared --enable-languages=ada,c,c++,fortran,go,java,objc,lto --enable-objc-gc --enable-threads=posix --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib/jvm/jre --with-jvm-root-dir=/usr/lib/jvm --with-jvm-jar-dir=/usr/lib/jvm/jvm-exports --with-arch-directory= --with-antlr-jar=/root/slackware64-current/source/d/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --disable-install-libiberty --host=arm-slackware-linux-gnueabi --build=arm-slackware-linux-gnueabi --target=arm-slackware-linux-gnueabi
Thread model: posix
gcc version 5.3.1 20160409 (GCC) 

Do you know how to fix this ?

Re: Pothos not compiling, maybe a compiler issue

Out of curiosity, are you cross compiling or compiling on the Novena?

Re: Pothos not compiling, maybe a compiler issue

Oh sorry, I'm compiling natively on Novena.

Re: Pothos not compiling, maybe a compiler issue

Out of curiousity, have you tried compiling it on an x86 machine? I just went through this drill recompiling the novena image. What I ended up doing was get the original one and compile it as close to the original way as possible so I could figure out the issue.

Re: Pothos not compiling, maybe a compiler issue

Well no I didn't try to compile on x86 machine. I'm always compiling natively on Novena.

Re: Pothos not compiling, maybe a compiler issue

Is this cross compiling?
visit this.
https://www.editsoftdigital.com/