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

Build docs #60

Open
awissu opened this issue Dec 21, 2015 · 5 comments
Open

Build docs #60

awissu opened this issue Dec 21, 2015 · 5 comments

Comments

@awissu
Copy link

awissu commented Dec 21, 2015

Hi!
I get build errors when trying to compile docs:

[ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:55: undefined reference to bmln_src_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:56: undefined reference tobmln_transform_get_type'
[ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:57: undefined reference to bmln_v_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:58: undefined reference tobmlw_src_get_type'
[ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:59: undefined reference to bmlw_transform_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:60: undefined reference tobmlw_v_get_type'

See: https://pmbs.links2linux.de/build/home:awissu:branches:Extra/openSUSE_13.2/x86_64/buzztrax/_log

@ensonic
Copy link
Member

ensonic commented Dec 21, 2015

Unrelated but interesting, you are building from git, but:

[  160s] /bin/sh: line 3: git: command not found

The linker issue is weird though. I can see from the log that the build step links against ../../../libgstbml.la which in turn contains e.g.: libgstbmln.la libbml.la.

For me this part of the build looks like this:

libtool: compile:  gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -I../../../src/lib -I../../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/alsa -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -D__SSE__ -D__MMX__ -O0 -Wall -Werror -g -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGST_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -c buzztrax-gst-scan.c  -fPIC -DPIC -o .libs/buzztrax-gst-scan.o

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libbuzztraxaudio.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libbuzztraxdec.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libgstbml.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libgstfluidsynth.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libgstsidsyn.so is not portable!
libtool: link: gcc -g -O2 .libs/buzztrax-gst-scan.o -pthread -Wl,--export-dynamic -o .libs/buzztrax-gst-scan  ../../../.libs/libbuzztrax-gst.so ../../../.libs/libbuzztraxaudio.so ../../../.libs/libbuzztraxdec.so ../../../.libs/libgstbml.so ../../../.libs/libgstfluidsynth.so ../../../.libs/libgstsidsyn.so -lgthread-2.0 -lgmodule-2.0 -lgio-2.0 /usr/lib/x86_64-linux-gnu/libgstcontroller-1.0.so /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so -lm /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so -lasound -lgudev-1.0 -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 -pthread -Wl,-rpath -Wl,/home/ensonic/buzztrax/lib -Wl,-rpath -Wl,/home/ensonic/buzztrax/lib/gstreamer-1.0
touch scan-build.stamp

I'll try building this on some other linuxes as well.

@ensonic
Copy link
Member

ensonic commented Dec 22, 2015

I did some build on suse 13.2 with various configure flags and I can't reproduce this :/ I also created a build.opensuse.org and if you can share what it takes to build the project there (= replicate your setup) I try that.

@awissu
Copy link
Author

awissu commented Dec 22, 2015

@ensonic
Copy link
Member

ensonic commented Jan 2, 2016

FYI.: I have a home project with builds online at
https://build.opensuse.org/package/show/home:ensonic/buzztrax
I'll need to learn more about osc to see if I can easilly do variants of the package with options enabled/disabled.

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