当前位置: 技术问答>linux和unix
菜鸟问题?
来源: 互联网 发布时间:2015-08-28
本文导语: 下面是我执行make mgcp_demo之后显示的错误信息,哪位能告诉这是什么错误么? ln -s ckp_pam.c osdepckp.c cat osdepbas.c osdepckp.c osdeplog.c > osdep.c cc -g -fno-omit-frame-pointer -O6 -c -o mail.o mail.c cc -g -fno-omit-frame-pointer -O...
下面是我执行make mgcp_demo之后显示的错误信息,哪位能告诉这是什么错误么?
ln -s ckp_pam.c osdepckp.c cat osdepbas.c osdepckp.c osdeplog.c > osdep.c cc -g -fno-omit-frame-pointer -O6 -c -o mail.o mail.c cc -g -fno-omit-frame-pointer -O6 -c -o misc.o misc.c cc -g -fno-omit-frame-pointer -O6 -c -o newsrc.o newsrc.c cc -g -fno-omit-frame-pointer -O6 -c -o smanager.o smanager.c cc -g -fno-omit-frame-pointer -O6 `cat OSCFLAGS` -c osdep.c
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: dereferencing pointer to incomplete type
env_unix.c:293: dereferencing pointer to incomplete type
env_unix.c:294: dereferencing pointer to incomplete type
env_unix.c:295: warning: assignment makes pointer from integer without a cast env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:305: dereferencing pointer to incomplete type
env_unix.c:308: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:313: dereferencing pointer to incomplete type
env_unix.c:313: dereferencing pointer to incomplete type
env_unix.c:313: dereferencing pointer to incomplete type
In file included from osdep.c:61:
tz_bsd.c: In function `rfc822_timezone':
tz_bsd.c:44: dereferencing pointer to incomplete type
make[5]: *** [osdep.o] Error 1
make[5]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686/c-client'
make[4]: *** [lnp] Error 2
make[4]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686/c-client'
make[3]: *** [OSTYPE] Error 2
make[3]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686'
make[2]: *** [lnp] Error 2
make[2]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686'
make[1]: *** [imap] Error 2
make[1]: Leaving directory `/root/mgcp-1.2.0/contrib'
make: *** [contrib] Error 2
ln -s ckp_pam.c osdepckp.c cat osdepbas.c osdepckp.c osdeplog.c > osdep.c cc -g -fno-omit-frame-pointer -O6 -c -o mail.o mail.c cc -g -fno-omit-frame-pointer -O6 -c -o misc.o misc.c cc -g -fno-omit-frame-pointer -O6 -c -o newsrc.o newsrc.c cc -g -fno-omit-frame-pointer -O6 -c -o smanager.o smanager.c cc -g -fno-omit-frame-pointer -O6 `cat OSCFLAGS` -c osdep.c
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: dereferencing pointer to incomplete type
env_unix.c:293: dereferencing pointer to incomplete type
env_unix.c:294: dereferencing pointer to incomplete type
env_unix.c:295: warning: assignment makes pointer from integer without a cast env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:297: dereferencing pointer to incomplete type
env_unix.c:305: dereferencing pointer to incomplete type
env_unix.c:308: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:312: dereferencing pointer to incomplete type
env_unix.c:313: dereferencing pointer to incomplete type
env_unix.c:313: dereferencing pointer to incomplete type
env_unix.c:313: dereferencing pointer to incomplete type
In file included from osdep.c:61:
tz_bsd.c: In function `rfc822_timezone':
tz_bsd.c:44: dereferencing pointer to incomplete type
make[5]: *** [osdep.o] Error 1
make[5]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686/c-client'
make[4]: *** [lnp] Error 2
make[4]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686/c-client'
make[3]: *** [OSTYPE] Error 2
make[3]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686'
make[2]: *** [lnp] Error 2
make[2]: Leaving directory `/root/mgcp-1.2.0/contrib/imap.Linux.i686'
make[1]: *** [imap] Error 2
make[1]: Leaving directory `/root/mgcp-1.2.0/contrib'
make: *** [contrib] Error 2
|
应该是几个宏定义没有加进去吧
|
up