我正在尝试找到unistd.h头中声明的x86_64函数的 Linux3.2.21实现。查看Linuxunistd.h生成了这个原型:
/* Make all changes done to all files actually appear on disk. */
extern void sync (void) __THROW;
因此,我认为这意味着sync是在Linux内核之外定义的,查看glibc 2.7,这给了我在中的定义。
/* Make all changes done to all files actually appear on disk. */
void
sync ()
{
我试图在ubuntu上从源代码(https://github.com/UDOOboard/linux_内核)编译一个Linux内核。
当我跑步时:
ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make modules
我收到了很多警告,比如:
WARNING: "do_sync_read" [fs/nfs/nfs.ko] has no CRC!
这些模块不是正在建造的。我如何解决这个问题?