用root用户编译libmcrypt出错 求指点 请看看
creating libmcrypt.la
(cd .libs && rm -f libmcrypt.la && ln -s ../libmcrypt.la libmcrypt.la)
make[2]:正在离开目录 `/opt/lamp/libmcrypt-2.5.8/lib'
Making all in src
make[2]: 正在进入目录 `/opt/lamp/libmcrypt-2.5.8/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT cipher_test.o -MD -MP -MF ".deps/cipher_test.Tpo" -c -o cipher_test.o cipher_test.c; \
then mv -f ".deps/cipher_test.Tpo" ".deps/cipher_test.Po"; else rm -f ".deps/cipher_test.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o ciphertest cipher_test.o ../lib/libmcrypt.la
mkdir .libs
gcc -g -O2 -o .libs/ciphertest cipher_test.o ../lib/.libs/libmcrypt.so -Wl,--rpath -Wl,/usr/local/libmcrypt//lib
creating ciphertest
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT aes_test.o -MD -MP -MF ".deps/aes_test.Tpo" -c -o aes_test.o aes_test.c; \
then mv -f ".deps/aes_test.Tpo" ".deps/aes_test.Po"; else rm -f ".deps/aes_test.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o aestest aes_test.o ../lib/libmcrypt.la
gcc -g -O2 -o .libs/aestest aes_test.o ../lib/.libs/libmcrypt.so -Wl,--rpath -Wl,/usr/local/libmcrypt//lib
creating aestest
make[2]:正在离开目录 `/opt/lamp/libmcrypt-2.5.8/src'
Making all in doc
make[2]: 正在进入目录 `/opt/lamp/libmcrypt-2.5.8/doc'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/opt/lamp/libmcrypt-2.5.8/doc'
make[2]: 正在进入目录 `/opt/lamp/libmcrypt-2.5.8'
make[2]:正在离开目录 `/opt/lamp/libmcrypt-2.5.8'
make[1]:正在离开目录 `/opt/lamp/libmcrypt-2.5.8'
------解决方案--------------------
没觉得有啥问题。。。