[gstreamer-bugs] [Bug 516511] New: gstapev2mux.cc taglib build failure on Solaris with Sun C++

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 14 10:05:30 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=516511

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: gstapev2mux.cc taglib build failure on Solaris with Sun
                    C++
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mooney at dogbert.cc.ndsu.nodak.edu
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I'm building gst-plugins-good from CVS on x86_64-sun-solaris2.10 with the Sun
Workshop 12 C and C++ compilers.

After I work around the issue I reported in bug # 516509 using "make
ERROR_CFLAGS=" in ext/taglib, the compile proceeds to gstapev2mux.cc, where I
encounter the following errors:

/bin/bash ../../libtool --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I.
-I../..   -I/local/include/X11 -I/local/include -I/local/gnu/include/X11
-I/local/gnu/include -D_REENTRANT -D_PTHREADS
-I/local/gnu/include/gstreamer-0.10 -I/local/gnu/include/glib-2.0
-I/local/gnu/lib/64/glib-2.0/include -I/local/gnu/include/libxml2  
-I../../gst-libs -I../../gst-libs -D_REENTRANT -D_PTHREADS
-I/local/gnu/include/gstreamer-0.10 -I/local/gnu/include/glib-2.0
-I/local/gnu/lib/64/glib-2.0/include -I/local/gnu/include/libxml2     -g   
-I/local/include/taglib   -xO2 -library=stlport4 -library=Crun
-D__func__=\"unknown\" -KPIC -m64 -xtarget=native -xarch=native -c -o
libgsttaglib_la-gstapev2mux.lo `test -f 'gstapev2mux.cc' || echo
'./'`gstapev2mux.cc
 CC -DHAVE_CONFIG_H -I. -I../.. -I/local/include/X11 -I/local/include
-I/local/gnu/include/X11 -I/local/gnu/include -D_REENTRANT -D_PTHREADS
-I/local/gnu/include/gstreamer-0.10 -I/local/gnu/include/glib-2.0
-I/local/gnu/lib/64/glib-2.0/include -I/local/gnu/include/libxml2
-I../../gst-libs -I../../gst-libs -D_REENTRANT -D_PTHREADS
-I/local/gnu/include/gstreamer-0.10 -I/local/gnu/include/glib-2.0
-I/local/gnu/lib/64/glib-2.0/include -I/local/gnu/include/libxml2 -g
-I/local/include/taglib -xO2 -library=stlport4 -library=Crun
-D__func__=\"unknown\" -KPIC -m64 -xtarget=native -xarch=native -c
gstapev2mux.cc  -DPIC
"gstapev2mux.cc", line 73: Warning (Anachronism): Formal argument base_init of
type extern "C" void(*)(void*) in call to
gst_type_register_static_full(unsigned long, const char*, unsigned, extern "C"
void(*)(void*), extern "C" void(*)(void*), extern "C" void(*)(void*,void*),
extern "C" void(*)(void*,void*), const void*, unsigned, unsigned short, extern
"C" void(*)(_GTypeInstance*,void*), const _GTypeValueTable*, GTypeFlags) is
being passed void(*)(void*).
"gstapev2mux.cc", line 73: Warning (Anachronism): Formal argument class_init of
type extern "C" void(*)(void*,void*) in call to
gst_type_register_static_full(unsigned long, const char*, unsigned, extern "C"
void(*)(void*), extern "C" void(*)(void*), extern "C" void(*)(void*,void*),
extern "C" void(*)(void*,void*), const void*, unsigned, unsigned short, extern
"C" void(*)(_GTypeInstance*,void*), const _GTypeValueTable*, GTypeFlags) is
being passed void(*)(void*,void*).
"gstapev2mux.cc", line 98: Warning (Anachronism): Assigning
_GstBuffer*(*)(_GstTagLibMux*,_GstStructure*) to extern "C"
_GstBuffer*(*)(_GstTagLibMux*,_GstStructure*).
"gstapev2mux.cc", line 123: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 123: Error: Formal argument s of type const
TagLib::String& in call to TagLib::APE::Tag::setTitle(const TagLib::String&) is
being passed int.
"gstapev2mux.cc", line 132: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 132: Error: Formal argument s of type const
TagLib::String& in call to TagLib::APE::Tag::setAlbum(const TagLib::String&) is
being passed int.
"gstapev2mux.cc", line 141: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 141: Error: Formal argument s of type const
TagLib::String& in call to TagLib::APE::Tag::setArtist(const TagLib::String&)
is being passed int.
"gstapev2mux.cc", line 150: Error: Could not find a match for
TagLib::String::String(const char[9], TagLib::String::Type) needed in
add_one_tag(const _GstStructure*, const char*, void*).
"gstapev2mux.cc", line 150: Error: Formal argument key of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 151: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 151: Error: Formal argument value of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 160: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 160: Error: Formal argument s of type const
TagLib::String& in call to TagLib::APE::Tag::setGenre(const TagLib::String&) is
being passed int.
"gstapev2mux.cc", line 169: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 169: Error: Formal argument s of type const
TagLib::String& in call to TagLib::APE::Tag::setComment(const TagLib::String&)
is being passed int.
"gstapev2mux.cc", line 198: Error: Could not find a match for
TagLib::String::String(const char[6], TagLib::String::Type) needed in
add_one_tag(const _GstStructure*, const char*, void*).
"gstapev2mux.cc", line 198: Error: Formal argument key of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 199: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 199: Error: Formal argument value of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 216: Error: Could not find a match for
TagLib::String::String(const char[6], TagLib::String::Type) needed in
add_one_tag(const _GstStructure*, const char*, void*).
"gstapev2mux.cc", line 216: Error: Formal argument key of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 217: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
"gstapev2mux.cc", line 217: Error: Formal argument value of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 269: Error: Could not find a match for
TagLib::String::String(const char[10], TagLib::String::Type) needed in
add_one_tag(const _GstStructure*, const char*, void*).
"gstapev2mux.cc", line 269: Error: Formal argument key of type const
TagLib::String& in call to TagLib::APE::Tag::addValue(const TagLib::String&,
const TagLib::String&, bool) is being passed int.
"gstapev2mux.cc", line 270: Error: Could not find a match for
TagLib::String::String(char*, TagLib::String::Type) needed in add_one_tag(const
_GstStructure*, const char*, void*).
Compilation aborted, too many Error messages.
gmake: *** [libgsttaglib_la-gstapev2mux.lo] Error 1


I have taglib 1.5b1 installed.  My C is OK, but I'm afraid my C++ is weak, so
although I know in principle what the compiler is saying, I don't know what the
right approach to fixing it is.

I'm willing to do some experimentation, if someone can point me in a suggested
direction.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=516511.




More information about the Gstreamer-bugs mailing list