Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Beaglebone: Native compilation of Zynaddsubfx failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
mcc2
n00b
n00b


Joined: 06 Sep 2012
Posts: 25

PostPosted: Sun Oct 14, 2012 8:44 am    Post subject: Beaglebone: Native compilation of Zynaddsubfx failed Reply with quote

Hi,

I tried to natively compile (directly compile on the Beaglebone) the application
Zynaddsubfx.
This unfortunately failed.
Below the data emerge suggested to provide.

Hox can I fix it?

Thank you very much in advance for any help!
Best regards,
mcc


emerge --info '=media-sound/zynaddsubfx-2.4.3:
Portage 2.1.11.9 (default/linux/arm/10.0, gcc-4.5.4, glibc-2.15-r2, 3.2.30-psp23 armv7l)
=================================================================
System Settings
=================================================================
System uname: Linux-3.2.30-psp23-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.1
Timestamp of tree: Sat, 13 Oct 2012 16:30:01 +0000
distcc 3.1 armv7a-softfp-linux-gnueabi [disabled]
ccache version 3.1.7 [disabled]
app-shells/bash: 4.2_p37
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/ccache: 3.1.7
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-softfp-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
CHOST="armv7a-softfp-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa arm berkdb bzip2 cli cracklib crypt cups cxx dvdnav fortran gdbm gpm iconv ipv6 jack modules mudflap ncurses nls nptl numpy openmp pam pcre pppd readline session ssl tcpd unicode zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

emerge -pqv '=media-sound/zynaddsubfx-2.4.3':
[ebuild N ] media-sound/zynaddsubfx-2.4.3 USE="alsa fltk jack -lash"

/tmp/portage/media-sound/zynaddsubfx-2.4.3/temp/build.log:
* Package: media-sound/zynaddsubfx-2.4.3
* Repository: gentoo
* Maintainer: proaudio@gentoo.org
* USE: alsa arm elibc_glibc fltk jack kernel_linux userland_GNU
* FEATURES: sandbox
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking ZynAddSubFX-2.4.3.tar.bz2 to /tmp/portage/media-sound/zynaddsubfx-2.4.3/work
>>> Source unpacked in /tmp/portage/media-sound/zynaddsubfx-2.4.3/work
>>> Preparing source in /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3 ...
* Applying zynaddsubfx-2.4.1-docs.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3 ...
>>> Working in BUILD_DIR: "/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build"
cmake --no-warn-unused-cli -C /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DGuiModule=fltk -DOutputModule=alsa -DAlsaMidiOutput=TRUE -DJackOutput=TRUE -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/gentoo_rules.cmake /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3
Not searching for unused variables given on the command line.
loading initial cache file /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.5.4
-- The CXX compiler identification is GNU 4.5.4
-- Check for working C compiler: /usr/bin/armv7a-softfp-linux-gnueabi-gcc
-- Check for working C compiler: /usr/bin/armv7a-softfp-linux-gnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/armv7a-softfp-linux-gnueabi-g++
-- Check for working CXX compiler: /usr/bin/armv7a-softfp-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Checking Include Path
-- Checking Library Path
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Found ZLIB: /usr/lib/libz.so
-- checking for module 'fftw3'
-- found fftw3, version 3.2.2
-- checking for module 'mxml'
-- found mxml, version 2.6
-- Looking for include file pthread.h
-- Looking for include file 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
-- Found OSS: True
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib/libasound.so
-- checking for module 'jack'
-- found jack, version 0.121.3
-- checking for module 'portaudio-2.0>=19'
-- package 'portaudio-2.0>=19' not found
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found FLTK: /usr/lib/fltk-1/libfltk_images.so;/usr/lib/fltk-1/libfltk_forms.so;/usr/lib/fltk-1/libfltk.so
-- Found OpenGL: /usr/lib/libGL.so
-- Could NOT find CxxTest (missing: CXXTEST_INCLUDE_DIR CXXTEST_PYTHON_TESTGEN_EXECUTABLE)
-- checking for one of the modules 'lash_disabled'
-- checking for one of the modules 'dssi>=0.9.0'
-- checking for one of the modules 'liblo>=0.26'
-- Building for Gentoo, flags: -O3 -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer
-- -L/usr/lib/fltk-1 -Wl,-O1 -Wl,--as-needed -lfltk -lXext -ldl -lm -lX11

-- Will build fltk gui
-- using link directories:
-- Link libraries: /usr/lib/libz.so mxml /usr/lib/libasound.so;jack;pthread;rt
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
C++ -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,-O1 -Wl,--as-needed
Shared -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build
>>> Source configured.
>>> Compiling source in /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3 ...
>>> Working in BUILD_DIR: "/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build"
make VERBOSE=1
/usr/bin/cmake -H/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3 -B/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/CMakeFiles /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
make -f src/Synth/CMakeFiles/zynaddsubfx_synth.dir/build.make src/Synth/CMakeFiles/zynaddsubfx_synth.dir/depend
make[2]: Entering directory `/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
cd /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3 /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth/CMakeFiles/zynaddsubfx_synth.dir/DependInfo.cmake --color=
Dependee "/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth/CMakeFiles/zynaddsubfx_synth.dir/DependInfo.cmake" is newer than depender "/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth/CMakeFiles/zynaddsubfx_synth.dir/depend.internal".
Dependee "/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth/CMakeFiles/zynaddsubfx_synth.dir/depend.internal".
Scanning dependencies of target zynaddsubfx_synth
make[2]: Leaving directory `/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
make -f src/Synth/CMakeFiles/zynaddsubfx_synth.dir/build.make src/Synth/CMakeFiles/zynaddsubfx_synth.dir/build
make[2]: Entering directory `/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
make[2]: Warning: File `src/Synth/CMakeFiles/zynaddsubfx_synth.dir/depend.make' has modification time 0.047 s in the future
/usr/bin/cmake -E cmake_progress_report /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/CMakeFiles 93
[ 1%] Building CXX object src/Synth/CMakeFiles/zynaddsubfx_synth.dir/SynthNote.cpp.o
cd /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth && /usr/bin/armv7a-softfp-linux-gnueabi-g++ -DVERSION=\"2.4.3\" -DALSA=1 -DJACK=1 -DOSS=1 -DASM_F2I_YES -DFLTK_GUI -DNDEBUG -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -I/usr/include/fltk-1 -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/UI -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/UI -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src -g -Wall -Wextra -fPIC -o CMakeFiles/zynaddsubfx_synth.dir/SynthNote.cpp.o -c /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth/SynthNote.cpp
/usr/bin/cmake -E cmake_progress_report /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/CMakeFiles 94
[ 2%] Building CXX object src/Synth/CMakeFiles/zynaddsubfx_synth.dir/ADnote.cpp.o
cd /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/Synth && /usr/bin/armv7a-softfp-linux-gnueabi-g++ -DVERSION=\"2.4.3\" -DALSA=1 -DJACK=1 -DOSS=1 -DASM_F2I_YES -DFLTK_GUI -DNDEBUG -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -I/usr/include/fltk-1 -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/UI -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src/UI -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src -I/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build/src -g -Wall -Wextra -fPIC -o CMakeFiles/zynaddsubfx_synth.dir/ADnote.cpp.o -c /tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth/ADnote.cpp
/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth/ADnote.cpp: In member function 'void ADnote::setfreq(int, float)':
/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth/ADnote.cpp:896:9: error: unknown register name 'st' in 'asm'
/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth/ADnote.cpp: In member function 'void ADnote::setfreqFM(int, float)':
/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3/src/Synth/ADnote.cpp:912:9: error: unknown register name 'st' in 'asm'
make[2]: *** [src/Synth/CMakeFiles/zynaddsubfx_synth.dir/ADnote.cpp.o] Error 1
make[2]: Leaving directory `/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
make[1]: *** [src/Synth/CMakeFiles/zynaddsubfx_synth.dir/all] Error 2
make[1]: Leaving directory `/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
make: *** [all] Error 2
* ERROR: media-sound/zynaddsubfx-2.4.3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-sound/zynaddsubfx-2.4.3'`,
* the complete build log and the output of `emerge -pqv '=media-sound/zynaddsubfx-2.4.3'`.
* The complete build log is located at '/tmp/portage/media-sound/zynaddsubfx-2.4.3/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/media-sound/zynaddsubfx-2.4.3/temp/environment'.
* Working directory: '/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/zynaddsubfx-2.4.3_build'
* S: '/tmp/portage/media-sound/zynaddsubfx-2.4.3/work/ZynAddSubFX-2.4.3'

Further data will be send on request...
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5263

PostPosted: Wed Oct 17, 2012 1:28 pm    Post subject: Reply with quote

I sometimes run into trouble compiling Zynaddsubfx, and the only thing that works (if that) is trying different versions.

If you get totally stuck, try Yoshimi, which should be in the pro-audio overlay. It's supposed to be similar to Zynaddsubfx, and I haven't had any trouble compiling it yet.
_________________
Gentoo Studio: http://gentoostudio.org
Facebook: http://www.facebook.com/gentoostudio
G+: https://plus.google.com/113947758237122861689/posts
Pappy's Kernel Seeds: http://kernel-seeds.org
Back to top
View user's profile Send private message
jannis
Guru
Guru


Joined: 05 Dec 2004
Posts: 322
Location: Germany / Bavaria / Aschaffenburg

PostPosted: Thu Jan 17, 2013 11:19 am    Post subject: Reply with quote

This rather looks like an upstream bug, they just didn't think of architectures besides x86 and x86_64. Can you try contacting the upstream-devs about that? Asking on linux-audio-user mailing list (LAU) might help you as well
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum