[Vorbis-dev] Writting 16-bit PCM data to Ogg.

Arun Balaji Prithivi Raj arunbalaji at mail.usf.edu
Mon May 18 17:51:30 PDT 2015


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 <
arunbalaji at mail.usf.edu> 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
> ‘/usr/local/share/man/man1/oggenc.1’: 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 <mle+la at mega-nerd.com
> > 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/
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20150518/e58e2271/attachment.htm 


More information about the Vorbis-dev mailing list