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

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



2012/6/17 Matthias Bolte <matthias bolte googlemail com>:
> 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


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