Bug#401600: constructor/de-constructor never found for all testprograms build against boinc-dev

Folkert van Heusden folkert at vanheusden.com
Mon Dec 4 20:53:08 CET 2006


Package: boinc-dev
Version: 5.4.11-3
Severity: grave
Justification: renders package unusable

Nothing builds with this library.
For example:
-----------
#include <stdio.h>
#include <BOINC/boinc_api.h>
int main(int argc, char *argv[])
{
        APP_INIT_DATA aid;
        return 0;
}

Compile with: g++ -lstdc++ -lboinc_api -lboinc test.cpp
gives:
/tmp/ccxYULhN.o: In function `main':
test.cpp:(.text+0x1f): undefined reference to `APP_INIT_DATA::APP_INIT_DATA()'
test.cpp:(.text+0x32): undefined reference to `APP_INIT_DATA::~APP_INIT_DATA()'
collect2: ld returned 1 exit status

Other example:
-------------
#include <BOINC/lib/gui_rpc_client.h>
int main(int argc, char *argv[])
{
        RPC_CLIENT      test;
        return 0;
}

Compile with: g++ -I /usr/include/BOINC/ -lstdc++ -lboinc_api -lboinc rpctest.cpp
gives:
/tmp/ccfemaKV.o: In function `main':
rpctest.cpp:(.text+0x19): undefined reference to `RPC_CLIENT::RPC_CLIENT()'
rpctest.cpp:(.text+0x29): undefined reference to `RPC_CLIENT::~RPC_CLIENT()'
collect2: ld returned 1 exit status


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages boinc-dev depends on:
ii  libc6-dev [libc-dev]         2.3.6.ds1-6 GNU C Library: Development Librari
ii  libmysqlclient15-dev         5.0.24a-9   mysql database development files
ii  libssl-dev                   0.9.8c-3    SSL development libraries, header 
ii  libstdc++5-3.3-dev [libstdc+ 1:3.3.6-13  The GNU Standard C++ Library v3 (d
ii  libstdc++6-4.0-dev [libstdc+ 4.0.3-7     The GNU Standard C++ Library v3 (d
ii  libstdc++6-4.1-dev [libstdc+ 4.1.1-19    The GNU Standard C++ Library v3 (d
ii  libstdc++6-dev [libstdc++-de 3.4.6-4     The GNU Standard C++ Library v3 (d

boinc-dev recommends no packages.

-- no debconf information




More information about the pkg-boinc-devel mailing list