Re: Unable to compile CinemaSix 1.0 beta

Travis Clayton <[email protected]>
Newsgroups gmane.comp.hardware.roku.technical
Message-ID <[email protected]>
Looks like up to the point where the creation of the object files there 
are only warnings (unused variables,  comparisons between signed and 
unsigned integers) then it quickly spits this out:

g++ -L . -lCascade -lHDMachineX225Experimental -o cinemasix.roku  
./DiskFile.o ./File.o ./HTTPFile.o ./InputStreamHTTP.o ./InputStreamPS.o 
./InputStreamTS.o ./InputStreamUDP.o ./KeyboardWindow.o ./main.o 
./mpeg.o ./MpegInfoSpinner.o ./MyMPEGDecoder.o ./PESExtractor.o 
./ProgramInfo.o ./UDPFile.o ./url.o ./util.o
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
1952539694 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
1952722432 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
393216 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
393216 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
327680 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
720896 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
196608 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
4294901760 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
4294836224 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
589824 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
65536 >= 0 for section `'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
/usr/bin/ld: ./libHDMachineX225Experimental.so: invalid string offset 
524288 >= 0 for section `.shstrtab'
./main.o: In function `MPEGPlayerWindow::OnKeyDown(unsigned long)':
./main.o(.text+0x1704): undefined reference to 
`MPEGDecoder::ResumeStreaming(void)'
./main.o(.text+0x173c): undefined reference to 
`MPEGDecoder::PauseStreaming(void)'
./main.o: In function `MPEGPlayerWindow::OnTimer(unsigned long)':
./main.o(.text+0x18f8): undefined reference to 
`MPEGDecoder::ResumeStreaming(void)'
./MyMPEGDecoder.o: In function `MyMPEGDecoder::ChangePrograms(int)':
./MyMPEGDecoder.o(.text+0x444): undefined reference to 
`MPEGDecoder::SelectPIDs(bool, unsigned long, unsigned long, unsigned 
long, bool)'
./MyMPEGDecoder.o: In function `MyMPEGDecoder::StartPlayback(char const *)':
./MyMPEGDecoder.o(.text+0x750): undefined reference to 
`MPEGDecoder::NewOpen(unsigned long, unsigned long, 
MPEGDecoder::ClockSource, MPEGDecoder::ClockRecoveryMode, 
MPEGDecoder::ClockSource, MPEGDecoder::ClockRecoveryMode, bool, bool, 
bool, bool, unsigned long)'
./MyMPEGDecoder.o(.text+0x9b8): undefined reference to 
`MPEGDecoder::SelectPIDs(bool, unsigned long, unsigned long, unsigned 
long, bool)'
./MyMPEGDecoder.o(.text+0xc4c): undefined reference to 
`MPEGDecoder::SetOutputAndScaleRects(CascadeRect const &, CascadeRect 
const &)'
./MyMPEGDecoder.o: In function `MyMPEGDecoder::SetAspect(int)':
./MyMPEGDecoder.o(.text+0x1634): undefined reference to 
`MPEGDecoder::SetOutputAndScaleRects(CascadeRect const &, CascadeRect 
const &)'
./MyMPEGDecoder.o: In function `MyMPEGDecoder::MyMPEGDecoder(void)':
./MyMPEGDecoder.o(.text+0x1b10): undefined reference to 
`MPEGDecoder::MPEGDecoder(void)'
./MyMPEGDecoder.o(.text+0x1bec): undefined reference to 
`MPEGDecoder::~MPEGDecoder(void)'
./MyMPEGDecoder.o: In function `MyMPEGDecoder::~MyMPEGDecoder(void)':
./MyMPEGDecoder.o(.text+0x1ca0): undefined reference to 
`MPEGDecoder::~MPEGDecoder(void)'
./MyMPEGDecoder.o: In function `MyMPEGDecoder::Reinit(void)':
./MyMPEGDecoder.o(.text+0x1f48): undefined reference to 
`MPEGDecoder::PauseStreaming(void)'
./MyMPEGDecoder.o(.text+0x1f5c): undefined reference to 
`MPEGDecoder::Close(void)'
./MyMPEGDecoder.o(.text+0x1fc0): undefined reference to 
`MPEGDecoder::NewOpen(unsigned long, unsigned long, 
MPEGDecoder::ClockSource, MPEGDecoder::ClockRecoveryMode, 
MPEGDecoder::ClockSource, MPEGDecoder::ClockRecoveryMode, bool, bool, 
bool, bool, unsigned long)'
./MyMPEGDecoder.o(.text+0x2064): undefined reference to 
`MPEGDecoder::SelectPIDs(bool, unsigned long, unsigned long, unsigned 
long, bool)'
./MyMPEGDecoder.o(.text+0x2078): undefined reference to 
`MPEGDecoder::ResumeStreaming(void)'
./MyMPEGDecoder.o(.data+0x0): undefined reference to `MPEGDecoder 
type_info node'
./MyMPEGDecoder.o: In function `MyMPEGDecoder type_info function':
./MyMPEGDecoder.o(.gnu.linkonce.t.__tf13MyMPEGDecoder+0x3c): undefined 
reference to `MPEGDecoder type_info function'
./MyMPEGDecoder.o: In function `virtual function thunk (delta:-8) for 
MyMPEGDecoder::~MyMPEGDecoder(void)':
./MyMPEGDecoder.o(.gnu.linkonce.t.__thunk_8__._13MyMPEGDecoder+0x5c): 
undefined reference to `MPEGDecoder::~MPEGDecoder(void)'
./MyMPEGDecoder.o: In function `virtual function thunk (delta:-8) for 
MyMPEGDecoder::OnTimer(unsigned long)':
./MyMPEGDecoder.o(.gnu.linkonce.t.__thunk_8_OnTimer__13MyMPEGDecoderUl+0x68): 
undefined reference to `MPEGDecoder::PauseStreaming(void)'
./MyMPEGDecoder.o(.gnu.linkonce.t.__thunk_8_OnTimer__13MyMPEGDecoderUl+0x7c): 
undefined reference to `MPEGDecoder::Close(void)'
./MyMPEGDecoder.o(.gnu.linkonce.t.__thunk_8_OnTimer__13MyMPEGDecoderUl+0xe0): 
undefined reference to `MPEGDecoder::NewOpen(unsigned long, unsigned 
long, MPEGDecoder::ClockSource, MPEGDecoder::ClockRecoveryMode, 
MPEGDecoder::ClockSource, MPEGDecoder::ClockRecoveryMode, bool, bool, 
bool, bool, unsigned long)'
./MyMPEGDecoder.o(.gnu.linkonce.t.__thunk_8_OnTimer__13MyMPEGDecoderUl+0x184): 
undefined reference to `MPEGDecoder::SelectPIDs(bool, unsigned long, 
unsigned long, unsigned long, bool)'
./MyMPEGDecoder.o(.gnu.linkonce.t.__thunk_8_OnTimer__13MyMPEGDecoderUl+0x198): 
undefined reference to `MPEGDecoder::ResumeStreaming(void)'
collect2: ld returned 1 exit status
make: *** [cinemasix.roku] Error 1






Sujal Patel wrote:

>Can you list the errors?  The thing should build from CVS, but I haven't
>tested on the box (I use a cross compiler) in a while, so maybe something
>is wrong.
>
>Sujal
>
>On Tue, 29 Jun 2004, Travis Clayton wrote:
>
>  
>
>>I'd really like to be able to compile this latest build (I add in some 
>>additional video window resizing) but straight out of cvs produces 
>>numerous warnings and errors.
>>
>>- Travis
>>_______________________________________________
>>Roku-tech mailing list
>>[email protected]
>>http://lists.rokulabs.com/mailman/listinfo/roku-tech
>>
>>
>>    
>>
>
>_______________________________________________
>Roku-tech mailing list
>[email protected]
>http://lists.rokulabs.com/mailman/listinfo/roku-tech
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.