Hi Bernd,

thanks for bringing this to our attention. It was actually
my mistake. Shame on me, I know ;p
A fix is available here:

https://github.com/abraxa/pulseview/commit/dcfe0a01f72021aab961245d0ebc
c9f8d4504b40

All the best,
 -Soeren


On Sat, 2016-01-30 at 23:05 +0100, Bernd Kuhls wrote:
> Hi,
> 
> compiling pulseview-0.3.0 fails
> 
> CMakeFiles/pulseview.dir/pv/view/view.cpp.o: In function 
> `pv::view::View::enable_coloured_bg(bool)':
> view.cpp:(.text+0x2ff4): undefined reference to `typeinfo for 
> pv::view::DecodeTrace'
> 
> The error occurs when cross-compiling using buildroot (either with
> uClibc 
> and musl), here is the configure output:
> 
> (mkdir -p /home/bernd/buildroot/br4/output/build/pulseview-0.3.0/ &&
> cd /
> home/bernd/buildroot/br4/output/build/pulseview-0.3.0/ && rm -f 
> CMakeCache.txt &&
> PATH="/home/bernd/buildroot/br4/output/host/bin:/home/
> bernd/buildroot/br4/output/host/sbin:/home/bernd/buildroot/br4/output
> /
> host/usr/bin:/home/bernd/buildroot/br4/output/host/usr/sbin:/home/ber
> nd/
> android/bin:/home/bernd/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/
> games:/usr/games" 
>  /home/bernd/buildroot/br4/output/host/usr/bin/cmake /
> home/bernd/buildroot/br4/output/build/pulseview-0.3.0/ -
> DCMAKE_TOOLCHAIN_FILE="/home/bernd/buildroot/br4/output/host/usr/shar
> e/
> buildroot/toolchainfile.cmake" -DCMAKE_BUILD_TYPE=Release -
> DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF 
> -DBUILD_DOC=OFF -
> DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF 
> -DBUILD_TEST=OFF 
> -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON  -
> DDISABLE_WERROR=TRUE -DENABLE_DECODE=FALSE )
> -- The C compiler identification is GNU 4.9.3
> -- The CXX compiler identification is GNU 4.9.3
> -- Check for working C compiler:
> /home/bernd/buildroot/br4/output/host/
> usr/bin/i586-buildroot-linux-uclibc-gcc
> -- Check for working C compiler:
> /home/bernd/buildroot/br4/output/host/
> usr/bin/i586-buildroot-linux-uclibc-gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler:
> /home/bernd/buildroot/br4/output/host/
> usr/bin/i586-buildroot-linux-uclibc-g++
> -- Check for working CXX compiler:
> /home/bernd/buildroot/br4/output/host/
> usr/bin/i586-buildroot-linux-uclibc-g++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found PkgConfig: /home/bernd/buildroot/br4/output/host/usr/bin/pkg
> -
> config (found version "0.28") 
> -- Checking for module 'libsigrokcxx>=0.4.0'
> --   Found libsigrokcxx, version 0.4.0-git-90ea418
> -- Using Qt5
> -- Boost version: 1.60.0
> -- Found the following Boost libraries:
> --   filesystem
> --   system
> --   thread
> --   unit_test_framework
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE  
> -- Cross compiling - using portable code for memory access
> -- PulseView version: 0.3.0-git-90ea418
> -- Configuring done
> -- Generating done
> 
> Regards, Bernd
> 
> 
> ---------------------------------------------------------------------
> ---------
> Site24x7 APM Insight: Get Deep Visibility into Application
> Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to