Compilation failure KDE 3.4.2 at libltdl using konstruct

Basil Fowler bjfowler at chanzy.eclipse.co.uk
Sat Sep 10 08:29:26 BST 2005


I have been trying to compile KDE 3.4.2 from source using Konstruct.  Whenever 
I use Konstruct, the compilation halts at libltdl during the compilation of 
arts.

I had similar problems with KDE 3.3.0, but not with KDE 3.3.1.

Perhaps I am lacking a library? Can anyone point me on the right track.

The base system is Mandrake 9.2.  The target directory for KDE 3.4.2 
is /opt/kde3.4.2

TIA

Basil Fowler

-------------------------------------------------------
The error messages are :

   Entering  
directory  /var/incoming/others/konstruct/libs/arts/work/arts-1.4.2/libltdl'
/bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. 
-I.. -I../mcop -I../artsc   -DQT_THREAD_SUPPORT -I/opt/kde3.4.2/include 
-I/usr/lib/qt3//include -I/usr/X11R6/include -I/opt/kde3.4.2/include 
-I/usr/lib/qt3//include -I/usr/X11R6/include -I/opt/kde3.4.2/include 
-I/usr/lib/qt3//include -I/usr/X11R6/include -I/opt/kde3.4.2/include 
-I/usr/lib/qt3//include -I/usr/X11R6/include  -D_REENTRANT -pthread 
-I/opt/kde3.4.2/include/glib-2.0 -I/opt/kde3.4.2/lib/glib-2.0/include    
-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  
-I/opt/kde3.4.2/include -I/usr/lib/qt3//include-I/usr/X11R6/include 
-L/opt/kde3.4.2/lib -L/usr/lib/qt3//lib -L/usr/X11R6/lib 
-I/opt/kde3.4.2/include -I/usr/lib/qt3//include -I/usr/X11R6/include 
-L/opt/kde3.4.2/lib -L/usr/lib/qt3//lib -L/usr/X11R6/lib 
-I/opt/kde3.4.2/include -I/usr/lib/qt3//include -I/usr/X11R6/include 
-L/opt/kde3.4.2/lib -L/usr/lib/qt3//lib -L/usr/X11R6/lib 
-I/opt/kde3.4.2/include -I/usr/lib/qt3//include -I/usr/X11R6/include 
-L/opt/kde3.4.2/lib -L/usr/lib/qt3//lib -L/usr/X11R6/lib  -O2 -pipe -O2 -pipe 
-O2 -pipe -O2 -pipe -Wformat-security -Wmissing-format-attribute -pthread 
-I/opt/kde3.4.2/include/glib-2.0 -I/opt/kde3.4.2/lib/glib-2.0/include   -c -o 
ltdl.lo ltdl.c
ltdl.c:186: error: `LTDL_OBJDIR' undeclared here (not in a function)
ltdl.c:272: error: `malloc' undeclared here (not in a function)
ltdl.c:274: error: `free' undeclared here (not in a function)
ltdl.c: In function `rpl_strdup':
ltdl.c:371: warning: implicit declaration of function `strlen'
ltdl.c:374: warning: implicit declaration of function `strcpy'
ltdl.c: In function `rpl_realloc':
ltdl.c:519: warning: implicit declaration of function `realloc'
ltdl.c: In function `presym_init':
ltdl.c:1120: warning: unused parameter `loader_data'
ltdl.c: In function `presym_exit':
ltdl.c:1161: warning: unused parameter `loader_data'
ltdl.c: In function `presym_open':
ltdl.c:1207: warning: unused parameter `loader_data'
ltdl.c: In function `presym_close':
ltdl.c:1253: warning: unused parameter `loader_data'
ltdl.c: In function `presym_sym':
ltdl.c:1263: warning: unused parameter `loader_data'
ltdl.c: In function `lt_dlpreload':
ltdl.c:1364: warning: unused variable `errormsg'
ltdl.c: In function `lt_dlexit':
ltdl.c:1394: warning: unused variable `errormsg'
ltdl.c: In function `find_module':
ltdl.c:1581: warning: implicit declaration of function `sprintf'
ltdl.c:1611: warning: implicit declaration of function `strcat'
ltdl.c: In function `find_file':
ltdl.c:1744: warning: implicit declaration of function `strncpy'
ltdl.c:1760: error: `FILE' undeclared (first use in this function)
ltdl.c:1760: error: (Each undeclared identifier is reported only once
ltdl.c:1760: error: for each function it appears in.)
ltdl.c:1760: error: `file' undeclared (first use in this function)
ltdl.c:1760: warning: implicit declaration of function `fopen'
ltdl.c: In function `load_deplibs':
ltdl.c:1795: warning: unused parameter `deplibs'
ltdl.c: In function `lt_dlopen':
ltdl.c:2055: warning: implicit declaration of function `memset'
ltdl.c:2109: error: `FILE' undeclared (first use in this function)
ltdl.c:2109: error: `file' undeclared (first use in this function)
ltdl.c:2134: warning: implicit declaration of function `isalnum'
ltdl.c:2152: error: syntax error before ')' token
ltdl.c:2155: error: syntax error before ')' token
ltdl.c:2192: warning: implicit declaration of function `fclose'
ltdl.c:2199: warning: implicit declaration of function `feof'
ltdl.c:2201: warning: implicit declaration of function `fgets'
ltdl.c:2226: warning: implicit declaration of function `strncmp'
ltdl.c:2272: error: `NULL' undeclared (first use in this function)
ltdl.c:2357: warning: implicit declaration of function `getenv'
ltdl.c: At top level:
ltdl.c:476: warning: `rpl_memcpy' defined but not used
make[6]: *** [ltdl.lo] Error 1
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list