|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Artem Babadzhanyants 2:5030/922 16 Nov 2001 23:22:00 To : Andrew Lutov Subject : mrtg -------------------------------------------------------------------------------- 16 Nov 01 10:33, Andrew Lutov wrote to All: >> >>AB> checking for gdImagePng_jpg_ft in -lgd... no >> >>> checking for gd.h... yes >> MT> [] >> >> AB>> В чем дело ?? >> MT> Hе в этом? >> Так может быть, но поправить как ? >> Все нужные библиотеки стоят :-o AL> Скинь все в каталог MRTG илизадай все ключи для ./configure AL> типа --with-gd-lib=DIR and --with-gd-inc=DIR с правильными путями AL> к файлам А вот в config.log вижу следующее : /usr/lib/libgd.so: undefined reference to `jpeg_write_scanlines' collect2: ld returned 1 exit status configure: failed program was: #line 1267 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePng(); int main() { gdImagePng() ; return 0; } configure:1303: checking for gdImagePng_jpg in -lgd configure:1322: gcc -o conftest -g -O2 -lgd -lm conftest.c -lgd -lpn g -lz -ljpeg -lm -lm 1>&5 /tmp/ccyABe9c.o: In function `main': /temp/mrtg-2.9.17/configure:1318: undefined reference to `gdImagePng_j ... и т.д ... Это, что же ? gdlib собралась криво ? Hикакой ругани при компиляции gdlib небыло :-o Bye Artem --- * Origin: MB-Telescope Station (2:5030/922) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/22833bf591e5.html, оценка из 5, голосов 10
|