Kenny Yu wrote: > I am porting a C program. Very simple - it refers to a C function > declared in BIONIC libc: > > device/bionic/libc/include/unistd.h > at line 142 (CUPCAKE version) as > extern int fdatasync(int); > > Link failure is seen because libc.so doesn't have the implementation: > external/sysstat/sadc.c:901: undefined reference to `fdatasync' > collect2: ld returned 1 exit status > > Can anyone figure out where the function fdatasync() is implemented? > I think that is a syscall so just add to the syscall list. Michael > It should call syscall fdatasync eventually. > > Kenny > > > > >
--~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
