[hxclidev] finally everything has been built -- howver still have runtime issues helix/rma
David Bear winexpert at hotmail.comlinux rh 8.0, gcc3.2
Hi Henry,
I haven't succeeded in building simple player. I get compile errors
that say undefined reference to __builtin_vec_new
also undefined __builtin_vec_delete
also __pure_virtual
apparently anywhere in the code a 'new' is done, it triggers the undefined
__builtin_vec_new.
same for 'delete'
The way I got it so the clntcore.so would load (it was complaining about
__pure_virtual missing), was to create a 'dummy' .so that contains the
basics for the functions:
void __pure_virtual() {};
void *__builtin_new(int size) {return (void*)malloc(size);}
void *__builtin_delete(void *ptr) {free(ptr);}
void *builtin_new(int size) {return (void*)malloc(size);}
void *builtin_delete(void *ptr) {free(ptr);}
void *builtin_vec_new(int size) {return builtin_new(size);}
void *builtin_vec_delete(void *ptr) {builtin_delete(ptr);}
void *__builtin_vec_delete(void *ptr) {free(ptr);}
then i built a .so and placed in my 'LD_PRELOAD'.
Doing so seems to allow clntcore to 'load'.
have you got any ideas on how to let the build be successful?
David
>From: Henry Ping <ping at real.com>
>To: "David Bear" <winexpert at hotmail.com>,
>dev at helix-client.helixcommunity.org
>Subject: Re: [hxclidev] finally everything has been built -- howver still
>have runtime issues helix/rma
>Date: Thu, 10 Jul 2003 10:18:19 -0700
>
>No, have you tried the splay.exe in clientapps/simpleplayer?
>
>-->Henry
>
>At 04:48 PM 7/10/2003 +0000, David Bear wrote:
>>I managed to get everything to build by checking to make sure the .cf
>>SYSTEM_ID was set correctly. I also had to add some code to handle the
>>'__pure_virtual undefined symbol' that I was getting.
>>
>>Now the clntcore.so appears to load successfully.
>>
>>However now my application hangs.
>>
>>My application ran fine when running against the RMA Sdk. However now
>>under helix it seems to 'hang'.
>>
>>In my start code I have a small loop that loops for up to a max of 3
>>seconds play time to garner information about the video. Under RMA it
>>seems to work fine.
>>
>>Under Helix when i call pPlayer->GetCurrentPlayTime() it always returns
>>0.
>>
>>Has this behavior changed under helix?
>>
>>David
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at helix-client.helixcommunity.org
For additional commands, e-mail: dev-help at helix-client.helixcommunity.org