I&#39;m surprised.<br><br>but ok, there are attached another sources without *any* libraries:<br><br>bash-3.1# tar xzf sim300.dbus-2.tgz &amp;&amp; cd sim300.dbus-2.tmp &amp;&amp; ./sim300_dbus_init.make &amp;&amp; ./sim300_dbus_init
<br>g++ -c -pipe -O2 -Wall -W -D_REENTRANT&nbsp; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-
4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. -o sim300_dbus.o sim300_dbus.cpp<br>sim300_dbus.cpp:60: warning: unused parameter &#39;rssi&#39;<br>sim300_dbus.cpp:60: warning: unused parameter &#39;ber&#39;<br>
sim300_dbus.cpp:69: warning: unused parameter &#39;money&#39;<br>sim300_dbus.cpp:78: warning: unused parameter &#39;money&#39;<br>sim300_dbus.cpp:87: warning: unused parameter &#39;parent&#39;<br>g++ -c -pipe -O2 -Wall -W -D_REENTRANT&nbsp; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-
4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. -o sim300_dbus_adaptor.o sim300_dbus_adaptor.cpp
<br>sim300_dbus_adaptor.cpp:36: warning: unused parameter &#39;rssi&#39;<br>sim300_dbus_adaptor.cpp:36: warning: unused parameter &#39;ber&#39;<br>sim300_dbus_adaptor.cpp:42: warning: unused parameter &#39;money&#39;<br>sim300_dbus_adaptor.cpp:48: warning: unused parameter &#39;money&#39;
<br>sim300_dbus_adaptor.cpp: In member function &#39;QString Sim300Adaptor::get_money_cusd(QString&amp;)&#39;:<br>sim300_dbus_adaptor.cpp:52: warning: control reaches end of non-void function<br>sim300_dbus_adaptor.cpp: In member function &#39;QString Sim300Adaptor::get_money_atd(QString&amp;)&#39;:
<br>sim300_dbus_adaptor.cpp:46: warning: control reaches end of non-void function<br>sim300_dbus_adaptor.cpp: In member function &#39;QString Sim300Adaptor::get_csq(uchar&amp;, uchar&amp;)&#39;:<br>sim300_dbus_adaptor.cpp:40: warning: control reaches end of non-void function
<br>g++ -c -pipe -O2 -Wall -W -D_REENTRANT&nbsp; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-
4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. -o sim300_dbus_interface.o sim300_dbus_interface.cpp<br>/usr/lib/qt-4.2.2/bin/moc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-
4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. sim300_dbus.h -o moc_sim300_dbus.cpp<br>g++ -c -pipe -O2 -Wall -W -D_REENTRANT&nbsp; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-
4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. -o moc_sim300_dbus.o moc_sim300_dbus.cpp<br>/usr/lib/qt-
4.2.2/bin/moc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2
/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. sim300_dbus_adaptor.h -o moc_sim300_dbus_adaptor.cpp<br>g++ -c -pipe -O2 -Wall -W -D_REENTRANT&nbsp; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-
4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. -o moc_sim300_dbus_adaptor.o moc_sim300_dbus_adaptor.cpp
<br>/usr/lib/qt-4.2.2/bin/moc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-
4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. sim300_dbus_interface.h -o moc_sim300_dbus_interface.cpp<br>g++ -c -pipe -O2 -Wall -W -D_REENTRANT&nbsp; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt-
4.2.2/mkspecs/linux-g++ -I. -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include/QtCore -I/usr/lib/qt-4.2.2/include -I/usr/lib/qt-4.2.2/include/QtDBus -I. -I. -I. -o moc_sim300_dbus_interface.o moc_sim300_dbus_interface.cpp
<br>g++ -Wl,-rpath,/usr/lib/qt-4.2.2/lib -o sim300_dbus_init sim300_dbus.o sim300_dbus_adaptor.o sim300_dbus_interface.o moc_sim300_dbus.o moc_sim300_dbus_adaptor.o moc_sim300_dbus_interface.o&nbsp;&nbsp;&nbsp; -L/usr/lib/qt-4.2.2/lib -lQtDBus -L/usr/lib/qt/lib -ldbus-1 -lQtXml -lQtCore -lz -lm -
lglib-2.0 -ldl -lpthread<br>Segmentation fault<br>bash-3.1#<br><br>\\wbr Vitaly<br><br><div><span class="gmail_quote">On 11/5/07, <b class="gmail_sendername">Thiago Macieira</b> &lt;<a href="mailto:thiago@kde.org">thiago@kde.org
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Em Monday 05 November 2007 17:08:39 Vitaly V. Ch escreveu:<br>&gt; Yes. source which striped from any dependencies is attached.
<br>&gt;<br>&gt; I build service binary in next case:<br>&gt;<br>&gt; # ./sim300_dbus_init.make &amp;&amp; sim300_dbus_test.make<br>&gt;<br>&gt; where first script build static library and second - test application<br>&gt;
<br>&gt; \\wbr Vitaly<br><br>I repeat my request: can you provide us with a small *compileable* example?<br><br>/usr/bin/ld: cannot find -lsim300_dbus_init<br><br>Do not include files that are unrelated to the build.<br><br>
--<br> Thiago Macieira - thiago (AT) <a href="http://macieira.info">macieira.info</a> - thiago (AT) <a href="http://kde.org">kde.org</a><br>&nbsp;&nbsp;PGP/GPG: 0x6EF45358; fingerprint:<br>&nbsp;&nbsp;E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
<br><br>_______________________________________________<br>dbus mailing list<br><a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus">http://lists.freedesktop.org/mailman/listinfo/dbus
</a><br><br><br></blockquote></div><br>