LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 834|回复: 0

编译协议栈源码出现的问题,请高手进来帮忙看看!

[复制链接]
发表于 2005-11-13 11:01:11 | 显示全部楼层 |阅读模式
近来编译vovida公司的mgcp开源协议栈时出现错识,我的操作系统是suse10,错误信息如下,请高手指点如何解决,谢谢。

In file included from osdep.c:56:
env_unix.c: In function ‘do_date’:
env_unix.c:292: warning: initialization makes pointer from integer without a cast
env_unix.c:293: error: dereferencing pointer to incomplete type
env_unix.c:293: error: dereferencing pointer to incomplete type
env_unix.c:294: error: dereferencing pointer to incomplete type
env_unix.c:295: warning: assignment makes pointer from integer without a cast
env_unix.c:297: error: dereferencing pointer to incomplete type
env_unix.c:297: error: dereferencing pointer to incomplete type
env_unix.c:305: error: dereferencing pointer to incomplete type
env_unix.c:308: error: dereferencing pointer to incomplete type
env_unix.c:312: error: dereferencing pointer to incomplete type
env_unix.c:312: error: dereferencing pointer to incomplete type
env_unix.c:312: error: dereferencing pointer to incomplete type
env_unix.c:313: error: dereferencing pointer to incomplete type
env_unix.c:313: error: dereferencing pointer to incomplete type
env_unix.c:313: error: dereferencing pointer to incomplete type
In file included from osdep.c:60:
tz_sv4.c: In function ‘rfc822_timezone’:
tz_sv4.c:45: error: ‘tzname’ undeclared (first use in this function)
tz_sv4.c:45: error: (Each undeclared identifier is reported only once
tz_sv4.c:45: error: for each function it appears in.)
tz_sv4.c:45: error: ‘daylight’ undeclared (first use in this function)
tz_sv4.c:45: error: dereferencing pointer to incomplete type
osdep.c:96:31: error: security/pam_appl.h: 没有那个文件或目录
osdep.c: At top level:
osdep.c:112: warning: ‘struct pam_response’ declared inside parameter list
osdep.c:112: warning: its scope is only this definition or declaration, which is probably not what you want
osdep.c:112: warning: ‘struct pam_message’ declared inside parameter list
osdep.c: In function ‘checkpw_conv’:
osdep.c:116: error: invalid application of ‘sizeof’ to incomplete type ‘struct pam_response’
osdep.c:117: error: dereferencing pointer to incomplete type
osdep.c:118: error: ‘PAM_PROMPT_ECHO_ON’ undeclared (first use in this function)
osdep.c:119: error: invalid use of undefined type ‘struct pam_response’
osdep.c:119: error: dereferencing pointer to incomplete type
osdep.c:119: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
osdep.c:120: error: invalid use of undefined type ‘struct pam_response’
osdep.c:120: error: dereferencing pointer to incomplete type
osdep.c:122: error: ‘PAM_PROMPT_ECHO_OFF’ undeclared (first use in this function)
osdep.c:123: error: invalid use of undefined type ‘struct pam_response’
osdep.c:123: error: dereferencing pointer to incomplete type
osdep.c:124: error: invalid use of undefined type ‘struct pam_response’
osdep.c:124: error: dereferencing pointer to incomplete type
osdep.c:126: error: ‘PAM_TEXT_INFO’ undeclared (first use in this function)
osdep.c:127: error: ‘PAM_ERROR_MSG’ undeclared (first use in this function)
osdep.c:128: error: invalid use of undefined type ‘struct pam_response’
osdep.c:128: error: dereferencing pointer to incomplete type
osdep.c:129: error: invalid use of undefined type ‘struct pam_response’
osdep.c:129: error: dereferencing pointer to incomplete type
osdep.c:133: error: ‘PAM_CONV_ERR’ undeclared (first use in this function)
osdep.c: In function ‘checkpw’:
osdep.c:147: error: ‘pam_handle_t’ undeclared (first use in this function)
osdep.c:147: error: ‘hdl’ undeclared (first use in this function)
osdep.c:148: error: storage size of ‘conv’ isn’t known
osdep.c:155: error: ‘PAM_SUCCESS’ undeclared (first use in this function)
osdep.c:158: error: ‘PAM_ESTABLISH_CRED’ undeclared (first use in this function)
osdep.c:159: error: ‘PAM_AUTH_ERR’ undeclared (first use in this function)
make[5]: *** [osdep.o] 错误 1
make[5]: Leaving directory `/home/ljh/testMgcp/contrib/imap.Linux.i686/c-client'
make[4]: *** [lnp] 错误 2
make[4]: Leaving directory `/home/ljh/testMgcp/contrib/imap.Linux.i686/c-client'
make[3]: *** [OSTYPE] 错误 2
make[3]: Leaving directory `/home/ljh/testMgcp/contrib/imap.Linux.i686'
make[2]: *** [lnp] 错误 2
make[2]: Leaving directory `/home/ljh/testMgcp/contrib/imap.Linux.i686'
make[1]: *** [imap] 错误 2
make[1]: Leaving directory `/home/ljh/testMgcp/contrib'
make: *** [contrib] 错误 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表