btrfs-progs: add arg_strtou64 break library btrfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux