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


Other Threads

1. libwebcore - Broken Pipe


I downloaded the android source and gave make command (didnt modify
any thing) and libwebcore is not building. Below is the part of make
log. Can anyone let me know the root cause for this issue and the way
to solve it?

target Prelink: libwbxml_jni
libelfcopy: Warning: Range lists in .debug_info section aren't in
ascending order!
libelfcopy: Warning: Range lists in .debug_ranges section start at 0x730
target Strip: libwbxml_jni (out/target/product/generic/obj/lib/libwbxml_jni.so)
Install: out/target/product/generic/system/lib/libwbxml_jni.so
target thumb C++: libwebcore <=
In file included from external/webkit/WebKit/android/JavaVM/jni.h:29,
                 from external/webkit/WebCore/bridge/jni/jni_utility.h:34,
dalvik/libnativehelper/include/nativehelper/jni.h:489: note: the
mangling of 'va_list' has changed in GCC 4.4
Generating CSSPropertyNames.h <= CSSPropertyNames.in
Generating CSSValueKeywords.h <= CSSValueKeywords.in
target Generated: libwebcore <=
target Generated: libwebcore <= external/webkit/WebCore/platform/ColorData.gperf
WebCore Yacc: libwebcore <= external/webkit/WebCore/css/CSSGrammar.y
make: *** 
Broken pipe

unsubscribe: android-porting+unsubscr...@googlegroups.com

2. GTUG 2

Hey all.

Kapan kita siap kumpul lagi?
Feb. Mau?

Mustinya sudah banyak bahan baru utk di bahas.
Droid mustinya dah keluar.
Experia juga.
Belum Samsung,LG, dll.
Tablet2 Android.
Dan paket2 unlimited data dari Telco.
And of course the Nexus One.
Semoga sudah ada apps buatan Indonesia yang baru.


Pak Admin, apa bisa di mulai diperisapkan? Kami bantu organize juga
deh. Yg lain juga pasti kan?

Id-android Page di FB udah live.
Tuan2 sepuh Android, dengan segala kerendahan hati, apa berkenan ikut
mongkontribute juga please?


Daniel Tumiwa

Sent from my Android phone.

Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:


3. Pre-configured AVD's?

4. Virtual keypad in landscape mode

5. about android power

6. Launching an external activity from a widget

7. K9 mail view by thread