Bug#401600: constructor/de-constructor never found for all
testprograms build against boinc-dev
Frank S. Thomas
frank at thomas-alfeld.de
Mon Dec 4 22:18:32 CET 2006
package boinc-dev
severity 401600 normal
thanks
On Monday 04 December 2006 20:53, Folkert van Heusden wrote:
> Package: boinc-dev
> Version: 5.4.11-3
> Severity: grave
> Justification: renders package unusable
>
> Nothing builds with this library.
That's not true. The boinc-app-seti package builds with this package
(therefore I'm downgrading the severity of this bug). Maybe you should have a
look at boinc-app-seti's makefiles to figure out how to use BOINC libraries
and headers.
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20061204/98203074/attachment.pgp
More information about the pkg-boinc-devel
mailing list