[gstreamer-bugs] [Bug 303936] New: should use g++ to link with cpp code

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu May 12 09:58:37 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=303936
 GStreamer | gst-plugins | Ver: 0.8.8

           Summary: should use g++ to link with cpp code
           Product: GStreamer
           Version: 0.8.8
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: seb128 at debian.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Building with gcc-4.0 and g++-3.3

"cc -shared  .libs/libgsttrm_la-gsttrm.o  -L/usr/lib -pthread
/usr/lib/libgstreamer-0.8.so -lmusicbrainz -lstdc++ -lm  -Wl,--export-dynamic
-Wl,-soname -Wl,libgsttrm.so -Wl,-version-script -Wl,.libs/libgsttrm.ver -o
.libs/libgsttrm.so
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[3]: *** [libgsttrm.la] Error 1"

according to a discussion, with a Debian/Ubuntu maintainer, on IRC:

"The problem is you're using "gcc -lstdc++" which is a) wrong, and b) won't work
when gcc and g++ are mismatched (as they currently are in breezy, 4.0 versus 3.3)
...
If they're pure C applications linking with C++ libs, link with g++."

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list