- 論壇徽章:
- 0
|
哥哥我在編譯的時候,也發(fā)送這個問題了。
我找到 hbaping.c:326 行:
vi lib/plugins/HBcomm/hbaping.c
320 if (add_msg_auth(nmsg) != HA_OK) {
321 LOG(PIL_CRIT, "cannot add auth field to message");
322 ha_msg_del(nmsg); nmsg = NULL;
323 return NULL;
324 }
325
326 pkt = msg2wirefmt(nmsg, lenp);
327 if( pkt == NULL){
328 LOG(PIL_WARN, "containg msg to wirefmt failed in hbaping_read()\n");
329 return NULL;
330 }
331
332 ha_msg_del(nmsg);
333
334 memcpy(hbaping_pkt, pkt, *lenp);
335 free(pkt);
336
337 return hbaping_pkt;
338
339 }
把 326 行改成這樣
320 if (add_msg_auth(nmsg) != HA_OK) {
321 LOG(PIL_CRIT, "cannot add auth field to message");
322 ha_msg_del(nmsg); nmsg = NULL;
323 return NULL;
324 }
325
326 pkt = NULL; /*奶奶的 ,就這樣干!*/
327 if( pkt == NULL){
328 LOG(PIL_WARN, "containg msg to wirefmt failed in hbaping_read()\n");
329 return NULL;
330 }
331
332 ha_msg_del(nmsg);
333
334 memcpy(hbaping_pkt, pkt, *lenp);
335 free(pkt);
336
337 return hbaping_pkt;
338
339 }
再./ConfigureMe make
ok
說下,這個是程序bug,不是系統(tǒng)少包。
我在編譯glue-1.0.6.tar.bz2的時候也遇到了這樣的問題。
你試試,有什么問題聯(lián)系聯(lián)系:qq 273892955 |
|