#29 kwave-0.7.11 does not compile with ext. audiofile >0.2.3

reproducible
closed
compiling (22)
5
2014-06-10
2008-02-27
scen
No

I can confirm that kwave-0.7.11 does not compile, using system's host libaudiofile, if version of this library is > 0.2.3

The error is:

Linking CXX executable kwave
cd /home/davide/src/kwave-0.7.11/kwave && /usr/bin/cmake -P CMakeFiles/kwave_core.dir/cmake_clean_target.cmake
cd /home/davide/src/kwave-0.7.11/kwave && /usr/bin/c++ -fPIC -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-exceptions -fno-check-new -fno-common -O2 -fPIC "CMakeFiles/kwave_core.dir/main.o" "CMakeFiles/kwave_core.dir/ClipBoard.o" "CMakeFiles/kwave_core.dir/CodecManager.o" "CMakeFiles/kwave_core.dir/KwaveApp.o" "CMakeFiles/kwave_core.dir/KwaveSplash.o" "CMakeFiles/kwave_core.dir/LabelManager.o" "CMakeFiles/kwave_core.dir/MainWidget.o" "CMakeFiles/kwave_core.dir/MemoryManager.o" "CMakeFiles/kwave_core.dir/MouseMark.o" "CMakeFiles/kwave_core.dir/PlaybackController.o" "CMakeFiles/kwave_core.dir/PluginManager.o" "CMakeFiles/kwave_core.dir/SignalManager.o" "CMakeFiles/kwave_core.dir/SignalWidget.o" "CMakeFiles/kwave_core.dir/SwapFile.o" "CMakeFiles/kwave_core.dir/TopWidget.o" "CMakeFiles/kwave_core.dir/UndoAddLabelAction.o" "CMakeFiles/kwave_core.dir/UndoDeleteAction.o" "CMakeFiles/kwave_core.dir/UndoDeleteLabelAction.o" "CMakeFiles/kwave_core.dir/UndoDeleteTrack.o" "CMakeFiles/kwave_core.dir/UndoFileInfo.o" "CMakeFiles/kwave_core.dir/UndoInsertAction.o" "CMakeFiles/kwave_core.dir/UndoInsertTrack.o" "CMakeFiles/kwave_core.dir/UndoModifyAction.o" "CMakeFiles/kwave_core.dir/UndoModifyLabelAction.o" "CMakeFiles/kwave_core.dir/UndoSelection.o" "CMakeFiles/kwave_core.dir/UndoTransaction.o" "CMakeFiles/kwave_core.dir/UndoTransactionGuard.o" "CMakeFiles/kwave_core.dir/menus_config_i18n.o" -o kwave -rdynamic -L/home/davide/src/kwave-0.7.11/mt -L/home/davide/src/kwave-0.7.11/libgui -L/home/davide/src/kwave-0.7.11/libkwave -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -lkwave -lkwavegui -Wl,-Bstatic -lqassistantclient -Wl,-Bdynamic -lqt-mt -lSM -lICE -lX11 -lXext -ldl -lpthread -lkdecore -lkdeui -lkio -Wl,-rpath,/usr/kde/3.5/lib64:/usr/kde/3.5/lib64:/usr/qt/3/lib64
/home/davide/src/kwave-0.7.11/libkwave/libkwave.so: undefined reference to afSetErrorHandler' /home/davide/src/kwave-0.7.11/libkwave/libkwave.so: undefined reference toaf_virtual_file_new'
/home/davide/src/kwave-0.7.11/libkwave/libkwave.so: undefined reference to afCloseFile' /home/davide/src/kwave-0.7.11/libkwave/libkwave.so: undefined reference toafOpenVirtualFile'
collect2: ld returned 1 exit status
make[2]: *** [kwave/kwave] Error 1

If i've installed audiofile-0.2.3 instead (or using internal libaudiofile, that's the same version), build process works well.

I think that would be better fixing this issue, because the latest stable version from several time of audiofile (and the only available in Gentoo, my own Linux distro) is 0.2.6.

Tell me if you need more info :)

Discussion

  • Logged In: YES
    user_id=37622
    Originator: NO

    I wonder, because I am also using Gentoo, but for i686 only (32 bit) and here it works. It is also strange that it doesn't find the functions af_virtual_file_new and afOpenVirtualFile, because there are explicit checks in the cmake files!? (see cmake/KwaveLibaudiofileSupport.cmake). It should not happen that the cmake check passes and then later the functions vanished!? Can you please provide the complete cmake output?

     
  • Logged In: YES
    user_id=37622
    Originator: NO

    fixed by patch #1905335

     
  • 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).