Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"undefined reference to" errors when compiling with Qt5 (Qt4 disabled) #10

Closed
simonvanderveldt opened this issue Sep 24, 2017 · 4 comments

Comments

@simonvanderveldt
Copy link

simonvanderveldt commented Sep 24, 2017

I get the error as shown below when I configure samplv1 0.8.4 like this. I didn't have this error on 0.8.3

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/samplv1-0.8.4 --htmldir=/usr/share/doc/samplv1-0.8.4/html --libdir=/usr/lib64 --disable-debug --disable-qt4 --enable-jack --disable-alsa-midi --enable-lv2 --disable-liblo
.obj_jack/samplv1widget_config.o: In function `samplv1widget_config::controlsEnabled(bool)':
samplv1widget_config.cpp:(.text+0x30b): undefined reference to `samplv1_ui::isPlugin() const'
.obj_jack/samplv1widget_config.o: In function `samplv1widget_config::programsEnabled(bool)':
samplv1widget_config.cpp:(.text+0x42b): undefined reference to `samplv1_ui::isPlugin() const'
.obj_jack/samplv1widget_config.o: In function `samplv1widget_config::samplv1widget_config(samplv1_ui*, QWidget*, QFlags<Qt::WindowType>)':
samplv1widget_config.cpp:(.text+0x18ae): undefined reference to `samplv1_ui::isPlugin() const'
.obj_jack/samplv1widget_jack.o: In function `samplv1widget_jack::samplv1widget_jack(samplv1_jack*)':
samplv1widget_jack.cpp:(.text+0x1e7): undefined reference to `samplv1_ui::samplv1_ui(samplv1*, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile.src_jack:258: samplv1_jack] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/samplv1-0.8.4/work/samplv1-0.8.4/src'
make[1]: *** [samplv1_jack.mak:43: sub-src-src_jack-pro-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/samplv1-0.8.4/work/samplv1-0.8.4'
make: *** [Makefile:119: jack] Error 2
make: *** Waiting for unfinished jobs....

Any idea what could be causing this?

@simonvanderveldt simonvanderveldt changed the title Error when compiling with Qt5 (Qt4 disabled) undefined reference to errors when compiling with Qt5 (Qt4 disabled) Sep 24, 2017
@simonvanderveldt simonvanderveldt changed the title undefined reference to errors when compiling with Qt5 (Qt4 disabled) "undefined reference to" errors when compiling with Qt5 (Qt4 disabled) Sep 24, 2017
@rncbc
Copy link
Owner

rncbc commented Sep 25, 2017

get rid of any previous installations of samplv1 that you might have installed, most importantly of the common/shared core engine libsamplv1.so*

hth

@rncbc rncbc closed this as completed Sep 25, 2017
@simonvanderveldt
Copy link
Author

get rid of any previous installations of samplv1 that you might have installed, most importantly of the common/shared core engine libsamplv1.so*

Does this mean the build is building against the old module? Any way to prevent that from happening whilst the old version is still installed?

@rncbc
Copy link
Owner

rncbc commented Sep 25, 2017

maybe you've installed on a different --libdir path than the one you're trying now? /usr/local/lib perhaps?

@simonvanderveldt
Copy link
Author

maybe you've installed on a different --libdir path than the one you're trying now? /usr/local/lib perhaps?

I'll check to make sure that's not the case. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants