Re: Writting 16-bit PCM data to Ogg.

Arun Balaji Prithivi Raj <[email protected]> Mon, 18 May 2015 23:42:47 -0400
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Message-ID <CAL977CPvLHDYPhKiwvm_2k8xrLbH6uD3bUV7OTFPQL+Y+mUcbg@mail.gmail.com>
--===============1427408461==
Content-Type: multipart/alternative; boundary=089e013d19229936240516671aef

--089e013d19229936240516671aef
Content-Type: text/plain; charset=UTF-8

I did the following steps, but still the problem persists.

1) checkout on a separate repo.
            svn checkout https://svn.xiph.org/trunk/vorbis/ ~/vorbis_svn
2)  ./configure
3)  ./autogen.sh
4)  make
5)  sudo make install
6)  cd examples/
7)  make

At step 7, I am getting the below error.
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -O3 -Wall -Wextra
-ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement
 -DUSE_MEMORY_H   -o decoder_example decoder_example.o ../lib/libvorbis.la
libtool: link: gcc -O3 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char
-Wdeclaration-after-statement -DUSE_MEMORY_H -o .libs/decoder_example
decoder_example.o  ../lib/.libs/libvorbis.so
/usr/bin/ld: decoder_example.o: undefined reference to symbol
'ogg_stream_packetout'
//usr/local/lib/libogg.so.0: error adding symbols: DSO missing from command
line
collect2: error: ld returned 1 exit status
make: *** [decoder_example] Error 1

Please help me in getting this work done.



On Mon, May 18, 2015 at 11:23 PM, Erik de Castro Lopo <[email protected]>
wrote:

> Arun Balaji Prithivi Raj wrote:
>
> > When I compiled the '*encoder_example.c'* file present in the above git
> > repo,  I am getting this error message.
>
> Please do not send screen shots to the mailing list. Copying the text
> and pasting that would have been more than sufficient and actually
> easier to read.
>
> Obivously, it is not possible to compile encode_example.c the way you
> tried. This tutorial
>
>     http://www.thegeekstuff.com/2012/06/install-from-source/
>
> and others like it should get you to a point wherre you can compile
> this from source.
>
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Vorbis-dev mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/vorbis-dev
>

--089e013d19229936240516671aef
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I did the following steps, but still the problem pers=
ists.</div><div><br></div>1) checkout on a separate repo.=C2=A0<div><div>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 svn checkout <a href=3D"https://s=
vn.xiph.org/trunk/vorbis/">https://svn.xiph.org/trunk/vorbis/</a> ~/vorbis_=
svn</div></div><div>2) =C2=A0./configure<br></div><div>3) =C2=A0./autogen.s=
h=C2=A0</div><div>4) =C2=A0make</div><div>5) =C2=A0sudo make install</div><=
div>6) =C2=A0cd examples/</div><div>7) =C2=A0make</div><div><br></div><div>=
At step 7, I am getting the below error.=C2=A0</div><div><div>/bin/bash ../=
libtool =C2=A0--tag=3DCC =C2=A0 --mode=3Dlink gcc =C2=A0-O3 -Wall -Wextra -=
ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-after-statement =C2=A0-=
DUSE_MEMORY_H =C2=A0 -o decoder_example decoder_example.o ../lib/<a href=3D=
"http://libvorbis.la">libvorbis.la</a> =C2=A0</div><div>libtool: link: gcc =
-O3 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char -Wdeclaration-afte=
r-statement -DUSE_MEMORY_H -o .libs/decoder_example decoder_example.o =C2=
=A0../lib/.libs/libvorbis.so</div><div>/usr/bin/ld: decoder_example.o: unde=
fined reference to symbol &#39;ogg_stream_packetout&#39;</div><div>//usr/lo=
cal/lib/libogg.so.0: error adding symbols: DSO missing from command line</d=
iv><div>collect2: error: ld returned 1 exit status</div><div>make: *** [dec=
oder_example] Error 1</div></div><div><br></div><div>Please help me in gett=
ing this work done.=C2=A0</div><div><br></div><div><br></div></div><div cla=
ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, May 18, 2015 at 1=
1:23 PM, Erik de Castro Lopo <span dir=3D"ltr">&lt;<a href=3D"mailto:mle+la=
@mega-nerd.com" target=3D"_blank">[email protected]</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><span class=3D"">Arun Balaji Prithivi R=
aj wrote:<br>
<br>
</span>&gt; When I compiled the &#39;*encoder_example.c&#39;* file present =
in the above git<br>
<span class=3D"im HOEnZb">&gt; repo,=C2=A0 I am getting this error message.=
<br>
<br>
</span><span class=3D"im HOEnZb">Please do not send screen shots to the mai=
ling list. Copying the text<br>
and pasting that would have been more than sufficient and actually<br>
easier to read.<br>
<br>
Obivously, it is not possible to compile encode_example.c the way you<br>
tried. This tutorial<br>
<br>
=C2=A0 =C2=A0 <a href=3D"http://www.thegeekstuff.com/2012/06/install-from-s=
ource/" target=3D"_blank">http://www.thegeekstuff.com/2012/06/install-from-=
source/</a><br>
<br>
and others like it should get you to a point wherre you can compile<br>
this from source.<br>
<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">Erik<br>
--<br>
----------------------------------------------------------------------<br>
Erik de Castro Lopo<br>
<a href=3D"http://www.mega-nerd.com/" target=3D"_blank">http://www.mega-ner=
d.com/</a><br>
_______________________________________________<br>
Vorbis-dev mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"http://lists.xiph.org/mailman/listinfo/vorbis-dev" target=3D"_bl=
ank">http://lists.xiph.org/mailman/listinfo/vorbis-dev</a><br>
</div></div></blockquote></div><br></div>

--089e013d19229936240516671aef--

--===============1427408461==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Vorbis-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/vorbis-dev

--===============1427408461==--