当前位置: 技术问答>linux和unix
[freebsd6.2]qpoper MAKE报错..等待中...
来源: 互联网 发布时间:2016-07-27
本文导语: ./configure --enable-apop=/etc/pop.auth --with-popuid=pop 正常通过,但在MAKE时一直报错. 错误如下: popauth.c:372: error: for each function it appears in.) popauth.c:372: error: syntax error before ')' token popauth.c: In function `main': popauth.c:690...
./configure --enable-apop=/etc/pop.auth --with-popuid=pop
正常通过,但在MAKE时一直报错.
错误如下:
popauth.c:372: error: for each function it appears in.)
popauth.c:372: error: syntax error before ')' token
popauth.c: In function `main':
popauth.c:690: error: `DBM' undeclared (first use in this function)
popauth.c:690: error: `db' undeclared (first use in this function)
popauth.c:947: error: incompatible types in assignment
popauth.c:1082: error: incompatible types in assignment
popauth.c:1123: error: incompatible types in assignment
popauth.c:1123: error: incompatible types in assignment
popauth.c:1132: error: incompatible types in assignment
popauth.c:1209: error: incompatible types in assignment
popauth.c:1454: error: `DBM_REPLACE' undeclared (first use in this function)
*** Error code 1
Stop in /usr/opt/mailserver/qpopper4.0.19/popper.
*** Error code 1
Stop in /usr/opt/mailserver/qpopper4.0.19.
然后我在网上找了一些解决方法,
就是在.$HOME/.profilej里面设置环境变量,
ex2# more $home/.profile
# $FreeBSD: src/etc/root/dot.profile,v 1.20 1999/08/27 23:24:09 peter Exp $
#
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/lib
export LD_RUN_PATH
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
ex2#
我设置过后,依然没有解决:
这是ENV命令的结果:
ex2# env
USER=grbbs
MAIL=/var/mail/grbbs
LD_LIBRARY_PATH=/usr/local/lib
HOME=/root
PAGER=more
ENV=/home/grbbs/.shrc
LOGNAME=grbbs
BLOCKSIZE=K
TERM=xterm
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
SHELL=/bin/csh
LD_RUN_PATH=/usr/local/lib
请问高手们,怎么解决!!!等待中.....
正常通过,但在MAKE时一直报错.
错误如下:
popauth.c:372: error: for each function it appears in.)
popauth.c:372: error: syntax error before ')' token
popauth.c: In function `main':
popauth.c:690: error: `DBM' undeclared (first use in this function)
popauth.c:690: error: `db' undeclared (first use in this function)
popauth.c:947: error: incompatible types in assignment
popauth.c:1082: error: incompatible types in assignment
popauth.c:1123: error: incompatible types in assignment
popauth.c:1123: error: incompatible types in assignment
popauth.c:1132: error: incompatible types in assignment
popauth.c:1209: error: incompatible types in assignment
popauth.c:1454: error: `DBM_REPLACE' undeclared (first use in this function)
*** Error code 1
Stop in /usr/opt/mailserver/qpopper4.0.19/popper.
*** Error code 1
Stop in /usr/opt/mailserver/qpopper4.0.19.
然后我在网上找了一些解决方法,
就是在.$HOME/.profilej里面设置环境变量,
ex2# more $home/.profile
# $FreeBSD: src/etc/root/dot.profile,v 1.20 1999/08/27 23:24:09 peter Exp $
#
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/lib
export LD_RUN_PATH
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
ex2#
我设置过后,依然没有解决:
这是ENV命令的结果:
ex2# env
USER=grbbs
MAIL=/var/mail/grbbs
LD_LIBRARY_PATH=/usr/local/lib
HOME=/root
PAGER=more
ENV=/home/grbbs/.shrc
LOGNAME=grbbs
BLOCKSIZE=K
TERM=xterm
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
SHELL=/bin/csh
LD_RUN_PATH=/usr/local/lib
请问高手们,怎么解决!!!等待中.....
|
去这个函数里亲自看看popauth.c,是不是少"("了
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。