How to build C++ library within android build system

by kalikali » Wed, 02 Dec 2009 02:30:52 GMT


Sponsored Links
 Hi all,

As i know, android has a mini version support on C++ library. But I
have a third party source code that implement by C++ and use more
library than android support. How can I build the third party library
within android build system and work fine?  I try to modify make file
to build but fail in linking process, this just because i don't use
the --no-undefined parameter in compiler process. If I use the --no-
undefined parameter in compiler process, shared library can be built
out but fail in library loading process

Is there any one can give me a way to solve this problem?  I think
this kind of problem will confuse many android porting guys....

Best regards
Michael

-- 



How to build C++ library within android build system

by kalikali » Wed, 02 Dec 2009 02:31:04 GMT


 Hi all,

As i know, android has a mini version support on C++ library. But I
have a third party source code that implement by C++ and use more
library than android support. How can I build the third party library
within android build system and work fine?  I try to modify make file
to build but fail in linking process, this just because i don't use
the --no-undefined parameter in compiler process. If I use the --no-
undefined parameter in compiler process, shared library can be built
out but fail in library loading process

Is there any one can give me a way to solve this problem?  I think
this kind of problem will confuse many android porting guys....

Best regards
Michael

-- 


Sponsored Links


How to build C++ library within android build system

by RaviY » Wed, 02 Dec 2009 09:20:11 GMT


 Why don't you build and link everything that is not defined in
Anrdoid?
What are the libraries that you think are missing in Android?
More details would help you get a solution faster.

-Ravi




-- 



Other Threads

1. button response is slow on GPhone

In my application, all the button has Button OnClickListenner,

createB=(Button)findViewById(R.id.newUser);
 createB.setOnClickListener(new createAccount());

It works very well in simulator. However, after I load the application
to Gphone, I found the button doesn't always response to "touch".
sometimes I need to touch it many times. What other listenner I need
to add to the button? Why ?
--~--~---------~--~----~------------~-------~--~----~

2. Troubles on running Android.

Hey guys,

I got in trouble after compiling the Android kernel and file system; on
minicom  shows me the next error:

<4>Warning: unable to open an initial
console.

Warning: unable to open an initial
console.

<4>Failed to execute /init.  Attempting
defaults...

Failed to execute /init.  Attempting
defaults...

<0>Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.

Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.

The parameters and the address of configured NFS are:

setenv bootargs console=ttyS2,115200n8 noinitrd mem=112M root=/dev/nfs rw
nfsroot=10.87.230.128:/home/reno/Android/repository/fsAndroid,nolock,wsize=1024,rsize=1024
ip=10.87.224.163 init=/init

setenv bootcmd 'tftpboot 0x80300000 kernel/uImage; bootm'

And of course the two folders containing the fs are ../root/ & ../system/
are located in home/reno/Android/repository/fsAndroid, so if any one have a
solution for this problem, please let me know...

Best regards,
Reno.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Unique problem only for the EXPERTS.

4. android works fine in omap730 with 64M ram and 64M nand flash

5. MSI Wind Android

6. How to get focus for a button?

7. How can I specify message body part in SMS intent?