Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
5.0

Available as/for:
Description:
KScope is a source browsing and editing environment for large projects written in C (such as the Linux kernel).
KScope uses the Cscope code analysis engine to provide valuable information to coders, such as

* Finding the definition of a symbol
* Finding all references to a symbol
* Finding all functions calling/called by a given function
* Finding all files including a given header
* etc.

KScope also provides call-tree and call-graph views that can help developers by visualising the relationships between different functions in the code base.

Installation
============

tar zxvf kscope-X.Y.Z.tar.gz
cd kscope-X.Y.Z
./configure
make
make install (as root)
Last changelog:

This version of KScope is no longer maintained. A new version was written from scratch, and depends on Qt4 and QScintilla only. Consequently, KScope is moving to Qt-apps:

http://qt-apps.org/content/show.php?content=96992


Ratings & Comments

46 Comments

ifade

Anyone can help me figure out this failure? "g++: /usr/lib/libkateinterfaces.so: No such file or directory" I have installed the kdebase, use "ls -la libka*" on /usr/lib, I can see "libkateinerfaces.so.0 -> libkateinterfaces.so.0.0.0." Thanks.

elahav

See the post above. You are missing the link /usr/lib/libkateinterfaces.so -> libkateinterfaces.so.0.0.0

777

Hi... I am new person in UNIX... I am facing the same error please find the log as below... root@ubuntu:/home/anand/kscope-1.6.2# make make all-recursive make[1]: Entering directory `/home/anand/kscope-1.6.2' Making all in doc make[2]: Entering directory `/home/anand/kscope-1.6.2/doc' Making all in . make[3]: Entering directory `/home/anand/kscope-1.6.2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/anand/kscope-1.6.2/doc' Making all in en make[3]: Entering directory `/home/anand/kscope-1.6.2/doc/en' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/anand/kscope-1.6.2/doc/en' make[2]: Leaving directory `/home/anand/kscope-1.6.2/doc' Making all in po make[2]: Entering directory `/home/anand/kscope-1.6.2/po' rm -f zh_CN.gmo; : -o zh_CN.gmo ./zh_CN.po test ! -f zh_CN.gmo || touch zh_CN.gmo make[2]: Leaving directory `/home/anand/kscope-1.6.2/po' Making all in src make[2]: Entering directory `/home/anand/kscope-1.6.2/src' make all-am make[3]: Entering directory `/home/anand/kscope-1.6.2/src' /bin/bash ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -R /usr/lib -R /usr/lib -R /usr/share/qt3/lib -R /usr/lib -L/usr/share/qt3/lib -L/usr/lib-o kscope bookmarksdlg.o calltreedlg.o calltreemanager.o configfrontend.o cscopefrontend.o cscopemsgdlg.o ctagsfrontend.o ctagslist.o dirscanner.o dotfrontend.o dotparse.o dotscan.o editormanager.o editorpage.o editortabs.o encoder.o filelist.o fileview.o frontend.o graphedge.o graphnode.o graphprefdlg.o graphwidget.ohistorypage.o historyview.o kscope.o kscopeactions.o kscopeconfig.o kscopepixmaps.o main.o makedlg.o makefrontend.o newprojectdlg.o openprojectdlg.o prefcolor.o preferencesdlg.o preffont.o preffrontend.o prefopt.o progressdlg.o project.o projectbase.o projectfilesdlg.o projectmanager.o querypage.o querypagebase.o queryresultsmenu.o queryview.o queryviewdlg.o queryviewdriver.o querywidget.o scanprogressdlg.o searchlist.o searchresultsdlg.o symbolcompletion.o symboldlg.o tabwidget.o treewidget.o autocompletionlayout.o bookmarkslayout.o calltreelayout.o cscopemsglayout.o fileviewlayout.o graphpreflayout.o makelayout.o newprojectlayout.o openprojectlayout.o prefcolorlayout.o preffontlayout.o preffrontendlayout.o prefoptlayout.o projectfileslayout.o queryviewlayout.o querywidgetlayout.o scanprogresslayout.o searchresultslayout.o symbollayout.o welcomedlg.o -lkateinterfaces -lktexteditor -lkdeui /usr/bin/ld: cannot find -lkateinterfaces collect2: ld returned 1 exit status make[3]: *** [kscope] Error 1 make[3]: Leaving directory `/home/anand/kscope-1.6.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/anand/kscope-1.6.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/anand/kscope-1.6.2' make: *** [all] Error 2 root@ubuntu:/home/anand/kscope-1.6.2# root@ubuntu:/home/anand/kscope-1.6.2# root@ubuntu:/home/anand/kscope-1.6.2# root@ubuntu:/home/anand/kscope-1.6.2# Also when I try to verify that the file libkateinterfaces.so whether linked to libkateinterfaces.so.0.0.0 I was not able to find the file libkateinterfaces.so instead there was libkateinterfaces.so.4 which is linked to libkateinterfaces.so.4.1.0. Please find the command output supporting it root@ubuntu:/usr/lib# ls -la libkate* -rw-r--r-- 1 root root 0 2008-11-22 19:30 libkateinterfaces.so.0.0.0 lrwxrwxrwx 1 root root 26 2008-11-22 18:51 libkateinterfaces.so.4 -> libkateinterfaces.so.4.1.0 -rw-r--r-- 1 root root 516412 2008-11-05 11:35 libkateinterfaces.so.4.1.0 -rw-r--r-- 1 root root 1474 2008-10-06 08:54 libkatepartinterfaces.la lrwxrwxrwx 1 root root 30 2008-11-22 18:10 libkatepartinterfaces.so -> libkatepartinterfaces.so.0.0.0 lrwxrwxrwx 1 root root 30 2008-11-01 22:33 libkatepartinterfaces.so.0 -> libkatepartinterfaces.so.0.0.0 -rw-r--r-- 1 root root 100052 2008-10-06 08:57 libkatepartinterfaces.so.0.0.0 So please suggest me any solution to this query as early as possible....

777

Hi I have put all the log as mention below please some body out there help me to get rid of following error root@ubuntu:/usr/lib# ln -s /usr/lib/libkateinterfaces.so -> libkateinterfaces.so.0.0.0 root@ubuntu:/usr/lib# ls -la libkate* lrwxrwxrwx 1 root root 26 2008-11-23 09:37 libkateinterfaces.so -> libkateinterfaces.so.0.0.0 -rw-r--r-- 1 root root 0 2008-11-24 09:18 libkateinterfaces.so.0.0.0 lrwxrwxrwx 1 root root 26 2008-11-22 18:51 libkateinterfaces.so.4 -> libkateinterfaces.so.4.1.0 -rw-r--r-- 1 root root 516412 2008-11-05 11:35 libkateinterfaces.so.4.1.0 -rw-r--r-- 1 root root 1474 2008-10-06 08:54 libkatepartinterfaces.la lrwxrwxrwx 1 root root 30 2008-11-22 18:10 libkatepartinterfaces.so -> libkatepartinterfaces.so.0.0.0 lrwxrwxrwx 1 root root 30 2008-11-01 22:33 libkatepartinterfaces.so.0 -> libkatepartinterfaces.so.0.0.0 -rw-r--r-- 1 root root 100052 2008-10-06 08:57 libkatepartinterfaces.so.0.0.0 root@ubuntu:/usr/lib# ls -la usr* ls: cannot access usr*: No such file or directory root@ubuntu:/usr/lib# cd /home/anand/kscope-1.6.2 root@ubuntu:/home/anand/kscope-1.6.2# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as returned by kde-config) checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc is blacklisted... no checking whether g++ supports -Wmissing-format-attribute... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wno-non-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes not using lib directory suffix checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for msgfmt... msgfmt checking for gmsgfmt... msgfmt found msgfmt program is not GNU msgfmt; ignore it checking for xgettext... : checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... yes checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking size of int... 4 checking size of short... 2 checking size of long... 4 checking size of char *... 4 checking for dlopen in -ldl... yes checking for shl_unload in -ldld... no checking size of size_t... 4 checking size of unsigned long... 4 checking sizeof size_t == sizeof unsigned long... yes checking for PIE support... yes checking if enabling -pie/fpie support... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/lib, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for perl... /usr/bin/perl checking for Qt... libraries /usr/share/qt3/lib, headers /usr/share/qt3/include using -mt checking for moc... /usr/share/qt3/bin/moc checking for uic... /usr/share/qt3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... libraries /usr/lib, headers /usr/include/kde checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /usr/bin/dcopidl checking for dcopidl2cpp... /usr/bin/dcopidl2cpp checking for mcopidl... /usr/bin/mcopidl checking for artsc-config... /usr/bin/artsc-config checking for meinproc... /usr/bin/meinproc checking for kconfig_compiler... /usr/bin/kconfig_compiler checking for dcopidlng... /usr/bin/dcopidlng checking for makekdewidgets... /usr/bin/makekdewidgets checking for xmllint... /usr/bin/xmllint checking whether byte ordering is bigendian... no checking for MAXPATHLEN... 4096 checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for flex... yes checking for bison... bison -y checking for bison... yes checking if doc should be compiled... yes checking if po should be compiled... yes checking if src should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 116, <> line 1379. config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/en/Makefile config.status: creating po/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands Good - your configure finished. Start make now root@ubuntu:/home/anand/kscope-1.6.2# make make all-recursive make[1]: Entering directory `/home/anand/kscope-1.6.2' Making all in doc make[2]: Entering directory `/home/anand/kscope-1.6.2/doc' Making all in . make[3]: Entering directory `/home/anand/kscope-1.6.2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/anand/kscope-1.6.2/doc' Making all in en make[3]: Entering directory `/home/anand/kscope-1.6.2/doc/en' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/anand/kscope-1.6.2/doc/en' make[2]: Leaving directory `/home/anand/kscope-1.6.2/doc' Making all in po make[2]: Entering directory `/home/anand/kscope-1.6.2/po' rm -f zh_CN.gmo; : -o zh_CN.gmo ./zh_CN.po test ! -f zh_CN.gmo || touch zh_CN.gmo make[2]: Leaving directory `/home/anand/kscope-1.6.2/po' Making all in src make[2]: Entering directory `/home/anand/kscope-1.6.2/src' make all-am make[3]: Entering directory `/home/anand/kscope-1.6.2/src' /bin/bash ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -R /usr/lib -R /usr/lib -R /usr/share/qt3/lib -R /usr/lib -L/usr/share/qt3/lib -L/usr/lib -o kscope bookmarksdlg.o calltreedlg.o calltreemanager.o configfrontend.o cscopefrontend.o cscopemsgdlg.o ctagsfrontend.o ctagslist.o dirscanner.o dotfrontend.o dotparse.o dotscan.o editormanager.o editorpage.o editortabs.o encoder.o filelist.o fileview.o frontend.o graphedge.o graphnode.o graphprefdlg.o graphwidget.o historypage.o historyview.o kscope.o kscopeactions.o kscopeconfig.o kscopepixmaps.o main.o makedlg.o makefrontend.o newprojectdlg.o openprojectdlg.o prefcolor.o preferencesdlg.o preffont.o preffrontend.o prefopt.o progressdlg.o project.o projectbase.o projectfilesdlg.o projectmanager.o querypage.o querypagebase.o queryresultsmenu.o queryview.o queryviewdlg.o queryviewdriver.oquerywidget.o scanprogressdlg.o searchlist.o searchresultsdlg.o symbolcompletion.o symboldlg.o tabwidget.o treewidget.o autocompletionlayout.o bookmarkslayout.o calltreelayout.o cscopemsglayout.o fileviewlayout.o graphpreflayout.o makelayout.o newprojectlayout.o openprojectlayout.o prefcolorlayout.o preffontlayout.o preffrontendlayout.o prefoptlayout.o projectfileslayout.o queryviewlayout.o querywidgetlayout.o scanprogresslayout.o searchresultslayout.o symbollayout.o welcomedlg.o -lkateinterfaces -lktexteditor -lkdeui /usr/lib/libkateinterfaces.so: file not recognized: File truncated collect2: ld returned 1 exit status make[3]: *** [kscope] Error 1 make[3]: Leaving directory `/home/anand/kscope-1.6.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/anand/kscope-1.6.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/anand/kscope-1.6.2' make: *** [all] Error 2 Thanks in advance!

777

Also I have install kdebase following log support it...... root@ubuntu:/home/anand/kscope-1.6.2# apt-get install kdebase Reading package lists... Done Building dependency tree Reading state information... Done kdebase is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-2.6.24-19-generic python-pexpect python-twisted-web python-pycurl python-smartpm linux-headers-2.6.24-21-generic linux-headers-2.6.24-21 linux-headers-2.6.24-19 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. root@ubuntu:/home/anand/kscope-1.6.2#

elahav

Are you by any chance using KDE4? KScope will only build with KDE3.

ifade

Anyone can help me figure out this failure? "g++: /usr/lib/libkateinterfaces.so: No such file or directory" I have installed the kdebase, use "ls -la libka*" on /usr/lib, I can see "libkateinerfaces.so.0 -> libkateinterfaces.so.0.0.0." Thanks.

chandraiitk

It did configure well, and also the make compiled the source properly.However, while these files were linked (.o files), the linking option -lkateinterfaces showed error: "/usr/bin/ld: cannot find -lkateinterfaces" :-( I am using KDE-3.5.4 on FC4. Any suggestion to get rid of it? Thanks!

elahav

On FC4, the kateinterfaces library is included in the kdebase RPM. Do you have that RPM installed? If so, did you search for libkateinterfaces.so?

chandraiitk

yes. I have it installed. [root@maya shekharc]# updatedb [root@maya shekharc]# locate libkateinterfaces.so /usr/lib/libkateinterfaces.so.0 /usr/lib/libkateinterfaces.so.0.0.0 [root@maya shekharc]# rpm -q kdebase kdebase-3.5.4-6.0.fc4.kde :-(

elahav

I think that you're missing the symbolic link /usr/lib/libkateinterfaces.so -> libkateinterfaces.so.0.0.0

chandraiitk

Thank you. I could manage to compile and run it properly. Great app!! Thanks!

777

Hi... I am new person in UNIX... I am facing the same error please find the log as below... root@ubuntu:/home/anand/kscope-1.6.2# make make all-recursive make[1]: Entering directory `/home/anand/kscope-1.6.2' Making all in doc make[2]: Entering directory `/home/anand/kscope-1.6.2/doc' Making all in . make[3]: Entering directory `/home/anand/kscope-1.6.2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/anand/kscope-1.6.2/doc' Making all in en make[3]: Entering directory `/home/anand/kscope-1.6.2/doc/en' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/anand/kscope-1.6.2/doc/en' make[2]: Leaving directory `/home/anand/kscope-1.6.2/doc' Making all in po make[2]: Entering directory `/home/anand/kscope-1.6.2/po' rm -f zh_CN.gmo; : -o zh_CN.gmo ./zh_CN.po test ! -f zh_CN.gmo || touch zh_CN.gmo make[2]: Leaving directory `/home/anand/kscope-1.6.2/po' Making all in src make[2]: Entering directory `/home/anand/kscope-1.6.2/src' make all-am make[3]: Entering directory `/home/anand/kscope-1.6.2/src' /bin/bash ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -R /usr/lib -R /usr/lib -R /usr/share/qt3/lib -R /usr/lib -L/usr/share/qt3/lib -L/usr/lib-o kscope bookmarksdlg.o calltreedlg.o calltreemanager.o configfrontend.o cscopefrontend.o cscopemsgdlg.o ctagsfrontend.o ctagslist.o dirscanner.o dotfrontend.o dotparse.o dotscan.o editormanager.o editorpage.o editortabs.o encoder.o filelist.o fileview.o frontend.o graphedge.o graphnode.o graphprefdlg.o graphwidget.ohistorypage.o historyview.o kscope.o kscopeactions.o kscopeconfig.o kscopepixmaps.o main.o makedlg.o makefrontend.o newprojectdlg.o openprojectdlg.o prefcolor.o preferencesdlg.o preffont.o preffrontend.o prefopt.o progressdlg.o project.o projectbase.o projectfilesdlg.o projectmanager.o querypage.o querypagebase.o queryresultsmenu.o queryview.o queryviewdlg.o queryviewdriver.o querywidget.o scanprogressdlg.o searchlist.o searchresultsdlg.o symbolcompletion.o symboldlg.o tabwidget.o treewidget.o autocompletionlayout.o bookmarkslayout.o calltreelayout.o cscopemsglayout.o fileviewlayout.o graphpreflayout.o makelayout.o newprojectlayout.o openprojectlayout.o prefcolorlayout.o preffontlayout.o preffrontendlayout.o prefoptlayout.o projectfileslayout.o queryviewlayout.o querywidgetlayout.o scanprogresslayout.o searchresultslayout.o symbollayout.o welcomedlg.o -lkateinterfaces -lktexteditor -lkdeui /usr/bin/ld: cannot find -lkateinterfaces collect2: ld returned 1 exit status make[3]: *** [kscope] Error 1 make[3]: Leaving directory `/home/anand/kscope-1.6.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/anand/kscope-1.6.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/anand/kscope-1.6.2' make: *** [all] Error 2 root@ubuntu:/home/anand/kscope-1.6.2# root@ubuntu:/home/anand/kscope-1.6.2# root@ubuntu:/home/anand/kscope-1.6.2# root@ubuntu:/home/anand/kscope-1.6.2# Also when I try to verify that the file libkateinterfaces.so should be linked to libkate interfaces.so.0.0.0 I was not able to find the file libkateinterfaces.so instead there was libkateinterfaces.so.4 which is linked to libkateinterfaces.so.4.1.0 please find the command output supporting it root@ubuntu:/usr/lib# ls -la libkate* -rw-r--r-- 1 root root 0 2008-11-22 19:30 libkateinterfaces.so.0.0.0 lrwxrwxrwx 1 root root 26 2008-11-22 18:51 libkateinterfaces.so.4 -> libkateinterfaces.so.4.1.0 -rw-r--r-- 1 root root 516412 2008-11-05 11:35 libkateinterfaces.so.4.1.0 -rw-r--r-- 1 root root 1474 2008-10-06 08:54 libkatepartinterfaces.la lrwxrwxrwx 1 root root 30 2008-11-22 18:10 libkatepartinterfaces.so -> libkatepartinterfaces.so.0.0.0 lrwxrwxrwx 1 root root 30 2008-11-01 22:33 libkatepartinterfaces.so.0 -> libkatepartinterfaces.so.0.0.0 -rw-r--r-- 1 root root 100052 2008-10-06 08:57 libkatepartinterfaces.so.0.0.0 Please reply back to this query as early as possible....

chandraiitk

Your "# ls -la libkate*" shows that you have libkateinterfaces.so.0.0.0 present in your library. What you need to do is this: # cd /usr/lib # ln -s libkateinterfaces.so.0.0.0 libkateinterfaces.so That's all. Now, you should be able to compile the source properly.

777

After lexecuting the following command cd /usr/lib # ln -s libkateinterfaces.so.0.0.0 libkateinterfaces.so I am facing following error /usr/lib/libkateinterfaces.so: file not recognized: File truncated collect2: ld returned 1 exit status make[3]: *** [kscope] Error 1 make[3]: Leaving directory `/home/anand/kscope-1.6.2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/anand/kscope-1.6.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/anand/kscope-1.6.2' make: *** [all] Error 2 Please help me !!!!!!!!!!!!!!!!!!!!!!!

sonytony18

Even though its a year since the original problem. I recently faced this problem when trying to compile ver. 1.6.2 of kscope (the last release before its moved on to use the qscintilla component). OS - Xubuntu 9.04 libkatepartinterfaces.so was available under /usr/lib but not libkateinterfaces.so I installed the kdebase package which added the libkateinterfaces.so.4.xxx under /usr/lib. I then created the symlink with the name libkateinterfaces.so and tried to compile. However, it failed now with undefined references and version mismatches, basically all hell broke loose. Then I realized that when installing kdebase, the newer kdelibs5 was getting installed resulting in the version mismatch mess. Cleaned up everything, removed all kdelibs, kdebase, kate etc. reinstalled libqt3-mt(-dev), kdelibs4c2a, kdelibs4-dev. The configure again stopped at the missing libkateinterfaces error. This time round I simply created a link for libkateinterfaces.so to libkatepartinterfaces.so.0.0.0, Eureka!! everything linked and I have a shiny kscope binary :)

garycramblitt

Keep up the great work. Couple of little things I'd like to see: 1. Automatically sort file list (right-hand panel) alphabetically when opening project. 2. Add Close All to File menu.

elahav

1. This was the default behaviour but it was changed since it took too long for large projects to load. 2. Main menu->Window->Close all windows

thidney

Totally agree. Kscope is now part of openSuse and official SUSE distribution. Thanks for great work.

garycramblitt

graphwidget.cpp:314: error: mkstemp was not declared in this scope Add "#include <stdlib.h>" to top of src/graphwidget.cpp.

elahav

That's strange. I checked it on several distributions and it seemed to compile just fine on all of them. Which OS/distro are you using?

garycramblitt

Debian/testing (etch) autoconf --version autoconf (GNU Autoconf) 2.59 automake --version automake (GNU automake) 1.9.6 gcc --version gcc (GCC) 4.0.3 (Debian 4.0.3-1) kde-config --version Qt: 3.3.5 KDE: 3.5.2 kde-config: 1.0 uname -a Linux newton 2.6.14 #2 PREEMPT Sun Jan 1 12:28:04 EST 2006 i686 GNU/Linux

athleston

the licenses it seems are mutually incompatible; I quote from the following IBM Developer Works site: http://www-128.ibm.com/developerworks/library/os-cplfaq.html (Q) Does the CPL allow me to take the Source Code for a Program licensed under it and include all or part of it in another program licensed under the GNU General Public License (GPL), Berkeley Software Distribution (BSD) license or other Open Source license? (A) No. Only the owner of software can decide whether and how to license it to others. Contributors to a Program licensed under the CPL understand that source code for the Program will be made available under the terms of the CPL. Unless you are the owner of the software or have received permission from the owner, you are not authorized to apply the terms of another license to the Program by including it in a program licensed under another Open Source license. By the way, the same answer applies if you want to include source code licensed under another Open Source license in a program licensed under the CPL. The solution seems to be -- stop using graphviz. May I suggest you investigate kdissert [http://freehackers.org/~tnagy/kdissert/index.html] for similar graphic capabilities?

elahav

I understand the part about redistributing source code under an incompatible license. What I don't understand is why this applies to dynamic linking of libraries under different licenses. KScope includes no source code from either Qt or graphviz.

logixoul

What about sKope?

Pling
0 Affiliates
Details
license
version 1.6.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Developers Apps from elahav:

KScope
elahav
last update date: 16 years ago

Score 5.0

Other Developers Apps:

Oo-mox
actionless
last update date: 8 years ago

Score 6.5

KEXI
jstaniek
last update date: 7 years ago

Score 6.5

BlackAdder
appy
last update date: 20 years ago

Score 5.0

Wing IDE Professional
sdeibel
last update date: 15 years ago

Score 5.0

Quanta Gold
appy
last update date: 20 years ago

Score 5.0

Codie
elgunvo
last update date: 15 years ago

Score 5.0



System Tags