What kind of debug output statement is valid in getaddrinfo.c?

by 鎹疯秴 鐜 » Fri, 20 May 2011 17:17:53 GMT


Sponsored Links
 Hi, developers:

I am currently developing an IPv6 DNS resolver on Android-x86 platform
in socket programming in C so I would like to modify some code in /
home/ubuntu/android-x86/bionic/libc/netbsd/net/getaddrinfo.c". I want
to do debugging in this file so I am trying to adding debug output
statements in this file.

I 've tried "LOGE", "printf" and "fprintf" but none of them works.
Is there anyone knows what kind of debug output statement is valid in
this file? Thank you very much!!

Best wishes,

Jiechao Wang
BUPT

-- 



Other Threads

1. Stable Built environment for Nexus S

Hello friends,

I am looking for a stable built environment to build a custom ROM.
BUT all branches I tryed dont work clean in Nexus S.

My attemts:
repo init -u git://android.git.kernel.org/platform/manifest.git -b
android-2.3.3_r1
repo init -u git://android.git.kernel.org/platform/manifest.git -b
android-2.3.3_r1.1
repo init -u git://android.git.kernel.org/platform/manifest.git -b
android-2.3.4_r1
repo init -u git://android.git.kernel.org/platform/manifest.git -b
gingerbread
repo init -u git://android.git.kernel.org/platform/manifest.git -b
master

On all branches there are problems with NFC ("an error occures" is
showing when I activate it)
And when I try to activate WLAN then thy System is hang up and I have
to remove the battery to restart it.

On Installation I get an error that the baseband version is not right,
my baseband is I9020XXKB3
If I add my baseband version to board-info then installation is OK.

Maybe is that the reason for my Hardware Errors with NFC and WLAN?

would be happy for some infos and tips

best regards
Markus

-- 

2. Error saat mengkompile Android Gingerbread 2.3.3

Saat saya mengcompile source android Gingerbread 2.3.3 ada pesan error
yang saya terima seperti ini :
build/core/binary.mk:25: *** external/stlport: Invalid
LOCAL_NDK_VERSION '4' Choices are .  Stop.)

Untuk informasi saya sudah melakukan download dan Compile di Linux
Ubuntu 10.04 Lucid 64Bit sesuai dengan petunjuknya.

Ada ide bagaimana solusinya?

Terima kasih
SGP

-- 
"

3. HttpsURLConnection's getResponseCode() returns -1

4. javascript in webview to java?

5. How to Override progress bar message i.e.. 0/100

6. Signature and certificate

7. requestLocationUpdates ignore minTime parameter?