daylight and timezone aren't missing in time.h. The entries are extern declarations meant to indicate that those variables are defined somewhere else. That somewhere else is normally localtime.c, except Android has some guards around the definitions. It appears the standard build does not define the preprocessor symbols so as to include those declarations. Hence, there are no definitions to resolve against, which is why you're getting the link errors.
> When i have checked the daylight & timezone variable in time.h > (android bionic folder) definition of both the variable is different. Different from what? daylight is declared/defined as int in the relevant places. It's slightly disturbing that timezone is declared as long int in time.h and time_t in localtime.c, but time_t is just long int (at least on ARM and x86). What's puzzling is the only references to daylight and timezone come from code also guarded by the same preprocessor symbol. Do you know what in your code is referencing those variables? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
