Compilation Error (0.7.2) on Slackware

Errors, malfunctions, website typos.
Eupator
F6 - Feverfew
Posts: 8
Joined: Fri Sep 06, 2013 3:40 am

Re: Compilation Error (0.7.2) on Slackware

Post by Eupator » Tue Sep 10, 2013 12:40 pm

Wouldn't deleting everything and untar-ing from scratch undo all our changes thus far?

Anyway, I ran "make distclean" and "./configure --target=linux" again, then "make libs" (in the src directory) and "make" again:

Code: Select all

g++ -Wall -pedantic -Werror -g -O2   -o giada mixerHandler.o gd_about.o gd_mainWindow.o graphics.o patch.o gd_beatsInput.o gd_warnings.o ge_mixed.o recorder.o gd_bpmInput.o ge_waveform.o gui_utils.o utils.o gd_browser.o init.o gd_config.o gg_keyboard.o kernelAudio.o wave.o waveFx.o gd_editor.o gg_waveTools.o main.o mixer.o gd_keyGrabber.o glue.o ge_browser.o gd_devInfo.o plugin.o pluginHost.o gd_pluginList.o gd_pluginWindow.o ge_window.o dataStorage.o conf.o gd_actionEditor.o ge_muteChannel.o ge_actionChannel.o gd_pluginWindowGUI.o ge_actionWidget.o ge_envelopeChannel.o ge_pianoRoll.o kernelMidi.o gd_midiSetup.o  -lXinerama -lfontconfig -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm rtaudio/librtaudio.a -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -lpthread 
kernelAudio.o: In function `kernelAudio::jackGetHandle()':
/usr/src/giada-0.7.2-src/src/kernelAudio.cpp:408: undefined reference to `RtApi::__HACK__getJackClient()'
collect2: error: ld returned 1 exit status
make[1]: *** [giada] Error 1
make[1]: Leaving directory `/usr/src/giada-0.7.2-src/src'
make: *** [all-recursive] Error 1
Maybe I'm not quite getting what you're asking for?

User avatar
FFT
F14 - Syrian Rue
Posts: 512
Joined: Thu Mar 08, 2012 6:51 pm

Re: Compilation Error (0.7.2) on Slackware

Post by FFT » Tue Sep 10, 2013 9:42 pm

Eupator wrote:Wouldn't deleting everything and untar-ing from scratch undo all our changes thus far?
Oh yes, you have to paste again those missing flags inside the Makefile.am ... By the way now it seems that the compiler is using the wrong header files, where RtApi::__HACK__getJackClient() doesn't exist at all.

Maybe you have another version of RtAudio installed in your system?

Eupator
F6 - Feverfew
Posts: 8
Joined: Fri Sep 06, 2013 3:40 am

Re: Compilation Error (0.7.2) on Slackware

Post by Eupator » Wed Sep 11, 2013 12:46 am

FFT wrote:Maybe you have another version of RtAudio installed in your system?
Closest I've got is rtMidi . . .

User avatar
FFT
F14 - Syrian Rue
Posts: 512
Joined: Thu Mar 08, 2012 6:51 pm

Re: Compilation Error (0.7.2) on Slackware

Post by FFT » Sun Sep 15, 2013 3:25 pm

Sorry for the delay, we did some tests on our machines... unfortunately we weren't able to reproduce the include bug. BUT you can pass additional flags to the configure script, like that:

Code: Select all

./configure [...parameters...] CXXFLAGS='-I./rtaudio'
Any improvements?

Eupator
F6 - Feverfew
Posts: 8
Joined: Fri Sep 06, 2013 3:40 am

Re: Compilation Error (0.7.2) on Slackware

Post by Eupator » Sun Sep 15, 2013 3:47 pm

Hey, no worries about the delay. Unfortunately, I can't test right now, as the machine in question has just had a catastrophic hard drive failure . . . but thank you again for your help thus far!

Post Reply