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

List:       kdevelop-bugs
Subject:    [Bug 155258] New: kdevelop does not build shared library
From:       Igor Korot <ikorot () earthlink ! net>
Date:       2008-01-08 1:16:43
Message-ID: 20080108021638.155258.ikorot () earthlink ! net
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=155258         
           Summary: kdevelop does not build shared library
           Product: kdevelop
           Version: 3.4.1
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: ikorot earthlink net


Version:           3.4.1 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc-4.1.1 
OS:                Linux

After following the FAQ to build the .so library (part 1), I got following results - \
(project is C++ wxWidgets program):

cd '/mnt/usb/projects/Dialogs' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake \
-f Makefile.cvs && mkdir '/mnt/usb/projects/Dialogs/debug' && cd \
'/mnt/usb/projects/Dialogs/debug' && CXXFLAGS="-O0 -g3" \
"/mnt/usb/projects/Dialogs/configure" --enable-debug=full && cd \
'/mnt/usb/projects/Dialogs/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" \
gmake -k  srcdir=`pwd` sh macros/autogen.sh
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:43: run info '(automake)Extending aclocal'
/usr/share/aclocal/pth.m4:43: or see \
http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in:2: \
installing `./missing' configure.in:2: installing `./install-sh'
src/Makefile.am: installing `./depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
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 ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared \
libraries... yes checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/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++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared \
libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking wxWidgets version... 2.8.1
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
Making all in src
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" \
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"dialogs\" \
-DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 \
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 \
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. \
-I/mnt/usb/projects/Dialogs/src -Wall -g -fexceptions \
-I/usr/local/lib/wx/include/gtk2-ansi-debug-2.8 -I/usr/local/include/wx-2.8 \
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXDEBUG__ -D__WXGTK__ -O0 -g3 \
-Wall -g -fexceptions -I/usr/local/lib/wx/include/gtk2-ansi-debug-2.8 \
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ \
-D__WXDEBUG__ -D__WXGTK__ -MT dialogs.o -MD -MP -MF .deps/dialogs.Tpo -c -o dialogs.o \
/mnt/usb/projects/Dialogs/src/dialogs.cpp mv -f .deps/dialogs.Tpo .deps/dialogs.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -O0 -g3 -Wall -g -fexceptions \
-I/usr/local/lib/wx/include/gtk2-ansi-debug-2.8 -I/usr/local/include/wx-2.8 \
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXDEBUG__ -D__WXGTK__ \
-L/usr/local/lib -pthread -L/usr/X11R6/lib -pg -lwx_gtk2d_aui-2.8 -lwx_gtk2d_xrc-2.8 \
-lwx_gtk2d_qa-2.8 -lwx_gtk2d_html-2.8 -lwx_gtk2d_dbgrid-2.8 -lwx_gtk2d_adv-2.8 \
-lwx_gtk2d_core-2.8 -lwx_based_odbc-2.8 -lwx_based_xml-2.8 -lwx_based_net-2.8 \
-lwx_based-2.8 -o dialogs dialogs.o  mkdir .libs
g++ -O0 -g3 -Wall -g -fexceptions -I/usr/local/lib/wx/include/gtk2-ansi-debug-2.8 \
-I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ \
-D__WXDEBUG__ -D__WXGTK__ -pthread -pg -o dialogs dialogs.o -L/usr/local/lib \
-L/usr/X11R6/lib -lwx_gtk2d_aui-2.8 -lwx_gtk2d_xrc-2.8 -lwx_gtk2d_qa-2.8 \
-lwx_gtk2d_html-2.8 -lwx_gtk2d_dbgrid-2.8 -lwx_gtk2d_adv-2.8 -lwx_gtk2d_core-2.8 \
                -lwx_based_odbc-2.8 -lwx_based_xml-2.8 -lwx_based_net-2.8 \
                -lwx_based-2.8
/bin/sh ../libtool --tag=CXX --mode=link g++ -O0 -g3 -Wall -g -fexceptions \
-I/usr/local/lib/wx/include/gtk2-ansi-debug-2.8 -I/usr/local/include/wx-2.8 \
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXDEBUG__ -D__WXGTK__ -o -shared \
libdialogs.so -o libdialogs dialogs.o  g++ -O0 -g3 -Wall -g -fexceptions \
-I/usr/local/lib/wx/include/gtk2-ansi-debug-2.8 -I/usr/local/include/wx-2.8 \
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ -D__WXDEBUG__ -D__WXGTK__ -o \
libdialogs libdialogs.so -o libdialogs dialogs.o  g++: libdialogs.so: No such file or \
directory gmake[1]: *** [libdialogs] Error 1
gmake[1]: Target `all' not remade because of errors.
gmake[1]: Nothing to be done for `all-am'.
gmake: *** [all-recursive] Error 1
gmake: Target `all' not remade because of errors.
*** Exited with status: 2 ***

Here is the system info from my Gentoo:

IgorsGentooOnNetwork projects # emerge --info
Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.20-gentoo-r8 \
i686) =================================================================
System uname: 2.6.20-gentoo-r8 i686 Genuine Intel(R) CPU           T1350  @ 1.86GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Fri, 04 Jan 2008 05:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.1_p17
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown \
/usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf \
/etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress \
--force --whole-file --delete --delete-after --stats --timeout=180 \
--exclude=/distfiles --exclude=/local --exclude=/packages \
--filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acpi alsa apm berkdb bitmap-fonts cdr clamav cli cracklib crypt dri dvd \
dvdr freetds gdbm gnome gpm gtk gtk2 iconv ipv6 isdnlog lm_sensors midi mplayer mssql \
mudflap ncurses nls nptl nptlonly odbc opengl openmp pam pcre pmu ppds pppd python \
readline reflection session spl ssl sybase sybase-ct symlink tcpd theora truetype \
truetype-fonts type1-fonts unicode usb wifi wxwindows x86 xine xorg zlib" \
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x \
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident \
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix \
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw \
multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias \
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm \
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav \
dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter \
headers include info log_config logio mem_cache mime mime_magic negotiation rewrite \
setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" \
INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad \
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" \
                VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, \
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, \
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Thank you.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


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

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