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

Folkert van Heusden folkert at vanheusden.com
Mon Dec 4 22:35:46 CET 2006


> package boinc-dev
> severity 401600 normal
> thanks
> > 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.

I.m.h.o. if just doing something like -lboinc (or whatever), it should
be in the (at least Debian-) documentation of that library.

If a library is only usable for 1 application, it doesn't make sense to
have a seperate -dev 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




Folkert van Heusden

-- 
Feeling generous? -> http://www.vanheusden.com/wishlist.php
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com




More information about the pkg-boinc-devel mailing list