LinuxSir.cn,穿越时空的Linuxsir!

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

make vsftpd 时候出现如下错误!谢谢

[复制链接]
发表于 2008-12-6 08:45:04 | 显示全部楼层 |阅读模式
系统为:RHEL 4 -u4 -64位,VSFTP版本为最新的2.0.7

gcc -c main.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c utility.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c prelogin.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c ftpcmdio.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c postlogin.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c privsock.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c tunables.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c ftpdataio.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c secbuf.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c ls.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c postprivparent.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c logging.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c str.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c netstr.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c sysstr.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c strlist.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c banner.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c filestr.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c parseconf.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c secutil.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c ascii.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c oneprocess.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c twoprocess.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c privops.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c standalone.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c hash.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c tcpwrap.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c ipaddrparse.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c access.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c features.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c readwrite.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c opts.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c ssl.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c sysutil.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -c sysdeputil.c -fPIC -O2 -Wall -W -Wshadow  -idirafter dummyinc
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o access.o features.o readwrite.o opts.o ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
sysdeputil.o(.text+0x1c4): In function `vsf_sysdep_has_capabilities':
: undefined reference to `cap_get_proc'
sysdeputil.o(.text+0x1cf): In function `vsf_sysdep_has_capabilities':
: undefined reference to `cap_free'
sysdeputil.o(.text+0x1f9): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_init'
sysdeputil.o(.text+0x20f): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_proc'
sysdeputil.o(.text+0x21f): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_free'
sysdeputil.o(.text+0x24e): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x26b): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x292): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x2af): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_flag'
sysdeputil.o(.text+0x2b7): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_set_proc'
sysdeputil.o(.text+0x2d3): In function `vsf_sysdep_adopt_capabilities':
: undefined reference to `cap_free'
sysdeputil.o(.text+0xa53): In function `vsf_auth_shutdown':
: undefined reference to `pam_close_session'
sysdeputil.o(.text+0xa64): In function `vsf_auth_shutdown':
: undefined reference to `pam_setcred'
sysdeputil.o(.text+0xa72): In function `vsf_auth_shutdown':
: undefined reference to `pam_end'
sysdeputil.o(.text+0xc69): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_start'
sysdeputil.o(.text+0xcb8): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_set_item'
sysdeputil.o(.text+0xcd8): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_set_item'
sysdeputil.o(.text+0xcfc): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_set_item'
sysdeputil.o(.text+0xd12): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_authenticate'
sysdeputil.o(.text+0xd28): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_acct_mgmt'
sysdeputil.o(.text+0xd3d): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_setcred'
sysdeputil.o(.text+0xd5c): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_end'
sysdeputil.o(.text+0xd8a): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_open_session'
sysdeputil.o(.text+0xda4): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_setcred'
sysdeputil.o(.text+0xdb2): In function `vsf_sysdep_check_auth':
: undefined reference to `pam_end'
collect2: ld returned 1 exit status
make: *** [vsftpd] Error 1
发表于 2008-12-11 10:52:27 | 显示全部楼层
libcap pam
回复 支持 反对

使用道具 举报

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

本版积分规则

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