undefined reference to `std::__throw_bad_alloc()

by HV » Fri, 08 Apr 2011 12:39:14 GMT


Sponsored Links
 Hi,

 I'm having this linker error with some of the customized sources. Since 
this is not within any of the bionic libraries, and seems to be defined in 
libstd++ which is part of my toolchain, I'm wondering how to use this within 
Android.mk. 

 I can't give this under LOCAL_SHARED_LIBRARIES right (coz I don't have the 
sources, just the binary)? I've tried using LOCAL_PREBUILT_LIBS and 
LOCAL_LDLIBS but they seem to have no effect.

Thanks
HV

-- 



Re: undefined reference to `std::__throw_bad_alloc()

by HV » Sat, 09 Apr 2011 09:58:25 GMT


 We found a way to do it, add the missing library 
in TARGET_linux-your_architecture.mk file

-- 


Sponsored Links


Re: undefined reference to `std::__throw_bad_alloc()

by HV » Tue, 12 Apr 2011 16:09:54 GMT


 Actually, the real problem was in using LOCAL_WHOLE_STATIC_LIBRARIES which 
includes all dead code. Instead if I just use LOCAL_STATIC_LIBRARIES, it 
doesn't need any of those unresolved externals

-- 



Other Threads

1. Question About Handler

Hi all,

I am trying to make a basic game.

I want to call the update() function every few seconds. So I found that it
can be done using Handler.

Whenever my handler receives a message, i will execute the update()
function.

However, when I try adding User Inputs, it gets more complicated.

Under the onKeyDown() function, I send another message to the handler to
call the updateInput() function.

The problem is that when i continue clicking the key, update() function is
never called. I believe that is because onKeyDown() keeps sending the
message to the handler.

Can any one let me know how to solve this problem?

Thanks in advance.

-- 

2. Calling it quits for awhile..

http://feedproxy.google.com/~r/cyanogenmod/web/~3/83uVo6eVIA4/calling-it-quits-for-awhile,Oh
nooooo

Jonitan17 , HTC MAGIC

-- 
"Indonesian Android Community [id-android]" 

3. pengguna Hero based on official 2.1 2.9 kernel!!

4. no ringtones show at Phone ringtones list

5. Weird Thing with my posts

6. Messaging Service Helpful?

7. Video creation tools?