Не могу поставить режик
Добавлено: Пн мар 03, 2008 17:02
прочитал http://dh.opennet.ru/pcre5.html
не понял что надо сделать. Pcre поставил из рпмов потом собрал с оф сайта. Ось Fedora 7 не могу поставить и все тут.
[root@proxy redirector-3.2.1]# make
rm -f pass.o raw_change.o load_cache.o pcre.o parse_input.o init_vars.o check_urls.o run_make_cache.o new_url.o redirect.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o load_urls.o prune_urls.o write_cache.o need_cache_update.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o redirector make-cache OUT
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pass.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c raw_change.c
raw_change.c: В функции ‘raw_change’
raw_change.c:25: предупреждение: pointer targets in passing argument 1 of ‘strstr’ differ in signedness
raw_change.c:25: предупреждение: pointer targets in passing argument 2 of ‘strstr’ differ in signedness
raw_change.c:25: предупреждение: pointer targets in assignment differ in signedness
raw_change.c:33: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
raw_change.c:34: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
raw_change.c:35: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
raw_change.c:35: предупреждение: pointer targets in assignment differ in signedness
raw_change.c:44: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_cache.c
load_cache.c: В функции ‘load_cache’
load_cache.c:20: предупреждение: pointer targets in passing argument 1 of ‘access’ differ in signedness
load_cache.c:27: предупреждение: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
load_cache.c:90: предупреждение: pointer targets in assignment differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pcre.c
pcre.c: В функции ‘load_pcre_file’
pcre.c:72: предупреждение: pointer targets in passing argument 4 of ‘pcre_compile’ differ in signedness
pcre.c: В функции ‘check_pcre’
pcre.c:107: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
pcre.c:107: предупреждение: pointer targets in passing argument 3 of ‘pcre_exec’ differ in signedness
pcre.c:107: предупреждение: pointer targets in passing argument 7 of ‘pcre_exec’ differ in signedness
pcre.c:110: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_input.c
parse_input.c: В функции ‘parse_input’
parse_input.c:58: предупреждение: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
parse_input.c:105: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:121: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:137: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:153: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:215: предупреждение: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c init_vars.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c check_urls.c
check_urls.c: В функции ‘check_url’
check_urls.c:30: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
check_urls.c:107: предупреждение: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
check_urls.c:134: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c run_make_cache.c
run_make_cache.c: В функции ‘run_make_cache’
run_make_cache.c:78: предупреждение: pointer targets in passing argument 1 of ‘execl’ differ in signedness
run_make_cache.c:78: предупреждение: pointer targets in passing argument 2 of ‘execl’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c new_url.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c redirect.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c err_mes.c
err_mes.c: В функции ‘err_mes’
err_mes.c:11: предупреждение: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c now.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c get_opt.c
get_opt.c: В функции ‘get_opt’
get_opt.c:112: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:149: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:166: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:183: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:201: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:227: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:251: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:296: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:328: предупреждение: pointer targets in assignment differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c cache2url.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c ip.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c id.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c comparing.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_urls.c
load_urls.c: В функции ‘load_urls’
load_urls.c:81: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:89: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:96: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:97: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:104: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:105: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:112: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:113: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c prune_urls.c
prune_urls.c: В функции ‘prune_urls’
prune_urls.c:58: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:61: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:84: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:121: предупреждение: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:121: предупреждение: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness
prune_urls.c:123: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:127: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:160: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:162: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:163: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:167: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:168: предупреждение: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:205: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:205: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:208: предупреждение: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:216: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:217: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:218: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:231: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:232: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c write_cache.c
write_cache.c: В функции ‘write_cache’
write_cache.c:37: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
write_cache.c:93: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c need_cache_update.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -o redirector redirector.c -L/lib `pcre-config --libs` pass.o raw_change.o load_cache.o pcre.o parse_input.o init_vars.o check_urls.o run_make_cache.o new_url.o redirect.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o
redirector.c: В функции ‘main’
redirector.c:29: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:38: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:51: предупреждение: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
redirector.c:53: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:54: предупреждение: pointer targets in passing argument 1 of ‘printf’ differ in signedness
redirector.c:69: предупреждение: pointer targets in passing argument 1 of ‘fgets’ differ in signedness
redirector.c:78: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:79: предупреждение: pointer targets in passing argument 1 of ‘err_mes’ differ in signedness
redirector.c:133: предупреждение: pointer targets in passing argument 2 of ‘parse_urls’ differ in signedness
redirector.c:136: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:137: предупреждение: pointer targets in passing argument 1 of ‘err_mes’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -o make-cache make-cache.c -L/lib `pcre-config --libs` load_urls.o prune_urls.o write_cache.o need_cache_update.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o
не понял что надо сделать. Pcre поставил из рпмов потом собрал с оф сайта. Ось Fedora 7 не могу поставить и все тут.
[root@proxy redirector-3.2.1]# make
rm -f pass.o raw_change.o load_cache.o pcre.o parse_input.o init_vars.o check_urls.o run_make_cache.o new_url.o redirect.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o load_urls.o prune_urls.o write_cache.o need_cache_update.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o redirector make-cache OUT
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pass.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c raw_change.c
raw_change.c: В функции ‘raw_change’
raw_change.c:25: предупреждение: pointer targets in passing argument 1 of ‘strstr’ differ in signedness
raw_change.c:25: предупреждение: pointer targets in passing argument 2 of ‘strstr’ differ in signedness
raw_change.c:25: предупреждение: pointer targets in assignment differ in signedness
raw_change.c:33: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
raw_change.c:34: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
raw_change.c:35: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
raw_change.c:35: предупреждение: pointer targets in assignment differ in signedness
raw_change.c:44: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_cache.c
load_cache.c: В функции ‘load_cache’
load_cache.c:20: предупреждение: pointer targets in passing argument 1 of ‘access’ differ in signedness
load_cache.c:27: предупреждение: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
load_cache.c:90: предупреждение: pointer targets in assignment differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pcre.c
pcre.c: В функции ‘load_pcre_file’
pcre.c:72: предупреждение: pointer targets in passing argument 4 of ‘pcre_compile’ differ in signedness
pcre.c: В функции ‘check_pcre’
pcre.c:107: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
pcre.c:107: предупреждение: pointer targets in passing argument 3 of ‘pcre_exec’ differ in signedness
pcre.c:107: предупреждение: pointer targets in passing argument 7 of ‘pcre_exec’ differ in signedness
pcre.c:110: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_input.c
parse_input.c: В функции ‘parse_input’
parse_input.c:58: предупреждение: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
parse_input.c:105: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:121: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:137: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:153: предупреждение: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:215: предупреждение: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c init_vars.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c check_urls.c
check_urls.c: В функции ‘check_url’
check_urls.c:30: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
check_urls.c:107: предупреждение: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
check_urls.c:134: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c run_make_cache.c
run_make_cache.c: В функции ‘run_make_cache’
run_make_cache.c:78: предупреждение: pointer targets in passing argument 1 of ‘execl’ differ in signedness
run_make_cache.c:78: предупреждение: pointer targets in passing argument 2 of ‘execl’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c new_url.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c redirect.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c err_mes.c
err_mes.c: В функции ‘err_mes’
err_mes.c:11: предупреждение: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c now.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c get_opt.c
get_opt.c: В функции ‘get_opt’
get_opt.c:112: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:149: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:166: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:183: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:201: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:227: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:251: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:296: предупреждение: pointer targets in assignment differ in signedness
get_opt.c:328: предупреждение: pointer targets in assignment differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c cache2url.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c ip.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c id.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c comparing.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_urls.c
load_urls.c: В функции ‘load_urls’
load_urls.c:81: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:89: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:96: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:97: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:104: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:105: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:112: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:113: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c prune_urls.c
prune_urls.c: В функции ‘prune_urls’
prune_urls.c:58: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:61: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:84: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:121: предупреждение: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:121: предупреждение: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness
prune_urls.c:123: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:127: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:160: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:162: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:163: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:167: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:168: предупреждение: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:205: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:205: предупреждение: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:208: предупреждение: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:216: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:217: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:218: предупреждение: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:231: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:232: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c write_cache.c
write_cache.c: В функции ‘write_cache’
write_cache.c:37: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
write_cache.c:93: предупреждение: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c need_cache_update.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -o redirector redirector.c -L/lib `pcre-config --libs` pass.o raw_change.o load_cache.o pcre.o parse_input.o init_vars.o check_urls.o run_make_cache.o new_url.o redirect.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o
redirector.c: В функции ‘main’
redirector.c:29: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:38: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:51: предупреждение: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
redirector.c:53: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:54: предупреждение: pointer targets in passing argument 1 of ‘printf’ differ in signedness
redirector.c:69: предупреждение: pointer targets in passing argument 1 of ‘fgets’ differ in signedness
redirector.c:78: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:79: предупреждение: pointer targets in passing argument 1 of ‘err_mes’ differ in signedness
redirector.c:133: предупреждение: pointer targets in passing argument 2 of ‘parse_urls’ differ in signedness
redirector.c:136: предупреждение: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:137: предупреждение: pointer targets in passing argument 1 of ‘err_mes’ differ in signedness
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -o make-cache make-cache.c -L/lib `pcre-config --libs` load_urls.o prune_urls.o write_cache.o need_cache_update.o err_mes.o now.o get_opt.o parse_urls.o cache2url.o ip.o id.o comparing.o