make failure with gstreamer 0.10.0 on Solaris x86

Daddu <[email protected]> Wed, 7 Dec 2005 23:01:42 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.daily
Message-ID <[email protected]>
Hi,

I have Solaris 5.11 snv_23 build installed on my
laptopl. I am trying to build gstreamer 0.10.0 and it
is failing at make.

[email protected] # make
make  all-recursive
Making all in gst
glib-mkenums \
--fhead "#ifndef __GST_ENUM_TYPES_H__\n#define
__GST_ENUM_TYPES_H__\n\n#include
<glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "\n/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define
GST_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"     =20
  \
--ftail "G_END_DECLS\n\n#endif /* __GST_ENUM_TYPES_H__
*/" \
gst.h glib-compat.h gstobject.h gstbin.h gstbuffer.h
gstbus.h gstcaps.h gstchildproxy.h gstclock.h
gstcompat.h gstelement.h gstelementfactory.h
gsterror.h gstevent.h gstfilter.h gstformat.h
gstghostpad.h gstindex.h gstindexfactory.h gstinfo.h
gstinterface.h gstiterator.h gstmacros.h gstmessage.h
gstminiobject.h gstpad.h gstpadtemplate.h
gstpipeline.h gstplugin.h gstpluginfeature.h
gstquery.h gstsegment.h gststructure.h
gstsystemclock.h gsttaglist.h gsttagsetter.h gsttask.h
gsttrace.h gsttypefind.h gsttypefindfactory.h gsturi.h
gstutils.h gstvalue.h gstregistry.h gstparse.h
gstxml.h > gstenumtypes.h
glib-genmarshal --header --prefix=3Dgst_marshal
./gstmarshal.list > gstmarshal.h.tmp
mv gstmarshal.h.tmp gstmarshal.h
glib-mkenums \
--fhead "#include \"gst_private.h\"\n#include
<gst/gst.h>" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "static void\nregister_@enum_name@ (GType*
id)\n{\n  static const G@Type@Value values[] =3D {"   =20
\
--vprod "    { @VALUENAME@, \"@VALUENAME@\",
\"@valuenick@\" }," \
--vtail "    { 0, NULL, NULL }\n  };\n  *id =3D
g_@type@_register_static (\"@EnumName@\",
values);\n}\nGType\n@enum_name@_get_type (void)\n{\n=20
static GType id;\n  static GOnce once =3D
G_ONCE_INIT;\n\n  g_once (&once,
(GThreadFunc)register_@enum_name@, &id);\n  return
id;\n}\n" \
gst.h glib-compat.h gstobject.h gstbin.h gstbuffer.h
gstbus.h gstcaps.h gstchildproxy.h gstclock.h
gstcompat.h gstelement.h gstelementfactory.h
gsterror.h gstevent.h gstfilter.h gstformat.h
gstghostpad.h gstindex.h gstindexfactory.h gstinfo.h
gstinterface.h gstiterator.h gstmacros.h gstmessage.h
gstminiobject.h gstpad.h gstpadtemplate.h
gstpipeline.h gstplugin.h gstpluginfeature.h
gstquery.h gstsegment.h gststructure.h
gstsystemclock.h gsttaglist.h gsttagsetter.h gsttask.h
gsttrace.h gsttypefind.h gsttypefindfactory.h gsturi.h
gstutils.h gstvalue.h gstregistry.h gstparse.h
gstxml.h > gstenumtypes.c
echo "#include \"gst_private.h\"" > gstmarshal.c.tmp
echo "#include \"glib-object.h\"" >> gstmarshal.c.tmp
echo "#include \"gstmarshal.h\"" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=3Dgst_marshal
./gstmarshal.list >> gstmarshal.c.tmp
mv gstmarshal.c.tmp gstmarshal.c
make  all-recursive
Making all in parse
/usr/sfw/bin/flex -P_gst_parse_yy parse.l
grammar.tab.h
if /bin/bash ../../libtool --tag=3DCC --mode=3Dcompile gcc
-DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include
-I../../libs -I../.. -I../.. -D_REENTRANT
-D_SOLARIS_THREADS -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 =20
-Wall  -g   -DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstparse_la-lex._gst_parse_yy.lo -MD -MP -MF
".deps/libgstparse_la-lex._gst_parse_yy.Tpo" -c -o
libgstparse_la-lex._gst_parse_yy.lo `test -f
'lex._gst_parse_yy.c' || echo
'./'`lex._gst_parse_yy.c; \
then mv -f
".deps/libgstparse_la-lex._gst_parse_yy.Tpo"
".deps/libgstparse_la-lex._gst_parse_yy.Plo"; else rm
-f ".deps/libgstparse_la-lex._gst_parse_yy.Tpo"; exit
1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I../../libs -I../.. -I../..
-D_REENTRANT -D_SOLARIS_THREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -Wall -g
-DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstparse_la-lex._gst_parse_yy.lo -MD -MP -MF
.deps/libgstparse_la-lex._gst_parse_yy.Tpo -c
lex._gst_parse_yy.c  -fPIC -DPIC -o
.libs/libgstparse_la-lex._gst_parse_yy.o
In file included from ../gst_private.h:28,
                 from parse.l:7:
../../config.h:212:1: warning: "_FILE_OFFSET_BITS"
redefined
In file included from
/usr/include/iso/stdarg_c99.h:34,
                 from /usr/include/stdarg.h:33,
                 from
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/stdio.h:14,
                 from lex._gst_parse_yy.c:28:
/usr/include/sys/feature_tests.h:188:1: warning: this
is the location of the previous definition
 gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I../../libs -I../.. -I../..
-D_REENTRANT -D_SOLARIS_THREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -Wall -g
-DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstparse_la-lex._gst_parse_yy.lo -MD -MP -MF
.deps/libgstparse_la-lex._gst_parse_yy.Tpo -c
lex._gst_parse_yy.c -o
libgstparse_la-lex._gst_parse_yy.o >/dev/null 2>&1
/usr/local/bin/bison -d -v -p_gst_parse__yy
./grammar.y -o grammar.tab.c
./grammar.y: conflicts: 42 shift/reduce, 5
reduce/reduce
if /bin/bash ../../libtool --tag=3DCC --mode=3Dcompile gcc
-DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include
-I../../libs -I../.. -I../.. -D_REENTRANT
-D_SOLARIS_THREADS -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 =20
-Wall  -g   -DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstparse_la-grammar.tab.lo -MD -MP -MF
".deps/libgstparse_la-grammar.tab.Tpo" -c -o
libgstparse_la-grammar.tab.lo `test -f 'grammar.tab.c'
|| echo './'`grammar.tab.c; \
then mv -f ".deps/libgstparse_la-grammar.tab.Tpo"
".deps/libgstparse_la-grammar.tab.Plo"; else rm -f
".deps/libgstparse_la-grammar.tab.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I../../libs -I../.. -I../..
-D_REENTRANT -D_SOLARIS_THREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -Wall -g
-DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstparse_la-grammar.tab.lo -MD -MP -MF
.deps/libgstparse_la-grammar.tab.Tpo -c grammar.tab.c=20
-fPIC -DPIC -o .libs/libgstparse_la-grammar.tab.o
In file included from ../gst_private.h:28,
                 from ./grammar.y:8:
../../config.h:212:1: warning: "_FILE_OFFSET_BITS"
redefined
In file included from /usr/include/limits.h:18,
                 from
/usr/lib/glib-2.0/include/glibconfig.h:11,
                 from
/usr/include/glib-2.0/glib/gtypes.h:30,
                 from
/usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from
/usr/include/glib-2.0/gobject/gtype.h:26,
                 from
/usr/include/glib-2.0/gobject/gboxed.h:26,
                 from
/usr/include/glib-2.0/glib-object.h:25,
                 from ./grammar.y:2:
/usr/include/sys/feature_tests.h:188:1: warning: this
is the location of the previous definition
 gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include -I../../libs -I../.. -I../..
-D_REENTRANT -D_SOLARIS_THREADS
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -Wall -g
-DGST_DISABLE_DEPRECATED -g -O2 -MT
libgstparse_la-grammar.tab.lo -MD -MP -MF
.deps/libgstparse_la-grammar.tab.Tpo -c grammar.tab.c
-o libgstparse_la-grammar.tab.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=3DCC --mode=3Dlink gcc  -g
-O2    -o libgstparse.la
libgstparse_la-lex._gst_parse_yy.lo=20
libgstparse_la-grammar.tab.lo -lgobject-2.0
-lgthread-2.0 -lthread -lgmodule-2.0 -lglib-2.0
false cru .libs/libgstparse.a
.libs/libgstparse_la-lex._gst_parse_yy.o
.libs/libgstparse_la-grammar.tab.o
*** Error code 1
make: Fatal error: Command failed for target
`libgstparse.la'
Current working directory
/tmp/gstreamer-0.10.0/gst/parse
*** Error code 1
The following command caused the error:
failcom=3D'exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=3D* | --[!k]*);; \
    *k*) failcom=3D'fail=3Dyes';; \
  esac; \
done; \
dot_seen=3Dno; \
target=3D`echo all-recursive | sed s/-recursive//`; \
list=3D'parse'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" =3D "."; then \
    dot_seen=3Dyes; \
    local_target=3D"$target-am"; \
  else \
    local_target=3D"$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" =3D "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target
`all-recursive'
Current working directory /tmp/gstreamer-0.10.0/gst
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/gstreamer-0.10.0/gst
*** Error code 1
The following command caused the error:
failcom=3D'exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=3D* | --[!k]*);; \
    *k*) failcom=3D'fail=3Dyes';; \
  esac; \
done; \
dot_seen=3Dno; \
target=3D`echo all-recursive | sed s/-recursive//`; \
list=3D'gst libs plugins tools tests  docs  pkgconfig po
 common'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" =3D "."; then \
    dot_seen=3Dyes; \
    local_target=3D"$target-am"; \
  else \
    local_target=3D"$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" =3D "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target
`all-recursive'
Current working directory /tmp/gstreamer-0.10.0
*** Error code 1
make: Fatal error: Command failed for target `all'
[email protected] #



If i go inside the gst/parse folder and run make , i
get the following errors..

[email protected] # make
/bin/bash ../../libtool --tag=3DCC --mode=3Dlink gcc  -g
-O2    -o libgstparse.la
libgstparse_la-lex._gst_parse_yy.lo=20
libgstparse_la-grammar.tab.lo -lgobject-2.0
-lgthread-2.0 -lthread -lgmodule-2.0 -lglib-2.0
false cru .libs/libgstparse.a
.libs/libgstparse_la-lex._gst_parse_yy.o
.libs/libgstparse_la-grammar.tab.o
*** Error code 1
make: Fatal error: Command failed for target
`libgstparse.la'
[email protected] #



Any help would be welcome.

Rgds,
Arvinder




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick