LINUX.ORG.RU

libqalculate-0.9.4


0

0

У кого-нибудь получилось собрать?
http://qalculate.sourceforge.net
у меня следующая ошибка при сборке (Slackware 10.2):

(cd .libs && rm -f libqalculate.la && ln -s ../libqalculate.la libqalculate.la)
make[2]: Leaving directory `/usr/local/libqalculate-0.9.4/libqalculate'
Making all in src
make[2]: Entering directory `/usr/local/libqalculate-0.9.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I../libqalculate -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -MT qalc.o -MD -MP -MF ".deps/qalc.Tpo" \
-c -o qalc.o `test -f 'qalc.cc' || echo './'`qalc.cc; \
then mv -f ".deps/qalc.Tpo" ".deps/qalc.Po"; \
else rm -f ".deps/qalc.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link g++ -g -O2 -o qalc qalc.o -lglib-2.0 -lxml2 -lz -lm -lreadline -lhistory -lncurses ../libqalculate/libqalculate.la -lpthread -L/usr/lib -lcln -lgmp
mkdir .libs
g++ -g -O2 -o .libs/qalc qalc.o -lm -lreadline -lhistory -lncurses ../libqalculate/.libs/libqalculate.so /usr/lib/libglib-2.0.so /usr/lib/libxml2.so -ldl -lz -L/usr/lib -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../.. -lpthread /usr/lib/libcln.so /usr/lib/./libstdc++.so /usr/lib/libgmp.so -Wl,--rpath -Wl,/usr/lib/.
qalc.o(.text+0x2b28c): In function `__static_initialization_and_destruction_0':
/usr/local/libqalculate-0.9.4/src/qalc.cc:189: undefined reference to `_GLOBAL__I_cl_module__cl_C_ring__firstglobalfun'
qalc.o(.text+0x2b296): In function `__static_initialization_and_destruction_0':
/usr/include/cln/univpoly_real.h:226: undefined reference to `_GLOBAL__I_cl_module__cl_R_ring__firstglobalfun'
qalc.o(.text+0x2b2a4): In function `__static_initialization_and_destruction_0':
/usr/include/cln/univpoly_rational.h:226: undefined reference to `_GLOBAL__I_cl_module__cl_RA_ring__firstglobalfun'
qalc.o(.text+0x2b2b2): In function `__static_initialization_and_destruction_0':
/usr/include/cln/univpoly_integer.h:221: undefined reference to `_GLOBAL__I_cl_module__cl_I_ring__firstglobalfun'
qalc.o(.text+0x2b565): In function `__static_initialization_and_destruction_0':
../libqalculate/includes.h:508: undefined reference to `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
qalc.o(.text+0x2b573): In function `__static_initialization_and_destruction_0':
/usr/include/cln/dfloat.h:314: undefined reference to `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
qalc.o(.text+0x2b581): In function `__static_initialization_and_destruction_0':
/usr/include/cln/modinteger.h:49: undefined reference to `_GLOBAL__I_cl_module__cl_MI__firstglobalfun'
qalc.o(.text+0x2b58f):/usr/include/cln/modinteger.h:361: undefined reference to `_GLOBAL__I_cl_module__cl_MI__firstglobalfun'
qalc.o(.text+0x2b59d): In function `__static_initialization_and_destruction_0':
/usr/include/cln/GV_number.h:35: undefined reference to `_GLOBAL__I_cl_module__cl_GV_number__firstglobalfun'
qalc.o(.text+0x2b5ab): In function `__static_initialization_and_destruction_0':
/usr/include/cln/GV_integer.h:57: undefined reference to `_GLOBAL__I_cl_module__cl_GV_I__firstglobalfun'
qalc.o(.text+0x2b5b9): In function `__static_initialization_and_destruction_0':
/usr/include/cln/SV_number.h:46: undefined reference to `_GLOBAL__I_cl_module__cl_SV_number__firstglobalfun'
qalc.o(.text+0x2b5c7): In function `__static_initialization_and_destruction_0':
/usr/include/cln/SV_ringelt.h:47: undefined reference to `_GLOBAL__I_cl_module__cl_SV_ringelt__firstglobalfun'
qalc.o(.text+0x2b5d5): In function `__static_initialization_and_destruction_0':
/usr/include/cln/univpoly.h:357: undefined reference to `_GLOBAL__I_cl_module__cl_UP__firstglobalfun'
qalc.o(.text+0x2b5e3):/usr/include/cln/univpoly.h:454: undefined reference to `_GLOBAL__I_cl_module__cl_UP_no_ring__firstglobalfun'
qalc.o(.text+0x2b5ed):/usr/include/cln/univpoly.h:454: undefined reference to `_GLOBAL__I_cl_module__cl_FF_globals__firstglobalfun'
qalc.o(.text+0x2b5fb): In function `__static_initialization_and_destruction_0':
/usr/include/cln/dfloat_class.h:55: undefined reference to `_GLOBAL__I_cl_module__cl_DF_globals__firstglobalfun'
qalc.o(.text+0x2b609): In function `__static_initialization_and_destruction_0':
/usr/include/cln/lfloat_class.h:56: undefined reference to `_GLOBAL__I_cl_module__cl_LF_globals__firstglobalfun'
qalc.o(.text+0x2b617): In function `__static_initialization_and_destruction_0':
/usr/include/cln/float.h:689: undefined reference to `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
qalc.o(.text+0x2b641): In function `__static_initialization_and_destruction_0':
/usr/include/cln/sfloat.h:291: undefined reference to `_GLOBAL__I_cl_module__cl_symbol__firstglobalfun'
qalc.o(.text+0x2b64f): In function `__static_initialization_and_destruction_0':
/usr/include/cln/ring.h:370: undefined reference to `_GLOBAL__I_cl_module__cl_no_ring__firstglobalfun'
qalc.o(.text+0x2b8d0): In function `__static_initialization_and_destruction_0':
/usr/include/cln/random.h:36: undefined reference to `_GLOBAL__I_cl_module__cl_random_def__firstglobalfun'
qalc.o(.text+0x2b90b): In function `__static_initialization_and_destruction_0':
/usr/include/cln/io.h:91: undefined reference to `_GLOBAL__I_cl_module__cl_prin_globals__firstglobalfun'
qalc.o(.text+0x2b919): In function `__static_initialization_and_destruction_0':
/usr/include/cln/string.h:130: undefined reference to `_GLOBAL__I_cl_module__cl_st_null__firstglobalfun'
collect2: ld returned 1 exit status
make[2]: *** [qalc] Ошибка 1
make[2]: Leaving directory `/usr/local/libqalculate-0.9.4/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/usr/local/libqalculate-0.9.4'
make: *** [all] Ошибка 2

★★★★★

Ответ на: комментарий от Johnny_Mnemonic

стоит 1.1.11 или стоит поставить из cvs?

UVV ★★★★★
() автор топика
Ответ на: комментарий от UVV


ради интересса скомпилил сам cln и libqalculate сверху.
для ./configure задавал только опцию "--prefix=/usr".
CXXFLAGS для обоих пакетов были:
-O2 -mtune=athlon-xp -pipe -ffast-math -minline-all-stringops -mno-align-stringops

всё чики-пуки.

Johnny_Mnemonic
()
Ответ на: комментарий от Johnny_Mnemonic

gcc 3.3.6
glibc 2.3.5
arhc какой у тебя?
P.S.: меня этот продукт заинтересовал, в основном, т.к. они отделили gui от логики (Молодцы!). В качестве обучения очень интересно!

UVV ★★★★★
() автор топика
Ответ на: комментарий от Johnny_Mnemonic

Спасибо за беседу! ;-)

UVV ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.