On Tue, May 20, 2014 at 06:15:49PM +0800, Dennis Lan (dlan) wrote:
> 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
Hi,
that problem was already found. A fix can be found here:
http://www.spinics.net/lists/linux-btrfs/msg33434.html
Regards,
Arvin
--
Arvin Schnell, <aschnell@xxxxxxx>
Senior Software Engineer, Research & Development
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
--
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