LinuxSir.cn,穿越时空的Linuxsir!

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

求助:emerge proftpd failed

[复制链接]
发表于 2008-2-29 15:48:37 | 显示全部楼层 |阅读模式
* ERROR: net-ftp/proftpd-1.3.1_rc3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2426:  Called die
* The specific snippet of code:
*       emake || die "emake failed"
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/temp/environment'.
*

* Messages for package net-ftp/proftpd-1.3.1_rc3:

*
* ERROR: net-ftp/proftpd-1.3.1_rc3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2426:  Called die
* The specific snippet of code:
*       emake || die "emake failed"
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/temp/environment'.

贴一下/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/temp/build.log
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
make[1]: Entering directory `/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/work/proftpd-1.3.1rc3/lib'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c pr_fnmatch.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c sstrncpy.c
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:31,
                 from ../include/conf.h:95,
                 from pr_fnmatch.c:38:
/usr/include/asm/types.h:6: error: conflicting types for ‘mode_t’
/usr/include/sys/types.h:72: error: previous declaration of ‘mode_t’ was here
cd src/ && make src
make[1]: Entering directory `/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/work/proftpd-1.3.1rc3/src'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c main.c
make[1]: *** [pr_fnmatch.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/work/proftpd-1.3.1rc3/lib'
make: *** [lib] Error 2
make: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include  -march=athlon-xp -O2 -pipe -fomit-frame-pointer -Wall -c timers.c
*** Waiting for unfinished jobs....
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:31,
                 from ../include/conf.h:95,
                 from main.c:32:
/usr/include/asm/types.h:6: error: conflicting types for ‘mode_t’
/usr/include/sys/types.h:72: error: previous declaration of ‘mode_t’ was here
In file included from /usr/include/asm/sigcontext.h:4,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:31,
                 from ../include/conf.h:95,
                 from timers.c:31:
/usr/include/asm/types.h:6: error: conflicting types for ‘mode_t’
/usr/include/sys/types.h:72: error: previous declaration of ‘mode_t’ was here
main.c: In function ‘shutdown_exit’:
main.c:313: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c: In function ‘fork_server’:
main.c:1022: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1023: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c: In function ‘sig_restart’:
main.c:1568: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c: In function ‘sig_evnt’:
main.c:1573: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c: In function ‘sig_child’:
main.c:1626: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c: In function ‘install_signal_handlers’:
main.c:1879: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1880: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1881: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1882: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1883: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1884: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1885: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1889: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1891: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1892: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1895: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1901: warning: passing argument 2 of ‘signal’ from incompatible pointer type
main.c:1903: warning: passing argument 2 of ‘signal’ from incompatible pointer type
timers.c: In function ‘sig_alarm’:
timers.c:154: warning: assignment from incompatible pointer type
timers.c: In function ‘set_sig_alarm’:
timers.c:183: warning: assignment from incompatible pointer type
make[1]: *** [timers.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/work/proftpd-1.3.1rc3/src'
make: *** [src] Error 2
发表于 2008-2-29 16:23:01 | 显示全部楼层
bugs.gentoo.org....
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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