[Bug 656092] New: Commandline specified in "compilling helloworld" does not work on new gcc
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Aug 6 16:39:52 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=656092
GStreamer | documentation | unspecified
Summary: Commandline specified in "compilling helloworld" does
not work on new gcc
Classification: Platform
Product: GStreamer
Version: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: documentation
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: www at saepia.net
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Ubuntu 11.10 (oneiric, currently at alpha stage) uses gcc 4.6.
It requires to pass objects commandline arguments before libraries. It means
that current command specified in the "Compiling and Running helloworld.c"
chapter:
gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) helloworld.c -o
helloworld
results in a bunch of "undefined reference" linker errors while
gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs
gstreamer-0.10)
works well.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list