Compile failure KDE 3.3.0 with Konstruct

Gene Heskett gene.heskett at verizon.net
Tue Oct 5 15:42:03 BST 2004


On Tuesday 05 October 2004 08:49, Basil Fowler wrote:
>Hello,
>
>In the past I have successfully complied KDE 3.2.2 and 3.2.3 using
> Konstruct on my Mandrake 9.2 rig.
>
>On trying to compile KDE 3.3.0 with the latest version of Konstruct,
> for KDE 3.3.0, compilation stops at the "/kdelibs-3.3.0/libltdl"
> stage with a whole pile of errors.  The relevant part of the log is
> listed below. The compilation failed with both the QT-3.3 and QT
> 3.2 libraries.
>
>Does anyone know what has gone wrong?
>
>If this is not the appropriate forum to raise such questions - could
> you point me in the right direction.
>
>Finally - has anybody built and /or evaluated the Arabic and Bengali
>localisations of KDE 3.3.0? What is your opinion of the result?
>
>TIA
>
>Basil Fowler
>
>----------------------
>
>Error log from build:
>
>make[4]: Entering directory
>`/home/incoming/others/konstruct/kde/kdelibs/work/kdelibs-3.3.0/libl
>tdl' /bin/sh ../libtool --silent --mode=compile --tag=CC cc
> -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl
>-DQT_THREAD_SUPPORT -I/opt/kde3.3/include -I/usr/lib/qt3//include
>-I/usr/X11R6/include -I/opt/kde3.3/include
>-I/usr/lib/qt3//include -I/usr/X11R6/include  -D_REENTRANT  -ansi -W
> -Wall -Wchar-subscripts -Wshadow
>-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2
>-I/opt/kde3.3/include -I/usr/lib/qt3//include -I/usr/X11R6/include
>-L/opt/kde3.3/lib -L/usr/lib/qt3//lib
>-L/usr/X11R6/lib -I/opt/kde3.3/include -I/usr/lib/qt3//include
>-I/usr/X11R6/include -L/opt/kde3.3/lib
>-L/usr/lib/qt3//lib -L/usr/X11R6/lib  -O2 -pipe -O2 -pipe
> -Wformat-security -Wmissing-format-attribute -c -o
>ltdl.lo ltdl.c
>ltdl.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: syntax error before ')'
> token
>ltdl.c:2143: error: syntax 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' ltdl.c: At top level:
>ltdl.c:473: warning: `rpl_memcpy' defined but not used
>make[4]: *** [ltdl.lo] Error 1
>make[4]: Leaving directory
>

This waddles and quacks a bit like a bz2 unpack error and something is 
missing.  If you have a garchive setup, I'd wipe that particular file 
from the garchive, and nuke the rest of the konstruct tree, unpack 
konstruct fresh and start all over with a 'cvs up -dP'.  Or, if 
you're confident the rest is ok, just nuke the src file and its 
cookies, which will restart that file with a fresh download.  I 
didn't personally have any trouble with building 3.3, but I had a 
boatload of it with 3.2.3, and each time I'd force it to get a new 
copy of the piece that failed and it would then go on past that point 
to the next one.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
___________________________________________________
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