[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kdelibs and libltdl
From:       Henrique Pinto <stampede () coltec ! ufmg ! br>
Date:       2003-07-31 14:02:28
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi,

I can get a very similar error if, while using ccache, I set CCACHE_CC to 
"g++-gcc-3.2.2". Are you using ccache or any other tools like it?


On Thursday 31 July 2003 05:15, Mikolaj Machowski wrote:
> On Tue, Jul 29, 2003 at 10:03:53PM +0200, Mikolaj Machowski wrote:
> > Hello,
> > I am compiling snapshot of kdelibs from 28 of July and have strange
> > error in libltdl:
>
> Nobody can help me?
>
> Some details:
> :r!gcc --version
>
> gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
>
> > make[2]: Entering directory
> > `/home/mikolaj/kde/head/kdelibs-030729/libltdl' /bin/sh ../libtool
> > --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop
> > -I../kio/kssl   -DQT_THREAD_SUPPORT  -D_REENTRANT   -ansi -W -Wall
> > -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes
> > -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  -march=athlon
> > -mcpu=athlon -Os -fomit-frame-pointer -s -pipe -DNDEBUG
> > -DG_DISABLE_ASSERT -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:2098: warning: ISO C89 forbids mixed declarations and code
> > 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[2]: *** [ltdl.lo] Błąd 1
> > make[2]: Leaving directory
> > `/home/mikolaj/kde/head/kdelibs-030729/libltdl' make[1]: ***
> > [all-recursive] Błąd 1
> > make[1]: Leaving directory `/home/mikolaj/kde/head/kdelibs-030729'
> > make: *** [all] Błąd 2
> > This is really strange because I had identical error 3 months ago (I
>
> It was one month ago. Probably fault is somewhere on my side but I have
> no idea what is going on. Please help me.
>
> > reported this here but without response) and I gave up on compiling KDE.
> > Now I tried again and this is again. But somebody compiled kdelibs in
> > meantime?
> > Could somebody help me?
> > m.

-- 
	Henrique Pinto
	stampede@coltec.ufmg.br

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic