Some error occurs when I install the open diameter 1.0.7-i (with ACE 5.5.2).
I guess some ACE data type has been changed.
So some of the open diameter header files must be modified.
If you found the error:
In file included from ./include/aaa_peer_data.h:38,
from ./include/aaa_peer_fsm.h:37,
from ./include/aaa_peer_table.h:38,
from ./include/aaa_xml_data.h:39,
from src/aaa_application.cxx:34:
./include/aaa_transport_ace.h:276: error: field `m_SigRegistrar’ has incomplete type
./include/aaa_transport_ace.h: In constructor `Diameter_IO_SigMask::Diameter_IO_SigMask()’:
./include/aaa_transport_ace.h:263: error: `m_SigRegistrar’ was not declared in this scope
./include/aaa_transport_ace.h:263: warning: unused variable ‘m_SigRegistrar’
*** Error code 1
Modify aaa_transport_ace.h. Add the lines:
#include “ace/Signal.h”
#include “ace/Sig_Handler.h”
And about the ACE_System_Time::get_local_system_time error, modify the following lines in libpana/include/pana_serial_num.h.
static inline ACE_UINT32 GenerateISN(ACE_UINT32 seed = 0) {
if (seed == 0) {
time_t t = 0;
ACE_System_Time::get_local_system_time(t);
}
// simple time seeded randon number generator
ACE_OS::srand(seed + ACE_OS::rand());
return ACE_OS::rand();
}
Thank you smallonely so much! (L)
By: sisou on November 19, 2008
at 3:59 pm
小龍將自己安裝軟體debug的心得分享出來給大家參考,真是佛心來的 😀
By: wcliu on November 19, 2008
at 3:59 pm
Thanks for your help. I was also stuck at that point only..
—Adi
By: Adishesh on February 8, 2009
at 1:29 pm
Thanks…found your post on google, which helped me to fix the same problem.
By: Janardhan on July 14, 2009
at 5:07 pm
真是大好人呀。。。我现在读硕士,想研究opendiameter, 能否向你请教些问题呀?^^ 不知道你最近时候还在研究opendiameter。。。
By: Yeonja Hwang on November 26, 2009
at 12:57 pm
呵呵。。。好心人呀。。。
我最近在研究Opendiameter, 不知道你是否还研究Opendiameter?
希望有机会能小探讨下~
By: Yeonja on November 27, 2009
at 3:26 pm
我在ubuntu 安装的 opendiameter-1.0.7-i.tar.gz
然后,做了点小修改,pac那里显示 认证成功~
但在三台电脑上分离运行三个程序(aaad,nasd,pacd)显示认证失败, 不知道你那里是否一切顺利?^^
能看到留言就 阿弥陀佛 啦~~ 多谢~
By: Yeonja on November 27, 2009
at 3:35 pm
Nice blog, i like it, its informative,
i will visit his blog more often.
i like your article specially about
OpenDiameter-Installation Troubleshooting
Cheers
By: Samantha on February 20, 2010
at 12:03 am
Great brother, thank you so much 🙂
By: Vietbh on February 22, 2010
at 6:28 pm