Re: [hacking-0.26] error when compiling gst-plugins-0.6.2



> 
> Making all in mpeg1enc
> make[6]: Entering directory
> `/home/garnome/hacking-0.26.0/gnome/gst-plugins/work/main.d/gst-plugins-0.6.2/gst/mpeg1enc'
> /bin/sh ../../libtool --mode=link ccache gcc-3.3  -O2 -g 
> -L/home/gar/lib -L/usr/X11R6/lib -o libgstmpeg1encoder.la -rpath
> /home/gar/lib/gstreamer-0.6 -module -avoid-version
> libgstmpeg1encoder_la-chendct.lo libgstmpeg1encoder_la-codec.lo
> libgstmpeg1encoder_la-huffman.lo libgstmpeg1encoder_la-io.lo
> libgstmpeg1encoder_la-marker.lo libgstmpeg1encoder_la-me.lo
> libgstmpeg1encoder_la-mem.lo libgstmpeg1encoder_la-mpeg.lo
> libgstmpeg1encoder_la-putbits.lo libgstmpeg1encoder_la-stat.lo
> libgstmpeg1encoder_la-stream.lo libgstmpeg1encoder_la-transform.lo
> libgstmpeg1encoder_la-gstmpeg1encoder.lo
> rm -fr .libs/libgstmpeg1encoder.la .libs/libgstmpeg1encoder.*
> .libs/libgstmpeg1encoder.*
> ccache gcc-3.3 -shared  libgstmpeg1encoder_la-chendct.lo
> libgstmpeg1encoder_la-codec.lo libgstmpeg1encoder_la-huffman.lo
> libgstmpeg1encoder_la-io.lo libgstmpeg1encoder_la-marker.lo
> libgstmpeg1encoder_la-me.lo libgstmpeg1encoder_la-mem.lo
> libgstmpeg1encoder_la-mpeg.lo libgstmpeg1encoder_la-putbits.lo
> libgstmpeg1encoder_la-stat.lo libgstmpeg1encoder_la-stream.lo
> libgstmpeg1encoder_la-transform.lo
> libgstmpeg1encoder_la-gstmpeg1encoder.lo  -L/home/gar/lib
> -L/usr/X11R6/lib  -Wl,-soname -Wl,libgstmpeg1encoder.so -o
> .libs/libgstmpeg1encoder.so
> libgstmpeg1encoder_la-mpeg.lo: file not recognized: Memory exhausted
> collect2: ld returned 1 exit status
> make[6]: *** [libgstmpeg1encoder.la] Error 1
> make[6]: Leaving directory
> `/home/garnome/hacking-0.26.0/gnome/gst-plugins/work/main.d/gst-plugins-0.6.2/gst/mpeg1enc'

Ok, i found out the problem, i don't know whether its gcc-3.3 related or
not, but the problem appears in every gst subdir.

all is needed to do is to replace
CFLAGS = -O2 -g
by
CFLAGS = -g -O2

in every Makefiles
and it compiles well after ...

-- 
Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]