Displaying 8 results from an estimated 8 matches for "_ogg_stream_init".
2020 Jul 22
2
How to debug a missing symbol with ThinLTO?
Hello,
I am building libogg with clang (10.0.1) on macOS and if I pass
"-flto=thin" to C and LDFLAGS it will not link correctly claiming
missing symbols when linking to the archive (libogg.a).
undef: _ogg_stream_init
Undefined symbols for architecture x86_64:
"_ogg_stream_init", referenced from:
_main in lto.o
Removing lto=thin fixes the problem. Inspecting the AR libs with
llvm-nm I see the symbol there (but without address):
not working archive:
---------------- T _ogg_stream_init
working archive...
2020 Jul 22
2
How to debug a missing symbol with ThinLTO?
...ce std;
int main()
{
ogg_stream_state os;
if (ogg_stream_init(&os, 123) == 0)
cout << "Initialized stream succesfully" << endl;
return 0;
}
And from the libogg directory I linked to it like this:
clang++ -o test -flto=thin test.cpp src/.libs/libogg.a -I include
undef: _ogg_stream_init
Undefined symbols for architecture x86_64:
"_ogg_stream_init", referenced from:
_main in 0.x86_64.thinlto.o
ld: symbol(s) not found for architecture x86_64
clang-10: error: linker command failed with exit code 1 (use -v to see
invocation)
hope this helps - thanks!
On Wed, Jul 22, 2020 a...
2020 Jul 22
2
How to debug a missing symbol with ThinLTO?
..._stream_init(&os, 123) == 0)
> cout << "Initialized stream succesfully" << endl;
>
> return 0;
> }
>
> And from the libogg directory I linked to it like this:
>
> clang++ -o test -flto=thin test.cpp src/.libs/libogg.a -I include
>
> undef: _ogg_stream_init
> Undefined symbols for architecture x86_64:
> "_ogg_stream_init", referenced from:
> _main in 0.x86_64.thinlto.o
> ld: symbol(s) not found for architecture x86_64
> clang-10: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> hope this...
2020 Jul 22
2
How to debug a missing symbol with ThinLTO?
...; cout << "Initialized stream succesfully" << endl;
>>
>> return 0;
>> }
>>
>> And from the libogg directory I linked to it like this:
>>
>> clang++ -o test -flto=thin test.cpp src/.libs/libogg.a -I include
>>
>> undef: _ogg_stream_init
>> Undefined symbols for architecture x86_64:
>> "_ogg_stream_init", referenced from:
>> _main in 0.x86_64.thinlto.o
>> ld: symbol(s) not found for architecture x86_64
>> clang-10: error: linker command failed with exit code 1 (use -v to see
>> invocati...
2020 Jul 23
2
How to debug a missing symbol with ThinLTO?
...ream succesfully" << endl;
>>>
>>> return 0;
>>> }
>>>
>>> And from the libogg directory I linked to it like this:
>>>
>>> clang++ -o test -flto=thin test.cpp src/.libs/libogg.a -I include
>>>
>>> undef: _ogg_stream_init
>>> Undefined symbols for architecture x86_64:
>>> "_ogg_stream_init", referenced from:
>>> _main in 0.x86_64.thinlto.o
>>> ld: symbol(s) not found for architecture x86_64
>>> clang-10: error: linker command failed with exit code 1 (use -v to s...
2005 Nov 28
1
Compile Encoder_example.c
...error LNK2001: unresolved
external symbol _ogg_stream_flush
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_packetin
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_headerout
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_block_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_comment_add_tag
encoder_example.obj : error LNK2001: unres...
2000 Nov 12
2
This is not going well... but better than before!
...vorbis_analysis_blockout
unresolved external symbol _vorbis_analysis_wrote
unresolved external symbol _vorbis_analysis_buffer
unresolved external symbol _ogg_stream_flush
unresolved external symbol _ogg_stream_packetin
unresolved external symbol _vorbis_analysis_headerout
unresolved external symbol _ogg_stream_init
unresolved external symbol _vorbis_block_init
unresolved external symbol _vorbis_analysis_init
unresolved external symbol _vorbis_encode_init
unresolved external symbol _vorbis_info_init
unresolved external symbol __getopt_internal
I'm unclear on what to do since when I try to fix these errors...
2006 Aug 18
6
Ogg Player Code
Hello,
In one of my recent assignments, I was asked to develop a ogg player.
I am not able to find the right repository of the source code. There are few repositories on vorbis but I am not clear which one is the right one for Windows environment.
If somebody has successfully compiled any ogg player ever, his ideas will be helpful to me.
In one of the code set, I was able to compile the