Re: Writting 16-bit PCM data to Ogg.
Arun Balaji Prithivi Raj <[email protected]> Mon, 18 May 2015 20:51:30 -0400
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <CAL977CMGpJ=oV=KTVZ-a1wR00+N2ccftH7kvA8bwcm3R8EWs0g@mail.gmail.com> |
--===============1743066370== Content-Type: multipart/alternative; boundary=001a11c33dec08aebe051664b632 --001a11c33dec08aebe051664b632 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry. I have never executed the *make install* in root mode. Finally now I am able to successfully installed all these three libraries ( *libogg-1.3.2, libvorbis-1.3.4, **vorbis-tools-1.4.0)* Now when I go to https://github.com/xiph/vorbis/tree/master/examples Git and compile encoder_example. c I am getting this error. /tmp/ccPVMmO6.o: In function `main': encoder_example.c:(.text+0xe7): undefined reference to `vorbis_info_init' encoder_example.c:(.text+0x108): undefined reference to `vorbis_encode_init_vbr' encoder_example.c:(.text+0x130): undefined reference to `vorbis_comment_init' encoder_example.c:(.text+0x149): undefined reference to `vorbis_comment_add_tag' encoder_example.c:(.text+0x162): undefined reference to `vorbis_analysis_init' encoder_example.c:(.text+0x17b): undefined reference to `vorbis_block_init' encoder_example.c:(.text+0x1a4): undefined reference to `ogg_stream_init' encoder_example.c:(.text+0x1d2): undefined reference to `vorbis_analysis_headerout' encoder_example.c:(.text+0x1eb): undefined reference to `ogg_stream_packetin' encoder_example.c:(.text+0x204): undefined reference to `ogg_stream_packetin' encoder_example.c:(.text+0x21d): undefined reference to `ogg_stream_packetin' encoder_example.c:(.text+0x238): undefined reference to `ogg_stream_flush' encoder_example.c:(.text+0x2e4): undefined reference to `vorbis_analysis_wrote' encoder_example.c:(.text+0x2fd): undefined reference to `vorbis_analysis_buffer' encoder_example.c:(.text+0x429): undefined reference to `vorbis_analysis_wrote' encoder_example.c:(.text+0x442): undefined reference to `vorbis_analysis' encoder_example.c:(.text+0x451): undefined reference to `vorbis_bitrate_addblock' encoder_example.c:(.text+0x46f): undefined reference to `ogg_stream_packetin' encoder_example.c:(.text+0x48d): undefined reference to `ogg_stream_pageout= ' encoder_example.c:(.text+0x4f7): undefined reference to `ogg_page_eos' encoder_example.c:(.text+0x52b): undefined reference to `vorbis_bitrate_flushpacket' encoder_example.c:(.text+0x54c): undefined reference to `vorbis_analysis_blockout' encoder_example.c:(.text+0x571): undefined reference to `ogg_stream_clear' encoder_example.c:(.text+0x580): undefined reference to `vorbis_block_clear= ' encoder_example.c:(.text+0x58f): undefined reference to `vorbis_dsp_clear' encoder_example.c:(.text+0x59e): undefined reference to `vorbis_comment_clear' encoder_example.c:(.text+0x5ad): undefined reference to `vorbis_info_clear' collect2: error: ld returned 1 exit status On Mon, May 18, 2015 at 8:43 PM, Arun Balaji Prithivi Raj < [email protected]> wrote: > sorry for the mess created. > > So far I have installed these two library *libogg-1.3.2, libvorbis-1.3.4* > successfully. > When installing this *vorbis-tools-1.4.0 *: I am getting this error. > > Making install in man > make[2]: Entering directory > `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man' > make[3]: Entering directory > `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/usr/local/share/man/man1" || mkdir -p -- > "/usr/local/share/man/man1" > /usr/bin/install -c -m 644 './oggenc.1' > '/usr/local/share/man/man1/oggenc.1' > /usr/bin/install: cannot create regular file > =E2=80=98/usr/local/share/man/man1/oggenc.1=E2=80=99: Permission denied > make[3]: *** [install-man1] Error 1 > make[3]: Leaving directory > `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc' > make: *** [install-recursive] Error 1 > > > On Mon, May 18, 2015 at 8:29 PM, Erik de Castro Lopo <[email protected]= m > > wrote: > >> Arun Balaji Prithivi Raj wrote: >> >> > When I compiled the '*encoder_example.c'* file present in the above gi= t >> > 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/ >> > > --001a11c33dec08aebe051664b632 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Sorry. I have never executed the <b>make install</b> in ro= ot mode.=C2=A0<div>Finally now I am able to successfully installed all thes= e three libraries (=C2=A0<b style=3D"font-size:12.8000001907349px">libogg-1= .3.2,=C2=A0libvorbis-1.3.4,=C2=A0</b><b style=3D"font-size:12.8000001907349= px">vorbis-tools-1.4.0)</b></div><div><b style=3D"font-size:12.800000190734= 9px"><br></b></div><div><span style=3D"font-size:12.8000001907349px">Now wh= en I go to=C2=A0</span><a href=3D"https://github.com/xiph/vorbis/tree/maste= r/examples" target=3D"_blank" style=3D"font-size:12.8000001907349px">https:= //github.com/xiph/vorbis/tree/master/examples</a>=C2=A0Git and compile enco= der_example. c=C2=A0</div><div>I am getting this error.=C2=A0</div><div><br= ></div><div><div>/tmp/ccPVMmO6.o: In function `main':</div><div>encoder= _example.c:(.text+0xe7): undefined reference to `vorbis_info_init'</div= ><div>encoder_example.c:(.text+0x108): undefined reference to `vorbis_encod= e_init_vbr'</div><div>encoder_example.c:(.text+0x130): undefined refere= nce to `vorbis_comment_init'</div><div>encoder_example.c:(.text+0x149):= undefined reference to `vorbis_comment_add_tag'</div><div>encoder_exam= ple.c:(.text+0x162): undefined reference to `vorbis_analysis_init'</div= ><div>encoder_example.c:(.text+0x17b): undefined reference to `vorbis_block= _init'</div><div>encoder_example.c:(.text+0x1a4): undefined reference t= o `ogg_stream_init'</div><div>encoder_example.c:(.text+0x1d2): undefine= d reference to `vorbis_analysis_headerout'</div><div>encoder_example.c:= (.text+0x1eb): undefined reference to `ogg_stream_packetin'</div><div>e= ncoder_example.c:(.text+0x204): undefined reference to `ogg_stream_packetin= '</div><div>encoder_example.c:(.text+0x21d): undefined reference to `og= g_stream_packetin'</div><div>encoder_example.c:(.text+0x238): undefined= reference to `ogg_stream_flush'</div><div>encoder_example.c:(.text+0x2= e4): undefined reference to `vorbis_analysis_wrote'</div><div>encoder_e= xample.c:(.text+0x2fd): undefined reference to `vorbis_analysis_buffer'= </div><div>encoder_example.c:(.text+0x429): undefined reference to `vorbis_= analysis_wrote'</div><div>encoder_example.c:(.text+0x442): undefined re= ference to `vorbis_analysis'</div><div>encoder_example.c:(.text+0x451):= undefined reference to `vorbis_bitrate_addblock'</div><div>encoder_exa= mple.c:(.text+0x46f): undefined reference to `ogg_stream_packetin'</div= ><div>encoder_example.c:(.text+0x48d): undefined reference to `ogg_stream_p= ageout'</div><div>encoder_example.c:(.text+0x4f7): undefined reference = to `ogg_page_eos'</div><div>encoder_example.c:(.text+0x52b): undefined = reference to `vorbis_bitrate_flushpacket'</div><div>encoder_example.c:(= .text+0x54c): undefined reference to `vorbis_analysis_blockout'</div><d= iv>encoder_example.c:(.text+0x571): undefined reference to `ogg_stream_clea= r'</div><div>encoder_example.c:(.text+0x580): undefined reference to `v= orbis_block_clear'</div><div>encoder_example.c:(.text+0x58f): undefined= reference to `vorbis_dsp_clear'</div><div>encoder_example.c:(.text+0x5= 9e): undefined reference to `vorbis_comment_clear'</div><div>encoder_ex= ample.c:(.text+0x5ad): undefined reference to `vorbis_info_clear'</div>= <div>collect2: error: ld returned 1 exit status</div></div><div><br></div><= div><br></div><div><span style=3D"font-size:12.8000001907349px"><b><br></b>= </span><div><br></div></div></div><div class=3D"gmail_extra"><br><div class= =3D"gmail_quote">On Mon, May 18, 2015 at 8:43 PM, Arun Balaji Prithivi Raj = <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><div dir=3D"ltr">sorry for the mess created.=C2=A0<div><br></= div><div>So far I have installed these two library=C2=A0<b>libogg-1.3.2,=C2= =A0libvorbis-1.3.4</b> successfully.=C2=A0</div><div>When installing this= =C2=A0<b>vorbis-tools-1.4.0 </b>: I am getting this error.</div><div>=C2=A0= </div><div><div>Making install in man</div><div>make[2]: Entering directory= `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/oggenc/man'</div><div>m= ake[3]: Entering directory `/home/arunbalaji/Downloads/vorbis-tools-1.4.0/o= ggenc/man'</div><div>make[3]: Nothing to be done for `install-exec-am&#= 39;.</div><div>test -z "/usr/local/share/man/man1" || mkdir -p --= "/usr/local/share/man/man1"</div><div>=C2=A0/usr/bin/install -c = -m 644 './oggenc.1' '/usr/local/share/man/man1/oggenc.1'</d= iv><div>/usr/bin/install: cannot create regular file =E2=80=98/usr/local/sh= are/man/man1/oggenc.1=E2=80=99: Permission denied</div><div>make[3]: *** [i= nstall-man1] Error 1</div><div>make[3]: Leaving directory `/home/arunbalaji= /Downloads/vorbis-tools-1.4.0/oggenc/man'</div><div>make[2]: *** [insta= ll-am] Error 2</div><div>make[2]: Leaving directory `/home/arunbalaji/Downl= oads/vorbis-tools-1.4.0/oggenc/man'</div><div>make[1]: *** [install-rec= ursive] Error 1</div><div>make[1]: Leaving directory `/home/arunbalaji/Down= loads/vorbis-tools-1.4.0/oggenc'</div><div>make: *** [install-recursive= ] Error 1</div></div><div><br></div></div><div class=3D"HOEnZb"><div class= =3D"h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, M= ay 18, 2015 at 8:29 PM, Erik de Castro Lopo <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>= ></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0= 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Arun Balaji Prit= hivi Raj wrote:<br> <br> </span>> When I compiled the '*encoder_example.c'* file present = in the above git<br> <span>> repo,=C2=A0 I am getting this error message.<br> <br> </span>Please do not send screen shots to the mailing list. Copying the tex= t<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> <div><div><br> 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> </div></div></blockquote></div><br></div> </div></div></blockquote></div><br></div> --001a11c33dec08aebe051664b632-- --===============1743066370== 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 --===============1743066370==--