undefined reference to “function name”


Since hermes is flooding my mailbox I haven't looked if all my packages are compiling on Factory. So I had a look for interesting emails today. ctrlproxy (irc proxy/bouncer) didn't build with undefined reference to "". I wondered if the libarary packages have been renamed, but everything looked fine. I've talked to darix and he told me about the --as-needed flag of the linker which is set by default now. I've searched for some documentation didn't find something which explains the problems so here is my documentation. The problem is the linking order of the libraries and source code! Lets look at an example: Assume that you built a static library libwurst and it uses the pow() function from the…

phonon and amarok wakeups


I've used my notebook the first time with openSUSE 11.1 without a power cable attached and wondered why my battery was empty after a short time. So I've did some research and found a knotify4 bug, this leads to a phonon and xine bug. I have the latest version of xine installed and the wakeup bug in xine is already fixed sine 1.1.9. So there must be still a bug in the phonen backend of KDE 4.1.3. I found a new phonon-xine backend on kde-apps.org, here. I've found packages in the build service (click) and tested them. The wakeups of the whole system dropped to less than 200 wakeups per second. During my research I stumbled over a amarok problem…

Hackweek3: Logitech hacking


I planning to rewrite lomoco since a long time now. The problem is that Logitech has introduced a new protocol to talk to the devices. For the main features of these new mice we have already proof of concept code but some features aren't suppport. I still don't know how they identify a cordless mouse connected to a receiver. The MX Revolution and the G7 share the same receiver. Yesterday I've discovered how to read the battery status from the MX and VX Revolution. I can display the battery status in percent and if the mouse is charging or is fully charged. I've put together a proof-of-concept code here. Now it is time to think about a library, liblomoco. If…

csync 0.42.0 alpha1


I've released the first alpha version of csync. csync is a client only bidirectional file synchronizer. You can use csync for different things. The intention is to provide Roaming Home Directories for Linux but you can use it to synchronize your music collection or create a backup of a directory. This is *not* intended for production environments and is designed for testing purposes only. This version is fully functional and you can sync two local directories or a local directory with a samba share. More at http://www.csync.org/

Qemu (kvm) internal network setup


I got a new notebook, a nice Thinkpad T61 with virtualization technology. I need to run some Windows system for development so I've decided to use the Kernel based Virtual Machine (KVM). The VMs should communicate over an internal network but should have access to the internet and I want access via network to them. So I setup a bridge with TUN/TAP devices masqueraded to my normal interface. HOST QEMU GUEST1 +---------------+ +--------------+ | 10.10.5.158 | | | LAN ---+---- eth0 | | | | | | | QEMU GUEST2 | +------+ +--+---+---- nic0 | +--------------+ | | tap0---+ | |192.168.100.5 | | | | | tap1---+ | +--------------+ | | | +------+ | | | | | br0 +--+----------------------+----…

WengoPhone 2.1rc1


WengoPhone 2.1rc1 has been released today. We migrated the build system to the CMake and added an abstraction layer called owbuild for WengoPhone. It compiles just fine under Linux, MacOSX and Windows on x86, x86_64 and ppc. The last weekend I have fixed a lot of problematic warnings to be sure it works just fine under x86_64 now. Back to WengoPhone. It has some nice new features. Secure voice calls using AES 128 bit encryption (Wengo Wengo) The ability to configure a SIP account on any SIP server Massive stability enhancement on Mac and Linux Several usability improvements WengoPhone 2.1rc1 RPMs for openSUSE 10.2 are available at Packman, here. If you have some problems with sound, install the portaudio package…

Client Integration with Samba


At the beginning of October I started writing my diploma thesis at SUSE Linux in Nuernberg. I'll develop a library and a PAM module to synchronize the home directory from a Linux client to a Microsoft Windows ADS environment and back. The main problem of this subject is to write a file synchronizer which works with the infrastructure we already have and acts like the Windows one. This means a client only file synchronizer which just uses libsmbclient and is as simple as the Windows "Merge Algorithm" used for Roaming Profiles since Windows 2000.

Webdav Calendar and Addressbook


UPDATE Use http://owncloud.org/ Webdav I want to access my calendar and addressbook from my mainframe and from my notebook. I write exams at the moment so it is the best time to do something else. I've setup a webdav to store my adressbook and calendar so I can access it with KOrganizer, Mozilla Sunbird or KAdressbook from everywhere. First we have to create a directory for the webdav databases (lock, user). mkdir -p /var/lib/apache2/dav chgrp www /var/lib/apache2/dav chmod 775 /var/lib/apache2/dav Now we need a user htpasswd2 -c /etc/apache2/dav_users.db <username> Change <username> to your user and enter a password. Now lets create the web accessible directory. mkdir /srv/www/webdav chgrp www /srv/www/webdav chmod 775 /srv/www/webdav mod_dav.conf The next step is to create…

WengoPhone


Maybe you heard already about that OpenWengo thing. OpenWengo is a community of Free Software enthusiasts. The OpenWengo community is sponsored by Wemgo, a French SIP provider, itself backed by Neuf Cegetel, a French telco. WengoPhone, a SIP compliant VoIP client and a multiprotocol instant messanger (MSN, AIM, ICQ, Jabber, Google Talk). We're talkig here about WengoPhone NG (Next Generation) which is the version in development. Currently I'm working on a RPM package for WengoPhone NG. I've written some patches to build it on x86_64 and to fix some bugs to build it on SUSE. The problem is that I can't link the application at the moment cause SUSE doesn't provide libQtUiTools in their QT4 packages (SUSE LINUX 10.1 and…