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

Обсуждение программы редиректора
Ответить
mister.oneill
Сообщения: 6
Зарегистрирован: Ср сен 24, 2008 16:48
Откуда: Саратов

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

Сообщение 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? ну...там... дописать чего-нибудь или делать все как обычно?

Slava
Site Admin
Сообщения: 2251
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Сообщение Slava »

Ему не хватает библиотеки pcre.

mister.oneill
Сообщения: 6
Зарегистрирован: Ср сен 24, 2008 16:48
Откуда: Саратов

Сообщение 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

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

mister.oneill
Сообщения: 6
Зарегистрирован: Ср сен 24, 2008 16:48
Откуда: Саратов

Сообщение 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

Slava
Site Admin
Сообщения: 2251
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Сообщение Slava »

Попробуйте libpcre-devel

mister.oneill
Сообщения: 6
Зарегистрирован: Ср сен 24, 2008 16:48
Откуда: Саратов

Сообщение mister.oneill »

та же ошибка...

ппц (

Slava
Site Admin
Сообщения: 2251
Зарегистрирован: Пт апр 02, 2004 12:34
Контактная информация:

Сообщение Slava »

На сколько я помню, режик был в репозитарии AltLinux, найдите, посмотрите зависимости.

mister.oneill
Сообщения: 6
Зарегистрирован: Ср сен 24, 2008 16:48
Откуда: Саратов

Сообщение mister.oneill »

Может все таки все дело в 64 разрядах?

mister.oneill
Сообщения: 6
Зарегистрирован: Ср сен 24, 2008 16:48
Откуда: Саратов

Сообщение mister.oneill »

ааааа...хахаха

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

Ответить