я в шоке от работы Rejik под Ubuntu-Server 6.06.1 [Решено]
Добавлено: Ср окт 17, 2007 23:18
сабж.
никогда не подумал бы что у Режика такое может быть....
чем лечить ???
сабж компилируется с ошибками уже и pcre-7.4 поставил и все никака
компилиться то компилиться.... только не фига не работает.....
P.S. "как настраивается режик я знаю ибо на RHEL стоит и работает.... просясните ситуацию с Ubuntu/Debian
никогда не подумал бы что у Режика такое может быть....
чем лечить ???
сабж компилируется с ошибками уже и pcre-7.4 поставил и все никака
Код: Выделить всё
root@serv:~/rejik/redirector-3.2.1/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: In function ‘raw_change’:
raw_change.c:25: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness
raw_change.c:25: warning: pointer targets in passing argument 2 of ‘strstr’ differ in signedness
raw_change.c:25: warning: pointer targets in assignment differ in signedness
raw_change.c:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
raw_change.c:34: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
raw_change.c:35: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
raw_change.c:35: warning: pointer targets in assignment differ in signedness
raw_change.c:44: warning: 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: In function ‘load_cache’:
load_cache.c:20: warning: pointer targets in passing argument 1 of ‘access’ differ in signedness
load_cache.c:27: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
load_cache.c:90: warning: 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: In function ‘load_pcre_file’:
pcre.c:72: warning: pointer targets in passing argument 4 of ‘pcre_compile’ differ in signedness
pcre.c: In function ‘check_pcre’:
pcre.c:107: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
pcre.c:107: warning: pointer targets in passing argument 3 of ‘pcre_exec’ differ in signedness
pcre.c:107: warning: pointer targets in passing argument 7 of ‘pcre_exec’ differ in signedness
pcre.c:110: warning: 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: In function ‘parse_input’:
parse_input.c:58: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
parse_input.c:105: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:121: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:137: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:153: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
parse_input.c:215: warning: 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: In function ‘check_url’:
check_urls.c:30: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
check_urls.c:107: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
check_urls.c:134: warning: 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: In function ‘run_make_cache’:
run_make_cache.c:78: warning: pointer targets in passing argument 1 of ‘execl’ differ in signedness
run_make_cache.c:78: warning: 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: In function ‘err_mes’:
err_mes.c:11: warning: 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: In function ‘get_opt’:
get_opt.c:112: warning: pointer targets in assignment differ in signedness
get_opt.c:149: warning: pointer targets in assignment differ in signedness
get_opt.c:166: warning: pointer targets in assignment differ in signedness
get_opt.c:183: warning: pointer targets in assignment differ in signedness
get_opt.c:201: warning: pointer targets in assignment differ in signedness
get_opt.c:227: warning: pointer targets in assignment differ in signedness
get_opt.c:251: warning: pointer targets in assignment differ in signedness
get_opt.c:296: warning: pointer targets in assignment differ in signedness
get_opt.c:328: warning: 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: In function ‘load_urls’:
load_urls.c:81: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:89: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:96: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:97: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:104: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:105: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:112: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
load_urls.c:113: warning: 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: In function ‘prune_urls’:
prune_urls.c:58: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:61: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:84: warning: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:121: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:121: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness
prune_urls.c:123: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:127: warning: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:160: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:162: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:163: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:167: warning: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:168: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:205: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:205: warning: pointer targets in passing argument 2 of ‘cache2url’ differ in signedness
prune_urls.c:208: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
prune_urls.c:216: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:217: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:218: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
prune_urls.c:231: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
prune_urls.c:232: warning: 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: In function ‘write_cache’:
write_cache.c:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
write_cache.c:93: warning: 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: In function ‘main’:
redirector.c:29: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:38: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:51: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
redirector.c:53: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:54: warning: pointer targets in passing argument 1 of ‘printf’ differ in signedness
redirector.c:69: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness
redirector.c:78: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:79: warning: pointer targets in passing argument 1 of ‘err_mes’ differ in signedness
redirector.c:133: warning: pointer targets in passing argument 2 of ‘parse_urls’ differ in signedness
redirector.c:136: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
redirector.c:137: warning: 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
компилиться то компилиться.... только не фига не работает.....
P.S. "как настраивается режик я знаю ибо на RHEL стоит и работает.... просясните ситуацию с Ubuntu/Debian