- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2017-5-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
VPS服务商:Vultr 1G版
系统:CentOS 7.3.1611 x86_64
内核:Linux lnmp.org 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
使用:LNMP 1.4 测试版 2017年5月16日10:59 GMT+8
选择:nginx-1.12.0、mysql-5.5.56、php-5.6.30、jemalloc-4.5.0、Enable InnoDB: y
出现一下警告(是否对安装运行有影响?):
1、
make[2]: 进入目录“/root/lnmp1.4/src/mcrypt-2.6.8/src”
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT extra.o -MD -MP -MF .deps/extra.Tpo -c -o extra.o extra.c
extra.c: 在函数‘write_file_head’中:
extra.c:365:6: 警告:对指针赋值时目标与指针符号不一致 [-Wpointer-sign]
buf = mhash_get_hash_name(hash_algorithm);
^
extra.c: 在函数‘test_file_headers’中:
extra.c:634:9: 警告:建议在‘!’的操作数周围加上括号,或将‘&’改为‘&&’,或将‘!’改为‘~’ [-Wparentheses]
if ( !(!x & 0x80) && bare_flag == FALSE) {
^
extra.c: 在文件作用域:
extra.c:45:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] =
^
mv -f .deps/extra.Tpo .deps/extra.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT mcrypt.o -MD -MP -MF .deps/mcrypt.Tpo -c -o mcrypt.o mcrypt.c
mcrypt.c: 在函数‘check_hash_algo’中:
mcrypt.c:111:9: 警告:对指针赋值时目标与指针符号不一致 [-Wpointer-sign]
y = mhash_get_hash_name(i);
^
mcrypt.c: 在函数‘main’中:
mcrypt.c:189:43: 警告:变量‘used_algo’被设定但未被使用 [-Wunused-but-set-variable]
int x, y, i, file_count = 0, keys = 0, used_algo = FALSE;
^
mcrypt.c: 在文件作用域:
mcrypt.c:44:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] =
^
mv -f .deps/mcrypt.Tpo .deps/mcrypt.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT keys.o -MD -MP -MF .deps/keys.Tpo -c -o keys.o keys.c
keys.c:29:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] = "$Id: keys.c,v 1.2 2007/11/07 17:10:20 nmav Exp $";
^
mv -f .deps/keys.Tpo .deps/keys.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c
random.c:27:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] = "$Id: random.c,v 1.2 2007/11/07 17:10:22 nmav Exp $";
^
mv -f .deps/random.Tpo .deps/random.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT rndunix.o -MD -MP -MF .deps/rndunix.Tpo -c -o rndunix.o rndunix.c
mv -f .deps/rndunix.Tpo .deps/rndunix.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c
xmalloc.c:23:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] = "$Id: xmalloc.c,v 1.2 2007/11/07 17:10:23 nmav Exp $";
^
mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT functions.o -MD -MP -MF .deps/functions.Tpo -c -o functions.o functions.c
mv -f .deps/functions.Tpo .deps/functions.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT errors.o -MD -MP -MF .deps/errors.Tpo -c -o errors.o errors.c
mv -f .deps/errors.Tpo .deps/errors.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT bits.o -MD -MP -MF .deps/bits.Tpo -c -o bits.o bits.c
mv -f .deps/bits.Tpo .deps/bits.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT openpgp.o -MD -MP -MF .deps/openpgp.Tpo -c -o openpgp.o openpgp.c
openpgp.c: 在函数‘pgp_encrypt_wrap’中:
openpgp.c:40:2: 警告:传递‘get_password’的第 2 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
if (pass==NULL) _pass = get_password( ENCRYPT, &len);
^
In file included from openpgp.c:24:0:
./extra.h:10:8: 附注:需要类型‘unsigned int *’,但实参的类型为‘int *’
char * get_password( int mode, unsigned int *len);
^
openpgp.c: 在函数‘pgp_decrypt_wrap’中:
openpgp.c:62:2: 警告:传递‘get_password’的第 2 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
if (pass==NULL) _pass = get_password( DECRYPT, &len);
^
In file included from openpgp.c:24:0:
./extra.h:10:8: 附注:需要类型‘unsigned int *’,但实参的类型为‘int *’
char * get_password( int mode, unsigned int *len);
^
mv -f .deps/openpgp.Tpo .deps/openpgp.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT rndwin32.o -MD -MP -MF .deps/rndwin32.Tpo -c -o rndwin32.o rndwin32.c
rndwin32.c:18:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] = "$Id: rndwin32.c,v 1.3 2007/11/07 17:14:58 nmav Exp $";
^
mv -f .deps/rndwin32.Tpo .deps/rndwin32.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT environ.o -MD -MP -MF .deps/environ.Tpo -c -o environ.o environ.c
environ.c:28:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] = "$Id: environ.c,v 1.2 2007/11/07 17:10:19 nmav Exp $";
^
mv -f .deps/environ.Tpo .deps/environ.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT getpass.o -MD -MP -MF .deps/getpass.Tpo -c -o getpass.o getpass.c
getpass.c: 在函数‘readpass’中:
getpass.c:106:5: 警告:对指针赋值时目标与指针符号不一致 [-Wpointer-sign]
ap = asterix;
^
getpass.c: 在文件作用域:
getpass.c:31:13: 警告:‘rcsid’定义后未使用 [-Wunused-variable]
static char rcsid[] = "$Id: getpass.c,v 1.1.1.1 2003/09/08 17:25:49 imipak Exp $";
^
mv -f .deps/getpass.Tpo .deps/getpass.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT ufc_crypt.o -MD -MP -MF .deps/ufc_crypt.Tpo -c -o ufc_crypt.o ufc_crypt.c
mv -f .deps/ufc_crypt.Tpo .deps/ufc_crypt.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c
mv -f .deps/popen.Tpo .deps/popen.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT classic.o -MD -MP -MF .deps/classic.Tpo -c -o classic.o classic.c
classic.c: 在函数‘decrypt_general’中:
classic.c:940:11: 警告:对指针赋值时目标与指针符号不一致 [-Wpointer-sign]
command = mhash_get_hash_name(hash_algorithm);
^
classic.c: 在函数‘print_hashlist’中:
classic.c:1056:12: 警告:对指针赋值时目标与指针符号不一致 [-Wpointer-sign]
tmpc = mhash_get_hash_name(tmpi);
^
mv -f .deps/classic.Tpo .deps/classic.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../intl -g -O2 -I/usr/local/include -Wall -MT rfc2440.o -MD -MP -MF .deps/rfc2440.Tpo -c -o rfc2440.o rfc2440.c
rfc2440.c: 在函数‘dek_load’中:
rfc2440.c:566:7: 警告:传递‘mhash_keygen_ext’的第 5 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
DIM (d->key), pass, strlen(pass));
^
In file included from /usr/local/include/mhash.h:10:0,
from ./defines.h:8,
from rfc2440.c:18:
/usr/local/include/mutils/mhash.h:106:14: 附注:需要类型‘uint8_t *’,但实参的类型为‘char *’
mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data,
^
rfc2440.c: 在函数‘dek_create’中:
rfc2440.c:617:7: 警告:传递‘mhash_keygen_ext’的第 5 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
DIM (d->key), pass, strlen(pass));
^
In file included from /usr/local/include/mhash.h:10:0,
from ./defines.h:8,
from rfc2440.c:18:
/usr/local/include/mutils/mhash.h:106:14: 附注:需要类型‘uint8_t *’,但实参的类型为‘char *’
mutils_error mhash_keygen_ext(keygenid algorithm, KEYGEN data,
^
等等,96处警告。
[ 本帖最后由 Aeon_愛戀 于 2017-5-18 20:38 编辑 ] |
|