Gwenole Beauchesne wrote:
>On Thu, 16 Aug 2001, Pedro Rosa wrote:
>
[...]
>>
>>C++ support on 2.96. But Apple warned about this.
>>
>
>What do you mean ?? Could you be more specific please ? I am sorry but I
>still don't have mind reading capabilities. ;-)
>
Well they claim that the 2.96 is not suitable for compilation of the
Stream Server. And it seems so, as the compiler breaks on doing it.
[...]
>>
>>Stream Server (build 338).
>>
>
>Is it supposed to work on non Darwin architectures ?
>
Yes, it should work on Linux. In fact I have an earlier build working in
one box. In fact I am interested on the development of MPEG4IP tools
which includes the Darwin Stream Server. This packet is relatively
similar to VideoLAN and it's made by a group of Cisco engineers. But
that does not mean we are not interested also on VideoLAN. This is not a
case of what rulezzz/suxxx. In fact we, at our University, are studying
a large spectra of multimedia systems to be used in Kazan State
University 200 years "birthday" in 2004 and in the 1000 year "birthday"
of the city in 2005. The experimental server boxes are based presently
on Debian and Mandrake. If we don't get "surprises" with funds, we are
aiming to have a capable broadcast system through Internet and a
multipurpose multimedia complex by the beginning of 2003.
>
>>An excerpt of the listing:
>>
[...]
>>
>>/usr/src/qtssServer-338/QTFileLib/QTAtom_stsz.cpp:69: undefined reference to
>`__gxx_personality_v0'
>>
>
>Your are definitely trying to link C++ objects with gcc instead of g++
>(g++-3.0.1 in case you use it). See for example:
>
>[gbeauchesne@thalys vrac]$ cat new.cpp
>#include <typeinfo>
>
>struct B1 { };
>struct B2 { };
>
>int main(void)
>{
> if (typeid(B1()) == typeid(B2())) {
> char * tab = new char[100];
> delete[] tab;
> }
>}
>
>[gbeauchesne@thalys vrac]$ g++-3.0.1 -c new.cpp
>
>[gbeauchesne@thalys vrac]$ gcc-3.0.1 new.o
>new.o: In function `main':
>new.o(.text+0x28): undefined reference to `operator new[](unsigned)'
>new.o(.text+0x3f): undefined reference to `operator delete[](void*)'
>new.o(.gnu.linkonce.d._ZTIF2B2vE+0x0): undefined reference to `vtable for
>__cxxabiv1::__function_type_info'
>new.o(.gnu.linkonce.d._ZTIF2B1vE+0x0): undefined reference to `vtable for
>__cxxabiv1::__function_type_info'
>new.o: In function `__FRAME_BEGIN__':
>new.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
>collect2: ld returned 1 exit status
>
>Please check your Makefile and/or whatever LD/LDFLAGS variables you have
>to set.
>
Interesting and weird. On earlier gcc's things didn't broke that way. I
will surely check this.
Another question. Just now I noted that gcc can't compile another
section of the MPEG4IP. It gives internel compiler error. By some
reason, I can't reach your https://qa.mandrakesoft.com site, as
indicated in the gcc bug warning to send a complete and correct bug
report. Your site is giving me "connection refused".
Ektanoor
>
>
>