oggtheoracapture.o: In function `OggTheoraCapture::cleanup()':
oggtheoracapture.cpp:(.text+0x229): undefined reference to `theora_encode_YUVin'
oggtheoracapture.cpp:(.text+0x239): undefined reference to `theora_encode_packetout'
oggtheoracapture.cpp:(.text+0x244): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0x2aa): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0x2b9): undefined reference to `ogg_stream_flush'
oggtheoracapture.cpp:(.text+0x310): undefined reference to `theora_clear'
oggtheoracapture.cpp:(.text+0x318): undefined reference to `ogg_stream_clear'
oggtheoracapture.o: In function `OggTheoraCapture::captureFrame()':
oggtheoracapture.cpp:(.text+0x472): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0x47e): undefined reference to `ogg_stream_eos'
oggtheoracapture.cpp:(.text+0x742): undefined reference to `theora_encode_YUVin'
oggtheoracapture.cpp:(.text+0x74f): undefined reference to `theora_encode_packetout'
oggtheoracapture.cpp:(.text+0x75a): undefined reference to `ogg_stream_packetin'
oggtheoracapture.o: In function `OggTheoraCapture::start(std::basic_string<char, std::char_traits<char>, std::allocator<char>const&, int, int, float)':
oggtheoracapture.cpp:(.text+0xb8e): undefined reference to `ogg_stream_init'
oggtheoracapture.cpp:(.text+0xc3e): undefined reference to `theora_info_init'
oggtheoracapture.cpp:(.text+0xd39): undefined reference to `theora_encode_init'
oggtheoracapture.cpp:(.text+0xd41): undefined reference to `theora_info_clear'
oggtheoracapture.cpp:(.text+0xd4c): undefined reference to `theora_encode_header'
oggtheoracapture.cpp:(.text+0xd57): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0xd62): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0xe87): undefined reference to `theora_comment_init'
oggtheoracapture.cpp:(.text+0xe92): undefined reference to `theora_encode_comment'
oggtheoracapture.cpp:(.text+0xe9a): undefined reference to `theora_comment_clear'
oggtheoracapture.cpp:(.text+0xea5): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0xeb0): undefined reference to `theora_encode_tables'
oggtheoracapture.cpp:(.text+0xebb): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0xf13): undefined reference to `ogg_stream_flush'
collect2: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0'
make: *** [all] Error 2

Any help in solving this problem would be greatly appreciated.
Thanks.