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

List:       kdevelop-bugs
Subject:    [Bug 155259] New: kdevelop incorrectly builds .la file instead of .so
From:       Igor Korot <ikorot () earthlink ! net>
Date:       2008-01-08 1:42:43
Message-ID: 20080108024242.155259.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=155259         
           Summary: kdevelop incorrectly builds .la file instead of .so
           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

Following 2nd method of building .so library using the "libtool based method" the \
automake shows that it will build the .la library.

This is a compilation output from KDevelop:

cd '/mnt/usb/projects/Dialogs' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake \
-f Makefile.cvs && 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 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: creating src/libdialogs/Makefile
config.status: executing depfiles commands
Making all in src
Making all in libdialogs
/bin/sh ../../libtool --tag=CXX --mode=compile 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/libdialogs \
-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.lo -MD -MP -MF .deps/dialogs.Tpo -c -o \
dialogs.lo /mnt/usb/projects/Dialogs/src/libdialogs/dialogs.cpp mkdir .libs
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/libdialogs -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.lo -MD -MP -MF .deps/dialogs.Tpo -c \
/mnt/usb/projects/Dialogs/src/libdialogs/dialogs.cpp -fPIC -DPIC -o .libs/dialogs.o \
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/libdialogs -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.lo -MD -MP -MF .deps/dialogs.Tpo -c \
/mnt/usb/projects/Dialogs/src/libdialogs/dialogs.cpp -o dialogs.o >/dev/null 2>&1 mv \
                -f .deps/dialogs.Tpo .deps/dialogs.Plo
/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 \
libdialogs.la -rpath /usr/local/lib dialogs.lo  g++ -shared -nostdlib \
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../crti.o \
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/crtbeginS.o .libs/dialogs.o \
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1 \
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/lib \
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../.. -lstdc++ -lm -lc -lgcc_s \
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/crtendS.o \
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../crtn.o -Wl,-soname -Wl,libdialogs.so.0 \
-o .libs/libdialogs.so.0.0.0 (cd .libs && rm -f libdialogs.so.0 && ln -s \
libdialogs.so.0.0.0 libdialogs.so.0) (cd .libs && rm -f libdialogs.so && ln -s \
libdialogs.so.0.0.0 libdialogs.so) ar cru .libs/libdialogs.a dialogs.o
ranlib .libs/libdialogs.a
creating libdialogs.la
(cd .libs && rm -f libdialogs.la && ln -s ../libdialogs.la libdialogs.la)
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 gmake[1]: \
                Nothing to be done for `all-am'.
*** Success ***

It also would be nice if on the FAQ page somebody will mention the place where the \
builded files are located...

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