Static build sofsip_cli

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

 



Hello, 
I can build sofia-sip-1.12.4 and sofsip-cli-0.1.12  without error, but now I 
try to build sofsip-cli-0.1.12 static so that it run on everyone  linux computers 
without building gstreamer . 
I have changed on Makefile 
CFLAGS = -g -O2 --static 
I get this erro:
gcc -g -O2 --static -o sofsip_cli sofsip_cli.o ssc_input.o  ./.libs/libsofsip-cli-objects.a /usr/lib/libsofia-sip-ua-glib.so /usr/lib/libsofia-sip-ua.so -lssl -lcrypto -lrt /usr/lib/libgstreamer-0.10.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so /usr/lib/libxml2.so -lz -lm /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lreadline -lncurses -lpthread
/scratchbox/compilers/cs2005q3.2-glibc-arm/lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: attempted static link of dynamic object `/usr/lib/libsofia-sip-ua-glib.so'
collect2: ld returned 1 exit status
make: *** [sofsip_cli] Error 1

I would like to static include only gstreamer lib  
Know someone where I set "static" ?

Thanks.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux