Hi Claes/Robert,
I tried to build the source again and failed. My steps:
1. Download the pwrsrc_4.8.1-2
2, upzip and followed the instructions in build-howto.info, then run the \"easy way\", that is \"make\"
But I got a link error:
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/exe/rt_xtt/gtk/.os_linux/.hw_x86
make[1]: Entering directory `/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/exe/rt_xtt/gtk/.os_linux/.hw_x86'
Linking /home/hfu/workspace/pwrsrc_4.8.1-2/rls/os_linux/hw_x86/xtt/exe/rt_xtt
/home/hfu/workspace/pwrsrc_4.8.1-2/rls/os_linux/hw_x86/xtt/lib/libpwr_xtt.a(xtt_hist.o): In function `Hist::get_hist_list()':
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:271: undefined reference to `db_create'
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:274: undefined reference to `db_strerror'
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:290: undefined reference to `db_strerror'
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:303: undefined reference to `db_strerror'
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:344: undefined reference to `db_strerror'
/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:353: undefined reference to `db_strerror'
/home/hfu/workspace/pwrsrc_4.8.1-2/rls/os_linux/hw_x86/xtt/lib/libpwr_xtt.a(xtt_hist.o):/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/lib/xtt/src/.os_linux/.hw_x86/../../xtt_hist.cpp:359: more undefined references to `db_strerror' follow
/home/hfu/workspace/pwrsrc_4.8.1-2/rls/os_linux/hw_x86/exp/lib/libpwr_co.a(co_user.o): In function `UserList::pwcrypt(char const*)':
/home/hfu/workspace/pwrsrc_4.8.1-2/src/lib/co/src/os_linux/.hw_x86/../../co_user.cpp:945: undefined reference to `crypt'
collect2: ld returned 1 exit status
make[1]: *** [/home/hfu/workspace/pwrsrc_4.8.1-2/rls/os_linux/hw_x86/xtt/exe/rt_xtt] Error 1
make[1]: Leaving directory `/home/hfu/workspace/pwrsrc_4.8.1-2/xtt/exe/rt_xtt/gtk/.os_linux/.hw_x86'
My system is:
hfu@hfu-HP:~/workspace/pwrsrc_4.8.1-2$ uname -a
Linux hfu-HP 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux
Do you know what is wrong here? Thanks!