Re: The fist problem to compile libvirt in a Debian etch.

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

 



Hello list,

I changed the libvirt version and now I'm a one step forward ;-)
So, I installed these debian packages and I runned the commands above:
------
# apt-get install gcc make g++ autogen gettext autoconf automake libncurses5-dev libxml2 libxml2-dev libreadline5-dev
# cd /usr/src
# wget http://libvirt.org/sources/libvirt-0.2.2.tar.gz
# tar -xzvf libvirt-0.2.2.tar.gz && cd libvirt-0.2.2
# ./configure -with-libxml=/usr
# make

In this step the make command retur a error:
[...]
gcc -g -O2 -o .libs/virsh virsh-virsh.o virsh-console.o  ./.libs/libvirt.so -L/usr/lib /usr/lib/libxml2.so -lcurses -lreadline  -Wl,--rpath -Wl,/usr/local/lib
virsh-virsh.o: In function `cmdVcpuinfo':
/usr/src/libvirt-0.2.2/src/virsh.c:1230: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1294: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1294: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdDominfo':
/usr/src/libvirt-0.2.2/src/virsh.c:1153: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1211: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1211: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdNetworkUuid':
/usr/src/libvirt-0.2.2/src/virsh.c:2227: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:2244: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:2244: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdNetworkDefine':
/usr/src/libvirt-0.2.2/src/virsh.c:1854: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1890: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1890: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdNetworkCreate':
/usr/src/libvirt-0.2.2/src/virsh.c:1798: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1834: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1834: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdDomuuid':
/usr/src/libvirt-0.2.2/src/virsh.c:1712: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1728: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1728: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdNodeinfo':
/usr/src/libvirt-0.2.2/src/virsh.c:1542: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1562: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1562: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdDefine':
/usr/src/libvirt-0.2.2/src/virsh.c:733: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:769: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:769: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdCreate':
/usr/src/libvirt-0.2.2/src/virsh.c:678: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:714: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:714: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `vshCmddefHelp':
/usr/src/libvirt-0.2.2/src/virsh.c:2563: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:2609: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:2609: undefined reference to `__stack_chk_fail'
virsh-virsh.o: In function `cmdVcpupin':
/usr/src/libvirt-0.2.2/src/virsh.c:1315: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1384: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/virsh.c:1384: undefined reference to `__stack_chk_fail'
virsh-console.o: In function `vshRunConsole':
/usr/src/libvirt-0.2.2/src/console.c:45: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/console.c:179: undefined reference to `__stack_chk_guard'
/usr/src/libvirt-0.2.2/src/console.c:179: undefined reference to `__stack_chk_fail'
./.libs/libvirt.so: undefined reference to `__stack_chk_fail_local'
collect2: ld returned 1 exit status
make[2]: ** [virsh] Erro 1
make[2]: Saindo do diretório `/usr/src/libvirt-0.2.2 /src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/src/libvirt-0.2.2'
make: ** [all] Erro 2
#
-------------------------
I don't know why this error. Ideas?

regards,

Marco Sinhoreli

[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]