After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326683 - build problem caused by AS_LIBTOOL_TAGS([CXX])
build problem caused by AS_LIBTOOL_TAGS([CXX])
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other opensolaris
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 324367 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-12 04:07 UTC by Brian Cameron
Modified: 2006-01-19 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix the build (357 bytes, patch)
2006-01-12 04:08 UTC, Brian Cameron
committed Details | Review

Description Brian Cameron 2006-01-12 04:07:53 UTC
I notice a problem when I try to build gst-plugins-good.  Because AS_LIBTOOL_TAGS has ([CXX]) as an argument, it tries to use the C++ compiler for doing the 
following "nm" check in configure.

checking command to parse /usr/ccs/bin/nm -p output from $compiler object

But the problem is that if this command ends up compiling a test program and the compile program it ends up generating uses the C++ compiler but the CFLAGS I have set up, which isn't valid for the C++ compiler.

This causes configure to think it fails, and the generated libtool doesn't set global_symbol_pipe right, and the module build breaks when it tries to link.

I'm attaching a simple patch that removes the "([CXX])" from this macro, which makes things work better.  I notice that this is how the gst-plugins-base works.  I don't know why we are specifying using the C++ compiler here since gst-plugins-good doesn't even have any C++ code in it.

Can this patch go into the build?  Otherwise we'll need to patch the code locally with this change to get gst-plugins-good to build with out build system.
Comment 1 Brian Cameron 2006-01-12 04:08:48 UTC
Created attachment 57190 [details] [review]
patch to fix the build

God it took me forever (about 2 days) to figure out what was causing this problem.  What a headache.  :)
Comment 2 Tim-Philipp Müller 2006-01-19 21:04:33 UTC
Applied, thanks!

2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>

        * configure.ac:
          Use plain AS_LIBTOOL_TAGS instead of AS_LIBTOOL_TAGS([CXX]), just
          like in the core and gst-plugins-base. Fixes build on Solaris (fixes
          #326683; patch by: Brian Cameron <brian dot cameron at sun dot com>)

Comment 3 Tim-Philipp Müller 2006-01-19 21:51:13 UTC
*** Bug 324367 has been marked as a duplicate of this bug. ***