Hi,
I’m trying to build gstreamer1 in a pkgsrc build environment
on a Solaris 10 sparc machine using gcc. I've never built gstreamer1 before so I may be missing some simple gotchya so bear with me :) ... My environment has worked for a quite a few packages thus far.
Anyways, I am getting this error and can't find a workaround:
==
g-ir-scanner: link: ~/pkg/bin/pdksh ../../../libtool --mode=link --tag=CC gcc -std=gnu99 -o ~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/GstBase-1.0 -export-dynamic -I~/pkg/include -I/usr/include -O2 -I~/pkg/include -I/usr/include -L~/pkg/lib -Wl,-R~/pkg/lib -L/usr/lib -Wl,-R/usr/lib ~~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/GstBase-1.0.o -L. libgstbase-1.0.la -L../../../gst -L~/pkg/lib -Wl,-R~/pkg/lib -lgio-2.0 -Wl,-R~/pkg/lib -lgmodule-2.0 -lpthread -lthread ~~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/gst/libgstreamer-1.0.la -Wl,-R~/pkg/lib -lgobject-2.0 -Wl,-R~/pkg/lib -lglib-2.0 –lintl
libtool: link: gcc -std=gnu99 -o ~~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/.libs/GstBase-1.0 -I~/pkgsrc/multimedia/gstreamer1/work/.buildlink/include -O2 -Wl,-R~/pkg/lib ~~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/GstBase-1.0.o -L~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/gst/.libs -L~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib -L. ./.libs/libgstbase-1.0.so -L../../../gst ~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libgio-2.0.so -lz -lresolv ~~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/gst/.libs/libgstreamer-1.0.so ~~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libgmodule-2.0.so -lm -ldl ~~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libgobject-2.0.so ~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libffi.so ~~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libglib-2.0.so ~~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libpcre.so -lrt -lpthread -lthread -lnsl -lsocket ~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libintl.so ~~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib/libiconv.so -lc -R~/pkg/lib -R~/pkgsrc/multimedia/gstreamer1/work/.buildlink/lib
Undefined first referenced
symbol in file
_gst_meta_tag_memory ./.libs/libgstbase-1.0.so
_gst_meta_transform_copy ./.libs/libgstbase-1.0.so
ld: fatal: symbol referencing errors. No output written to ~~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/.libs/GstBase-1.0
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['~/pkg/bin/pdksh', '../../../libtool', '--mode=link', '--tag=CC', 'gcc', '-std=gnu99', '-o', '~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/GstBase-1.0', '-export-dynamic', '-I~/pkg/include', '-I/usr/include', '-O2', '-I~/pkg/include', '-I/usr/include', '-L~/pkg/lib', '-Wl,-R~/pkg/lib', '-L/usr/lib', '-Wl,-R/usr/lib', '~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base/tmp-introspectjmneLz/GstBase-1.0.o', '-L.', 'libgstbase-1.0.la', '-L../../../gst', '-L~/pkg/lib', '-Wl,-R~/pkg/lib', '-lgio-2.0', '-Wl,-R~/pkg/lib', '-lgmodule-2.0', '-lpthread', '-lthread', '~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/gst/libgstreamer-1.0.la', '-Wl,-R~/pkg/lib', '-lgobject-2.0', '-Wl,-R~/pkg/lib', '-lglib-2.0', '-lintl']' returned non-zero exit status 1
gmake[4]: *** [GstBase-1.0.gir] Error 1
gmake[4]: Leaving directory `~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst/base'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs/gst'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5/libs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `~/pkgsrc/multimedia/gstreamer1/work/gstreamer-1.4.5'
gmake: *** [all] Error 2
*** Error code 2
Stop.bmake: stopped in ~/pkgsrc/multimedia/gstreamer1
*** Error code 1
Stop.
bmake: stopped in ~/pkgsrc/multimedia/gstreamer1
==
Would you guys happen to know what might be causing this or what I might be able to try to get around it?
Thanks!