solarian Posted August 22, 2004 Report Share Posted August 22, 2004 Hi there! Upon running the kde.org supplied Konstruct (make install) after some time I get these errors in terminal. Can somebody please tell me what's wrong? I'm only 4 months with Linux and don't understand everything yet. :( b -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -c -o ltdl.lo ltdl.cltdl.c:183: error: `LTDL_OBJDIR' undeclared here (not in a function) ltdl.c:269: error: `malloc' undeclared here (not in a function) ltdl.c:271: error: `free' undeclared here (not in a function) ltdl.c: In function `rpl_strdup': ltdl.c:368: warning: implicit declaration of function `strlen' ltdl.c:371: warning: implicit declaration of function `strcpy' ltdl.c: In function `rpl_realloc': ltdl.c:516: warning: implicit declaration of function `realloc' ltdl.c: In function `presym_init': ltdl.c:1108: warning: unused parameter `loader_data' ltdl.c: In function `presym_exit': ltdl.c:1149: warning: unused parameter `loader_data' ltdl.c: In function `presym_open': ltdl.c:1195: warning: unused parameter `loader_data' ltdl.c: In function `presym_close': ltdl.c:1241: warning: unused parameter `loader_data' ltdl.c: In function `presym_sym': ltdl.c:1251: warning: unused parameter `loader_data' ltdl.c: In function `lt_dlpreload': ltdl.c:1352: warning: unused variable `errormsg' ltdl.c: In function `lt_dlexit': ltdl.c:1382: warning: unused variable `errormsg' ltdl.c: In function `find_module': ltdl.c:1569: warning: implicit declaration of function `sprintf' ltdl.c:1599: warning: implicit declaration of function `strcat' ltdl.c: In function `find_file': ltdl.c:1698: warning: assignment discards qualifiers from pointer target type ltdl.c:1732: warning: implicit declaration of function `strncpy' ltdl.c:1748: error: `FILE' undeclared (first use in this function) ltdl.c:1748: error: (Each undeclared identifier is reported only once ltdl.c:1748: error: for each function it appears in.) ltdl.c:1748: error: `file' undeclared (first use in this function) ltdl.c:1748: warning: implicit declaration of function `fopen' ltdl.c: In function `load_deplibs': ltdl.c:1783: warning: unused parameter `deplibs' ltdl.c: In function `lt_dlopen': ltdl.c:2043: warning: implicit declaration of function `memset' ltdl.c:2072: warning: assignment discards qualifiers from pointer target type ltdl.c:2097: error: `FILE' undeclared (first use in this function) ltdl.c:2097: error: `file' undeclared (first use in this function) ltdl.c:2122: warning: implicit declaration of function `isalnum' ltdl.c:2140: error: parse error before ')' token ltdl.c:2143: error: parse error before ')' token ltdl.c:2180: warning: implicit declaration of function `fclose' ltdl.c:2187: warning: implicit declaration of function `feof' ltdl.c:2189: warning: implicit declaration of function `fgets' ltdl.c:2214: warning: implicit declaration of function `strncmp' ltdl.c:2257: warning: assignment discards qualifiers from pointer target type ltdl.c:2257: error: `NULL' undeclared (first use in this function) ltdl.c:2342: warning: implicit declaration of function `getenv' /usr/include/sys/sysmacros.h: At top level: ltdl.c:473: warning: `rpl_memcpy' defined but not used make[4]: *** [ltdl.lo] Error 1 make[4]: Leaving directory `/home/avatar/software/konstruct/kde/kdelibs/work/kdelibs-3.3.0/libltdl' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/home/avatar/software/konstruct/kde/kdelibs/work/kdelibs-3.3.0' make[2]: *** [install-work/kdelibs-3.3.0/Makefile] Error 2 make[2]: Leaving directory `/home/avatar/software/konstruct/kde/kdelibs' make[1]: *** [dep-../../kde/kdelibs] Error 2 make[1]: Leaving directory `/home/avatar/software/konstruct/kde/kdebase' make: *** [dep-../../kde/kdebase] Error 2 [avatar@localhost kde]$ Quote Link to comment Share on other sites More sharing options...
SoulSe Posted August 22, 2004 Report Share Posted August 22, 2004 Can't you urpmi it instead of compiling? Compiling in Mandrake is an ugly business... but we won't embark on that discussion here. The correct procedure for compiling (usually, some programs will be different): cd into the programs untarred directory, then: # ./configure # make # make install In that order... Quote Link to comment Share on other sites More sharing options...
solarian Posted August 22, 2004 Author Report Share Posted August 22, 2004 well, the README said to use "make install' but ok, I will try to do as you suggested Quote Link to comment Share on other sites More sharing options...
bvc Posted August 22, 2004 Report Share Posted August 22, 2004 have have yet to hear of anyone succeeding with konstruct. Have fun. Quote Link to comment Share on other sites More sharing options...
solarian Posted August 22, 2004 Author Report Share Posted August 22, 2004 no, I've already given up. what SoulSe suggested doesn't work also I'll try to do it manual Quote Link to comment Share on other sites More sharing options...
cmt29 Posted August 30, 2004 Report Share Posted August 30, 2004 (edited) Hi. I've had the same problem (Mdk 10.0, Konstruct for KDE 3.3.0). Did a quick search in google and came up with a bug report on the kde bug site - should have checked there first! http://bugs.kde.org/show_bug.cgi?id=67228 Take a look - loads of people having similar problem. One solution that seems to be mentioned lots is install an upgraded autoconf. As said in these bug comments, they're not sure why. Anyway, procedure is as #24 and #30 delete kdelibs/work and kdelibs/cookies urpmi autoconf2.5 rerun make install from meta/kde Haven't tried this myself yet because I'm on the wrong computer at the moment! Will try soon and post results. Chris Edited August 30, 2004 by cmt29 Quote Link to comment Share on other sites More sharing options...
cmt29 Posted August 30, 2004 Report Share Posted August 30, 2004 OK. It's worked for me. :) Chris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.