Bug 49072

Summary: kdebindings 3.0.8 fails to compile on RedHat 7.3
Product: [Developer tools] bindings Reporter: Will B <will>
Component: generalAssignee: kde-bindings
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Will B 2002-10-12 21:18:37 UTC
Version:            (using KDE KDE 3.0.8)
Installed from:    Compiled From Sources
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-112) Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs

during link step:

/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new    -o libkdec.la.closure libkdec_la_closure.lo -no-undefined -version-info 1:0:0 -L../../../qtc/clib/qtc [...snip...]
libtool: link: warning: `-version-info' is ignored for programs
.libs/kde_KJavaAppletContext.o: In function `kde_new_KJavaAppletContext':
.libs/kde_KJavaAppletContext.o(.text+0x23): undefined reference to `KJavaAppletContext::KJavaAppletContext(DCOPObject *)'
collect2: ld returned 1 exit status
make: *** [libkdec.la.closure] Error 1
Comment 1 J E Drews 2003-03-08 21:06:54 UTC
Kdebindings-3.1.0 (from ftp://ftp.kde.org/pub/kde/stable/3.1/src) 
compiled from sources 
SuSE 8.1 
 
Kdebindings fails to compile. 
exit with messsage: 
 
kmozilla.c:11: warning: shadowed declaration is here 
kmozilla.c:96: sizeof applied to an incomplete type 
kmozilla.c:102: dereferencing pointer to incomplete type 
kmozilla.c:107: warning: implicit declaration of function `gtk_moz_embed_new' 
kmozilla.c:107: warning: assignment makes pointer from integer without a cast 
kmozilla.c:108: dereferencing pointer to incomplete type 
kmozilla.c:108: warning: implicit declaration of function `GTK_MOZ_EMBED' 
kmozilla.c: In function `gtk_kmozilla_destroy': 
kmozilla.c:135: dereferencing pointer to incomplete type 
kmozilla.c:135: dereferencing pointer to incomplete type 
kmozilla.c:135: dereferencing pointer to incomplete type 
kmozilla.c:135: dereferencing pointer to incomplete type 
kmozilla.c:135: dereferencing pointer to incomplete type 
kmozilla.c: In function `gtk_kmozilla_set_dcop_client': 
kmozilla.c:142: warning: passing arg 1 of `gtk_xpart_set_dcop_client' from 
incompatible pointer type 
kmozilla.c:143: dereferencing pointer to incomplete type 
kmozilla.c: In function `open_url': 
kmozilla.c:152: warning: implicit declaration of function `gtk_moz_embed_load_url' 
kmozilla.c:152: dereferencing pointer to incomplete type 
kmozilla.c: In function `close_url': 
kmozilla.c:159: warning: implicit declaration of function `gtk_moz_embed_stop_load' 
kmozilla.c:159: dereferencing pointer to incomplete type 
kmozilla.c: In function `query_extension': 
kmozilla.c:166: warning: implicit declaration of function `strcmp' 
kmozilla.c:167: dereferencing pointer to incomplete type 
kmozilla.c:167: warning: return discards qualifiers from pointer target type 
kmozilla.c: In function `handle_reload': 
kmozilla.c:176: warning: implicit declaration of function `gtk_moz_embed_reload' 
kmozilla.c:176: dereferencing pointer to incomplete type 
kmozilla.c:172: warning: unused parameter `user_data' 
kmozilla.c: In function `open_url_request': 
kmozilla.c:188: dereferencing pointer to incomplete type 
kmozilla.c:182: warning: unused parameter `obj' 
make[3]: *** [kmozilla.o] Error 1 
make[3]: Leaving directory `/home/kword/kde-copy/kdebindings-3.1/xparts/mozilla' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/home/kword/kde-copy/kdebindings-3.1/xparts' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/home/kword/kde-copy/kdebindings-3.1' 
make: *** [all] Error 2 
 
 
 
Comment 2 Dirk Mueller 2003-07-14 17:30:29 UTC

*** This bug has been marked as a duplicate of 54128 ***