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

сборка режика под Х64

Добавлено: Ср сен 24, 2008 17:03
mister.oneill
Доброго дня!

Такая вот проблема:
При сборке rejik'а под AltLinux, с архитектурой Х64 выявляется ошибка

get_opt.o:get_opt.c:(.text+0xb26): more undefined references to pcre_exec' follow
collect2: ld returned 1 exit status
make: *** [all] Error 1

чего именно ему не хватает? И еще, есть ли особенности по сборке rejik'а под Х64? ну...там... дописать чего-нибудь или делать все как обычно?

Добавлено: Чт сен 25, 2008 20:20
Slava
Ему не хватает библиотеки pcre.

Добавлено: Пт сен 26, 2008 8:24
mister.oneill
Ну так в том и непонятность...
Я перепробовал все библиотеки pcre которые были в репозитории

# apt-cache search pcre
grep - The GNU versions of grep pattern matching utilities
pcre-ocaml - PCRE bindings for OCaml
pcre-ocaml-runtime - Runtime part of the PCRE bindings for OCaml
sqlite3-pcre - Perl-compatible regular expression support for the SQLite
postfix-pcre - PCRE map support for Postfix
libpcre-devel - Perl-compatible regular expressions development environment
libpcre-devel-static - Perl-compatible regular expressions static library
libpcre3 - Perl-compatible regular expression shared library
libpcrecpp - Perl-compatible regular expressions C++ wrapper shared library
libpcrecpp-devel - Perl-compatible regular expressions C++ wrapper development library and header files

вот какая из них нужна? :)

Добавлено: Пт сен 26, 2008 17:10
mister.oneill
Может причина не в нехватке библиотеки...
До этой же ошибки он что-то ковырял с этой pcre

Вот более полный лог...

pcre.o: In function `load_pcre_file':
pcre.c:(.text+0x4d7): undefined reference to `pcre_compile'
pcre.c:(.text+0x614): undefined reference to `pcre_study'
pcre.o: In function `check_pcre':
pcre.c:(.text+0x7de): undefined reference to `pcre_exec'
get_opt.o: In function `get_opt':
get_opt.c:(.text+0x453): undefined reference to `pcre_compile'
get_opt.c:(.text+0x503): undefined reference to `pcre_study'
get_opt.c:(.text+0x625): undefined reference to `pcre_exec'
get_opt.c:(.text+0x6a3): undefined reference to `pcre_exec'
get_opt.c:(.text+0x869): undefined reference to `pcre_exec'
get_opt.c:(.text+0x8e7): undefined reference to `pcre_exec'
get_opt.c:(.text+0x9fd): undefined reference to `pcre_exec'
get_opt.o:get_opt.c:(.text+0xb26): more undefined references to `pcre_exec' follow
collect2: ld returned 1 exit status
make: *** [all] Error 1

Добавлено: Пт сен 26, 2008 17:34
Slava
Попробуйте libpcre-devel

Добавлено: Пн сен 29, 2008 11:06
mister.oneill
та же ошибка...

ппц (

Добавлено: Пн сен 29, 2008 11:10
Slava
На сколько я помню, режик был в репозитарии AltLinux, найдите, посмотрите зависимости.

Добавлено: Пн сен 29, 2008 11:14
mister.oneill
Может все таки все дело в 64 разрядах?

Добавлено: Пн сен 29, 2008 11:17
mister.oneill
ааааа...хахаха

нашел в репозиториях режик...вот я ЛОЛ ((
надо было сразу там смотреть..
сейчас буду с разбираться...