[Spice-devel] Spice compile error

Liang Guo bluestonechina at gmail.com
Sun Jun 26 20:27:04 PDT 2011


Dear All, 

When I compile spice 0.8.1 on Debian sid with g++ 4.6, I get following error:

g++ -DHAVE_CONFIG_H -I. -I../.. -DSW_CANVAS_CACHE -DSW_CANVAS_NO_CHUNKS -DUSE_GLZ -D__STDC_LIMIT_MACROS -I. -I.. -I../../common -I../../common/linux -I../../client -I/usr/include/spice-1    -I/usr/include/alsa   -I/usr/include/pixman-1   -I/u01/opt/src/spice/spice-0.8.1     -I/usr/include/CEGUI  -DUSE_GUI  -Wall -Wno-sign-compare -Wno-deprecated-declarations     -pthread -lm -lrt  -g -O2 -MT resource_provider.o -MD -MP -MF .deps/resource_provider.Tpo -c -o resource_provider.o `test -f '../../client/gui/resource_provider.cpp' || echo './'`../../client/gui/resource_provider.cpp
mv -f .deps/resource_provider.Tpo .deps/resource_provider.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -DSW_CANVAS_CACHE -DSW_CANVAS_NO_CHUNKS -DUSE_GLZ -D__STDC_LIMIT_MACROS -I. -I.. -I../../common -I../../common/linux -I../../client -I/usr/include/spice-1    -I/usr/include/alsa   -I/usr/include/pixman-1   -I/u01/opt/src/spice/spice-0.8.1     -I/usr/include/CEGUI  -DUSE_GUI  -Wall -Wno-sign-compare -Wno-deprecated-declarations     -pthread -lm -lrt  -g -O2 -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o `test -f '../../client/gui/gui.cpp' || echo './'`../../client/gui/gui.cpp
mv -f .deps/gui.Tpo .deps/gui.Po
/bin/bash ../../libtool --tag=CXX   --mode=link g++  -g -O2  -L/u01/opt/src/spice/spice-0.8.1/celt051/.libs -lcelt051 -lm -lssl -lcrypto   -lCEGUIBase    -ljpeg -lz  -pthread -lm -lrt   -o spicec event_sources_p.o main.o named_pipe.o pixels_source.o platform.o platform_utils.o playback.o record.o red_drawable.o red_pixmap.o red_pixmap_sw.o red_window.o res.o x_icon.o application.o generated_demarshallers.o generated_demarshallers1.o marshaller.o generated_marshallers.o generated_marshallers1.o sw_canvas.o canvas.o canvas_utils.o red_sw_canvas.o cmd_line_parser.o client_net_socket.o controller.o cursor_channel.o cursor.o display_channel.o foreign_menu.o glz_decoder.o glz_decoder_window.o inputs_channel.o jpeg_decoder.o lz.o lines.o monitor.o mem.o menu.o mjpeg_decoder.o pixman_utils.o playback_channel.o process_loop.o quic.o record_channel.o red_channel.o red_client.o red_peer.o region.o rop3.o screen.o screen_layer.o hot_keys.o threads.o utils.o zlib_decoder.o  softrenderer.o softtexture.o resource_provider.o gui.o      -lpixman-1   -lasound    -lXrandr   -lXfixes   -lXext -lXrender -lX11   -lCEGUIBase   
libtool: link: cannot find the library `/usr/lib/libfreetype.la' or unhandled argument `/usr/lib/libfreetype.la'
make[6]: *** [spicec] 错误 1
make[6]: Leaving directory `/u01/opt/src/spice/spice-0.8.1/client/x11'
make[5]: *** [all-recursive] 错误 1
make[5]: Leaving directory `/u01/opt/src/spice/spice-0.8.1/client/x11'
make[4]: *** [all-recursive] 错误 1
make[4]: Leaving directory `/u01/opt/src/spice/spice-0.8.1/client'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/u01/opt/src/spice/spice-0.8.1/client'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/u01/opt/src/spice/spice-0.8.1'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/u01/opt/src/spice/spice-0.8.1'
make: *** [build-stamp] 错误 2

libfreetype.la is located in 
liang at guoliangc:/usr/lib/pkgconfig$ ls -al /usr/lib/x86_64-linux-gnu/libfreetype.la
-rw-r--r-- 1 root root 892  6月 23 05:58 /usr/lib/x86_64-linux-gnu/libfreetype.la

But spice cannot find it. 

have any one meet such ploblem ?

Thanks and Regards,
--
Liang Guo
http://bluestone.cublog.cn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110627/26be66a9/attachment.pgp>


More information about the Spice-devel mailing list