prevajanje z --enable-static
Jernej Vodopivec
Jernej.Vodopivec at atrp.si
Tue Jan 20 16:45:46 CET 2004
Zivjo!
Imam eno tezavo: ko hoces prevesti nek program (zabbix) z --enable-static,
dobim tole:
/tmp/ccfW82h5.o(.text+0xb96): In function `get_value_zabbix':
/home/jvodopivec/work/zabbix-1.0beta13/src/zabbix_sucker/zabbix_sucker.c:534:
warning: Using 'gethostbyname' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i486-linux/3.3.2/../../../libmysqlclient.a(libmysql.o)(.text+0xe09):
In function `mysql_once_init':
: warning: Using 'getservbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used for
linking
/usr/lib/gcc-lib/i486-linux/3.3.2/../../../libsnmp.a(keytools.o)(.text+0xc3):
In function `generate_Ku':
: undefined reference to `EVP_md5'
/usr/lib/gcc-lib/i486-linux/3.3.2/../../../libsnmp.a(keytools.o)(.text+0xce):
In function `generate_Ku':
: undefined reference to `EVP_DigestInit'
............in build pade.
Ce prevedem brez --enable-static, s prevajanjem nimam tezav.
Ali mi lahko da kdo kaksen nasvet, kako to uspesno prevesti z
--enable-static?
Hvala, lp!
Jernej
More information about the lugos-prog
mailing list