#28 kwave-0.7.11: failure on kwave linking "cannot find -lartsc"

reproducible
closed
compiling (22)
5
2012-09-30
2008-02-18
No

Hi, i'm trying to compile Kwave-0.7.11 on Gentoo Linux AMD64.

I've changed almost successfully the actual 0.7.9 ebuild to use the new CMake build system, but i'm stuck on the following issue:

Even if i expressly pass -DWITH_ARTS=OFF to cmake, build process fail with this error:

Linking CXX executable kwave
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status

I was waiting from several time the drop of aRts mandatory dependency, please give me an help ;)

Tell me if you need more info!

Thanks in advance,

Davide Cendron

Discussion

  • Anonymous - 2008-02-18

    Logged In: YES
    user_id=1570776
    Originator: YES

    [EDIT]
    I've missed your provided kwave.ebuild in source tarball, sorry! But the issue is the same using it instead.

    FYI: i'm a Gentoo staff developer (Italian Lead Translator only, for now :P) , you can contact me through scen@gentoo.org ;)

     
  • Thomas Eschenbacher

    Logged In: YES
    user_id=37622
    Originator: NO

    Hello Davide,

    seems that you did not receive my e-mails? It should be easy to fix that, please try patch #1900201.

    kind regards,
    Thomas

     
  • Anonymous - 2008-02-23

    Logged In: YES
    user_id=1570776
    Originator: YES

    Hello Thomas, sorry for the delay! I was quite busy in the lasy days :P

    Yes, the patch solves the problem, but now there's a new error:

    Linking CXX executable kwave
    /var/tmp/portage/media-sound/kwave-0.7.11/work/kwave_build/libkwave/libkwave.so: undefined reference to afSetErrorHandler' /var/tmp/portage/media-sound/kwave-0.7.11/work/kwave_build/libkwave/libkwave.so: undefined reference toaf_virtual_file_new'
    /var/tmp/portage/media-sound/kwave-0.7.11/work/kwave_build/libkwave/libkwave.so: undefined reference to afCloseFile' /var/tmp/portage/media-sound/kwave-0.7.11/work/kwave_build/libkwave/libkwave.so: undefined reference toafOpenVirtualFile'
    collect2: ld returned 1 exit status
    make[2]: [kwave/kwave] Error 1
    make[1]:
    [kwave/CMakeFiles/kwave_core.dir/all] Error 2
    make: *** [all] Error 2

    FYI: i'm on Gentoo Linux AMD64, it's my emerge --info (i've seen that you're a Gentoo user too 8) )

    Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)

    System uname: 2.6.23-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3800+
    Timestamp of tree: Thu, 21 Feb 2008 18:16:01 +0000
    distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
    ccache version 2.4 [enabled]
    app-shells/bash: 3.2_p17-r1
    dev-java/java-config: 1.3.7, 2.1.4
    dev-lang/python: 2.4.4-r6
    dev-python/pycrypto: 2.0.1-r6
    dev-util/ccache: 2.4-r7
    sys-apps/baselayout: 1.12.11.1
    sys-apps/sandbox: 1.2.18.1-r2
    sys-devel/autoconf: 2.13, 2.61-r1
    sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
    sys-devel/binutils: 2.18-r1
    sys-devel/gcc-config: 1.4.0-r4
    sys-devel/libtool: 1.5.26
    virtual/os-headers: 2.6.23-r3
    ACCEPT_KEYWORDS="amd64"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=k8 -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
    CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
    CXXFLAGS="-march=k8 -O2 -pipe"
    DISTDIR="/var/tmp/distfiles"
    FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
    GENTOO_MIRRORS="http://mi.mirror.garr.it/mirrors/gentoo/ http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch/"
    LANG="it_IT.UTF-8"
    LC_ALL="it_IT.UTF-8"
    LINGUAS="it"
    MAKEOPTS="-j2"
    PKGDIR="/var/tmp/packages"
    PORTAGE_RSYNC_EXTRA_OPTS="--progress"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gechi /usr/portage/local/layman/jokey /usr/local/portage"
    SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
    USE="3dnow X a52 acpi alsa amd64 berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dri dv dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gif gpm hal htmlhandbook iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility midi mmx mng mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wavpack xcomposite xml xorg xvmc zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse penmount" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
    Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

    i'm using

    dev-util/cmake-2.4.7-r2
    x11-libs/qt-3.3.8-r4
    media-gfx/imagemagick-6.3.5.10
    media-libs/libmad-0.15.1b-r2
    media-libs/libogg-1.1.3
    media-libs/libvorbis-1.2.0
    media-libs/flac-1.2.1-r1
    sci-libs/gsl-1.9-r1

     
  • Thomas Eschenbacher

    Logged In: YES
    user_id=37622
    Originator: NO

    Hi Davide,

    there seems to be a problem with your version of libaudiofile. You can try to re-emerge libaudiofile and see if that helps. If not, you should be able to work around by using the builtin libaudiofile version with the cmake parameter -DWITH_BUILTIN_LIBAUDIOFILE=true.

     
  • Anonymous - 2008-02-27

    Logged In: YES
    user_id=1570776
    Originator: YES

    OK, using internal libasound works well :)

    And building phase ends with success!

    Close the bug if you want (i'll do some test of kwave build against external libasound ASAP, and just in case i'll open a new bug ;) ) !

     
  • Thomas Eschenbacher

    Logged In: YES
    user_id=37622
    Originator: NO

    fixed by patch #1900201

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks