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
pgppje2iY6B6e.pgp
Description: PGP signature

