Bug 89403 - using konstruct KDE wont't compile; stops from errors in /konstruct/kde/kdelibs/work/kdelibs-3.3.0/libltdl
Summary: using konstruct KDE wont't compile; stops from errors in /konstruct/kde/kdeli...
Status: RESOLVED DUPLICATE of bug 67228
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 14:01 UTC by Don Harter
Modified: 2004-09-15 23:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Harter 2004-09-13 14:01:18 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.1 GNU Make version 3.79.1
OS:                Linux

It seems that it crashes because standard header files are not included in the compile.  The source code includes various include statements using #IFDEF. It seems that the MAKEFLAGS or something similar are not being passed to this recursive make level.

make[4]: Entering directory `/usr/local/kde/konstruct/kde/kdelibs/work/kdelibs-3.3.0/libltdl'
/bin/sh ../libtool --silent --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl   -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/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/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -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 `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'
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 `/usr/local/kde/konstruct/kde/kdelibs/work/kdelibs-3.3.0/libltdl'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/local/kde/konstruct/kde/kdelibs/work/kdelibs-3.3.0'
make[2]: *** [install-work/kdelibs-3.3.0/Makefile] Error 2
make[2]: Leaving directory `/usr/local/kde/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/usr/local/kde/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2
Comment 1 Don Harter 2004-09-14 02:54:48 UTC
make[4]: Entering directory `/usr/local/kde/konstruct/kde/kdelibs/work/kdelibs-3.3.0/libltdl'
echo "AM_MAKEFLAGS"
AM_MAKEFLAGS
echo 

echo "MAKEFLAGS"
MAKEFLAGS
echo w -- DESTDIR=
w -- DESTDIR=
/bin/sh ../libtool --silent --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl   -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/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/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -O2 -pipe -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -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':
Comment 2 Stephan Binner 2004-09-14 11:01:17 UTC

*** This bug has been marked as a duplicate of 67228 ***
Comment 3 Don Harter 2004-09-15 23:44:24 UTC
this bug did not reappear after switching to:
 autoconf --version
Autoconf version 2.13
[root@localhost kde]# automake --version
automake (GNU automake) 1.4-p5