Re: Linker error in gnulib test-binary-io.c

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

 



2012/6/17 Matthias Bolte <matthias.bolte@xxxxxxxxxxxxxx>:
> I get the following error on Ubuntu 11.04 with current libvirt git HEAD:
>
> $ make check
> [...]
>   CC     test-binary-io.o
> test-binary-io.c: In function 'main':
> test-binary-io.c:54:7: warning: implicit declaration of function
> 'set_binary_mode'
>   CCLD   test-binary-io
> test-binary-io.o: In function `main':
> [...]/test-binary-io.c:54: undefined reference to `set_binary_mode'
> collect2: ld returned 1 exit status

A more detailed look revealed that have a broken version of
binary-io.h in the tests directory which didn't belong there. Removing
this file fixed the issue.

I've no clue how the broken version of binary-io.h got there.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]