亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3238 | 回復(fù): 1
打印 上一主題 下一主題

DBDR安裝遇到的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2015-08-17 14:41 |只看該作者 |倒序瀏覽
./configure --prefix=/usr/local/drbd --with-km
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for flex... /usr/bin/flex
checking for rpmbuild... no
checking for xsltproc... /usr/bin/xsltproc
checking for tar... /bin/tar
checking for git... no
checking for dpkg-buildpackage... no
checking for udevadm... /sbin/udevadm
checking for udevinfo... false
configure: WARNING: No rpmbuild found, building RPM packages is disabled.
configure: WARNING: No dpkg-buildpackage found, building Debian packages is disabled.
configure: WARNING: Cannot update buildtag without git. You may safely ignore this warning when building from a tarball.
checking for /etc/gentoo-release... no
checking for /etc/redhat-release... yes
checking for /etc/slackware-version... no
checking for /etc/debian_version... no
checking for /etc/SuSE-release... no
configure: configured for Red Hat (includes Fedora, RHEL, CentOS).
checking for /etc/fedora-release... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating user/Makefile
config.status: creating user/legacy/Makefile
config.status: creating scripts/Makefile
config.status: creating documentation/Makefile
config.status: creating user/config.h
config.status: creating user/legacy/config.h
[root@localhost drbd-8.4.3]# make
make -C drbd drbd_buildtag.c
make[1]: Entering directory `/home/drbd-8.4.3/drbd'
make[1]: Leaving directory `/home/drbd-8.4.3/drbd'
make[1]: Entering directory `/home/drbd-8.4.3/user'
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdadm_scanner.o drbdadm_scanner.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdadm_parser.o drbdadm_parser.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdadm_main.o drbdadm_main.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdadm_adjust.o drbdadm_adjust.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdtool_common.o drbdtool_common.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c
cp ../drbd/drbd_buildtag.c drbd_buildtag.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbd_buildtag.o drbd_buildtag.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o registry.o registry.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o config_flags.o config_flags.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat -DHAVE_CTRL_ATTR_VERSION -DHAVE_CTRL_ATTR_HDRSIZE -DHAVE_CTRL_ATTR_MCAST_GROUPS   -c -o libgenl.o libgenl.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbd_nla.o drbd_nla.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat     -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdmeta.o drbdmeta.c
flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdmeta_scanner.o drbdmeta_scanner.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat     -o drbdmeta drbdmeta.o drbdmeta_scanner.o drbdtool_common.o drbd_buildtag.o
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbdsetup.o drbdsetup.c
cp ../drbd/drbd_strings.c drbd_strings.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o drbd_strings.o drbd_strings.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat   -c -o wrap_printf.o wrap_printf.c
gcc -g -O2 -Wall -I../drbd -I../drbd/compat     -o drbdsetup libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o
make -C legacy
make[2]: Entering directory `/home/drbd-8.4.3/user/legacy'
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
cp ../drbd_endian.h drbd_endian.h
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdadm_scanner.o drbdadm_scanner.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdadm_parser.o drbdadm_parser.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdadm_main.o drbdadm_main.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdadm_adjust.o drbdadm_adjust.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdtool_common.o drbdtool_common.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c
cp ../../drbd/drbd_buildtag.c drbd_buildtag.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbd_buildtag.o drbd_buildtag.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdadm_minor_table.o drbdadm_minor_table.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat     -o drbdadm-83 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o drbdadm_minor_table.o
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbdsetup.o drbdsetup.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat   -c -o drbd_strings.o drbd_strings.c
gcc -g -O2 -Wall -I. -I../drbd -I../drbd/compat     -o drbdsetup-83 drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o
make[2]: Leaving directory `/home/drbd-8.4.3/user/legacy'
ln -f -s legacy/drbdadm-83
ln -f -s legacy/drbdsetup-83
make[1]: Leaving directory `/home/drbd-8.4.3/user'
make[1]: Entering directory `/home/drbd-8.4.3/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/drbd-8.4.3/scripts'
make[1]: Entering directory `/home/drbd-8.4.3/documentation'
To (re)make the documentation: make doc
make[1]: Leaving directory `/home/drbd-8.4.3/documentation'

        Userland tools build was successful.
    SORRY, kernel makefile not found.
    You need to tell me a correct KDIR,
    Or install the neccessary kernel source packages.

make: *** [check-kdir] Error 1

論壇徽章:
0
2 [報告]
發(fā)表于 2015-08-18 10:40 |只看該作者
4.3.5.2. Building against precompiled kernel headers

If the /lib/modules/uname -r/build symlink does not exist, and you are building against a running stock kernel (one that was shipped pre-compiled with your distribution), you may also set the KDIR variable to point to the matching kernel headers (as opposed to kernel sources) directory. Note that besides the actual kernel headers — commonly found in /usr/src/linux-version/include — the DRBD build process also looks for the kernel Makefile and configuration file (.config), which pre-built kernel headers packages commonly include.

To build against precompiled kernel headers, issue, for example:

$ cd drbd
$ make clean
$ make KDIR=/lib/modules/2.6.38/build
4.3.5.3. Building against a kernel source tree

If you are building DRBD against a kernel other than your currently running one, and you do not have precompiled kernel sources for your target kernel available, you need to build DRBD against a complete target kernel source tree. To do so, set the KDIR variable to point to the kernel sources directory:

$ cd drbd
$ make clean
$ make KDIR=/path/to/kernel/source
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP