Hi, I want to write simple native C application using fprintf() for stdout/ stderr, on Android emulator with v1.1 SDK Release 1.
But when I try to compile my native C application with: ~/arm-2007q3/bin/arm-none-linux-gnueabi-ld -c -lc -lm -static -o XXX start.o main.o I get error messages: main.o: In function 'main': main.c:(.text+0x188): undefiend reference to 'stdout' As I know, Android redefines stdout/stderr, so shall I need Android source code to compile my native C application? Or is there any tip to use stdout/stderr in fprintf() or setvbuf() on Android v1.1 SDK Release 1? Many thanks, Mars Alucard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---