progs # cat btrfs_mini_tst.c /* * gcc -o btrfs_mini_tst btrfs_mini_tst.c -lbtrfs */ char btrfs_read_and_process_send_stream (); int main () { return btrfs_read_and_process_send_stream (); } progs # gcc -o btrfs_mini_tst btrfs_mini_tst.c -lbtrfs /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libbtrfs.so: undefined reference to `arg_strtou64' collect2: error: ld returned 1 exit status but if I also add file utils.c into libbtrfs, more undefined error occurs. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html