linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs-progs: add arg_strtou64 break library btrfs
@ 2014-05-20 10:15 Dennis Lan (dlan)
  2014-05-20 10:20 ` Arvin Schnell
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Lan (dlan) @ 2014-05-20 10:15 UTC (permalink / raw)
  To: Wang Shilong; +Cc: linux-btrfs

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-20 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20 10:15 btrfs-progs: add arg_strtou64 break library btrfs Dennis Lan (dlan)
2014-05-20 10:20 ` Arvin Schnell
2014-05-20 10:28   ` Dennis Lan (dlan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).