[Spice-devel] how to create spicec as static binary..

mixalis kossenas mixalis at evoip.gr
Thu Jul 1 06:45:23 PDT 2010


thanks for replying,

i tried to build all libs (qcairo,celt,qpixman) using --disable-shared 
and --enable-static flags
also 
./autogen.sh --includedir=/usr/include --libdir=/usr/lib --enable-static for 
spice (i want to use spicec for x86)
modified the link command to not include .so files but .a lib files and 
manually run


g++ -g -O3 -static -o spicec events_loop_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_cairo.o red_pixmap_gl.o red_window.o res.o x_icon.o application.o 
cairo_canvas.o canvas.o canvas_utils.o red_cairo_canvas.o cmd_line_parser.o 
cursor_channel.o cursor.o display_channel.o red_gl_canvas.o gl_canvas.o 
glc.o glz_decoder.o glz_decoder_window.o inputs_channel.o lz.o monitor.o 
menu.o playback_channel.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  -llog4cpp -lnsl /usr/lib/libcelt051.a -lm -lssl -lcrypto 
/usr/lib/libqcairo.a -lavcodec -lavutil 
/usr/lib/libasound.so -lGL -lGLU -lXrandr -lrt

but libasound.so wasnt static.. :S

do i have to manually compile libasound as well?...

compiling is not my favorite hobby.. :(

thanks.

=================
Μιχάλης Κοσσένας.
Network Administrator
E-voip
Τηλ:2104943910
http://www.evoip.gr
=================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20100701/acce0c6e/attachment.htm>


More information about the Spice-devel mailing list