Страница 1 из 1

Не компилируется

Добавлено: Вс окт 16, 2011 16:46
Mutronics
Ubuntu 11.10 64 libpcre3 libpcre3-dev установлены

Код: Выделить всё

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 rejik3.zip rejik3/*
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
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c load_cache.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c pcre.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c parse_input.c
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
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c run_make_cache.c
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
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
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
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c prune_urls.c
gcc -Wall -I/usr/include -I/usr/local/include -I/usr/include/pcre -c write_cache.c
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
pcre.o: In function `load_pcre_file':
pcre.c:(.text+0x4da): undefined reference to `pcre_compile'
pcre.c:(.text+0x60b): undefined reference to `pcre_study'
pcre.o: In function `check_pcre':
pcre.c:(.text+0x7d0): undefined reference to `pcre_exec'
get_opt.o: In function `get_opt':
get_opt.c:(.text+0x455): undefined reference to `pcre_compile'
get_opt.c:(.text+0x50e): undefined reference to `pcre_study'
get_opt.c:(.text+0x64c): undefined reference to `pcre_exec'
get_opt.c:(.text+0x6cf): undefined reference to `pcre_exec'
get_opt.c:(.text+0x752): undefined reference to `pcre_exec'
get_opt.c:(.text+0x945): undefined reference to `pcre_exec'
get_opt.c:(.text+0x9c8): undefined reference to `pcre_exec'
get_opt.o:get_opt.c:(.text+0xa4b): more undefined references to `pcre_exec' follow
collect2: выполнение ld завершилось с кодом возврата 1
make: *** [all] Ошибка 1

Re: Не компилируется

Добавлено: Вс окт 16, 2011 20:44
Slava
у меня на старой слаке pcre-7.7
На новом сентосе pcre-6.6

Посмотрите, возможно Вы установили устаревшую версию pcre.