puling my hair out
Folkert van Heusden
folkert at vanheusden.com
Mon Dec 4 10:22:12 CET 2006
Hi,
I've installed the following boinc-dev package:
keetweej:/home/folkert# dpkg --list | grep boinc-dev
ii boinc-dev 5.4.11-3 development files to build applications for
Now I have the following test.cpp file:
#include <BOINC/lib/gui_rpc_client.h>
int main(int argc, char *argv[])
{
RPC_CLIENT test;
return 0;
}
Now I try to compile this one:
g++-4.1 -I /usr/include/BOINC/ -lboinc -lboinc_api -lboinc_graphics_impl -lboinc_graphics_lib -lboinc_zip test.cpp
and I always get:
/tmp/ccQDgHXb.o: In function `main':
test.cpp:(.text+0x19): undefined reference to `RPC_CLIENT::RPC_CLIENT()'
test.cpp:(.text+0x29): undefined reference to `RPC_CLIENT::~RPC_CLIENT()'
collect2: ld returned 1 exit status
This is odd since:
folkert at keetweej:~/Personal/src/boinctail$ strings /usr/lib/libboinc.a | grep -c RPC_CLIENT
113
What can be the cause?
Thank you,
Folkert van Heusden
--
Temperature outside: 9.937500, temperature livingroom: 21.3
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
More information about the pkg-boinc-devel
mailing list