ltdl compile error when building with Konstruct
David McGaffin
dmmmmmmm at bigbluesea.org
Tue Jan 20 16:14:46 GMT 2004
Hello,
I am trying to build KDE 3.2 rc1 with Konstruct and things go just fine for
awhile, until the build stops with the error at the end of this message.
Initially I did not have ltdl installed, but now I have ltdl and ltdl-devel
installed and still get the same message.
Thanks for any suggestions.
- david
make[4]: Entering directory
`/usr/local/src/konstruct/kde/kdelibs/work/kdelibs-3.1.95/libltdl'
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I../dcop -I../kio/kssl -DQT_THREAD_SUPPORT
-I/home/dmcgaffin/kde3.2-rc/include -I/usr/X11R6/include
-I/home/dmcgaffin/kde3.2-rc/include -I/usr/X11R6/include
-I/home/dmcgaffin/kde3.2-rc/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/home/dmcgaffin/kde3.2-rc/include -I/usr/X11R6/include
-L/home/dmcgaffin/kde3.2-rc/lib -L/usr/X11R6/lib -O2 -pipe
-I/home/dmcgaffin/kde3.2-rc/include -I/usr/X11R6/include
-L/home/dmcgaffin/kde3.2-rc/lib -L/usr/X11R6/lib -O2 -pipe
-I/home/dmcgaffin/kde3.2-rc/include -I/usr/X11R6/include
-L/home/dmcgaffin/kde3.2-rc/lib -L/usr/X11R6/lib -O2 -pipe
-Wformat-security -Wmissing-format-attribute -c -o ltdl.lo `test -f
'ltdl.c' || echo './'`ltdl.c
ltdl.c:183: `LTDL_OBJDIR' undeclared here (not in a function)
ltdl.c:269: `malloc' undeclared here (not in a function)
ltdl.c:271: `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: `FILE' undeclared (first use in this function)
ltdl.c:1748: (Each undeclared identifier is reported only once
ltdl.c:1748: for each function it appears in.)
ltdl.c:1748: `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: `FILE' undeclared (first use in this function)
ltdl.c:2097: `file' undeclared (first use in this function)
ltdl.c:2122: warning: implicit declaration of function `isalnum'
ltdl.c:2140: parse error before ')' token
ltdl.c:2143: 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: `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/src/konstruct/kde/kdelibs/work/kdelibs-3.1.95/libltdl'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/usr/local/src/konstruct/kde/kdelibs/work/kdelibs-3.1.95'
make[2]: *** [install-work/kdelibs-3.1.95/Makefile] Error 2
make[2]: Leaving directory `/usr/local/src/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/usr/local/src/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2
___________________________________________________
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