Exited with status: 77 in Kdevelop

Asked by JungleRat

hello

im used to Linux and to Ubuntu we got an university assignment and it got to be written with Kdevelop
i have made it a long way with this installation but still got a problem, here is the error i get when i try to build and excute a simple HELLO WORLD program :

cd '/home/yossi/ex1' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && cd '/home/yossi/ex1/debug' && CXXFLAGS="-O0 -g3" "/home/yossi/ex1/configure" --enable-debug=full && cd '/home/yossi/ex1/debug/./src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k ex1
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** automake (GNU automake) 1.10 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
cd . && make -f admin/Makefile.common subdirs
*** Creating configure.files
*** Creating configure.in
cd . && make -f admin/Makefile.common configure.in ;
*** Creating aclocal.m4
acinclude.m4:3699: the serial number must appear before any macro definition
acinclude.m4:3744: the serial number must appear before any macro definition
acinclude.m4:3789: the serial number must appear before any macro definition
acinclude.m4:5997: the serial number must appear before any macro definition
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
installing -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... no
checking for mawk... mawk
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...
configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***

thank you very much in advance for any help given :)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kdevelop Edit question
Assignee:
No assignee Edit question
Solved by:
JungleRat
Solved:
Last query:
Last reply:
Revision history for this message
JungleRat (yossiturgeman) said :
#1

not used i meant new to linux

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

Hello..
I think You are missing this c++ compiler:

i586-mingw32msvc-c++

I think this is a port of the win32 Visual C compiler for pentium class processors.
I guess you are trying to compile a win32 project; now if this is what you really want to do you should install the missing compiler.
I found these packages in the ubuntu repositories:(Go to synaptic package manager; System => Administration => Synaptic package manager and give a search on mingw32 and install the below packages or use sudo apt-get install mingw32 in a terminal: Applications => accessories => terminal; to install below packages)

mingw32 - Minimalist GNU win32 (cross) compiler
mingw32-binutils - Minimalist GNU win32 (cross) binutils
mingw32-runtime - Minimalist GNU win32 (cross) runtime

If instead you want to compile for the linux environment, try reconfiguring kdevelop or selecting your project type as a linux project.

Hope it helps,

br,

Bhavani Shankar.

Revision history for this message
JungleRat (yossiturgeman) said :
#3

did it does not work :( reads as follow :

cd '/home/yossi/ex1' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && cd '/home/yossi/ex1/debug' && CXXFLAGS="-O0 -g3" "/home/yossi/ex1/configure" --enable-debug=full && cd '/home/yossi/ex1/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** automake (GNU automake) 1.10 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
cd . && make -f admin/Makefile.common subdirs
*** Creating configure.files
*** Creating configure.in
cd . && make -f admin/Makefile.common configure.in ;
*** Creating aclocal.m4
acinclude.m4:3699: the serial number must appear before any macro definition
acinclude.m4:3744: the serial number must appear before any macro definition
acinclude.m4:3789: the serial number must appear before any macro definition
acinclude.m4:5997: the serial number must appear before any macro definition
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
installing -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... no
checking for mawk... mawk
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...
configure: error: C compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***

Revision history for this message
JungleRat (yossiturgeman) said :
#4

is there a console command i need to type before installing Kdevelop im not aware of ?

Revision history for this message
JungleRat (yossiturgeman) said :
#5

it says the compiler cannot create executables :(

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

What is the content of ---> "See `config.log' for more details."

Thank you

Revision history for this message
Bhavani Shankar (bhavi) said :
#7

Ok please paste the output of config.log....

br,

Revision history for this message
JungleRat (yossiturgeman) said :
#8

hi guys thank you for your quick responses
i have installed the build essentials at the synaptic manager which i was missing and now i get this error :

cd '/home/yossi/ex1' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && cd '/home/yossi/ex1/debug' && CXXFLAGS="-O0 -g3" "/home/yossi/ex1/configure" --enable-debug=full && cd '/home/yossi/ex1/debug/./src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k ex1
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** automake (GNU automake) 1.10 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
cd . && make -f admin/Makefile.common subdirs
*** Creating configure.files
*** Creating configure.in
cd . && make -f admin/Makefile.common configure.in ;
*** Creating aclocal.m4
acinclude.m4:3699: the serial number must appear before any macro definition
acinclude.m4:3744: the serial number must appear before any macro definition
acinclude.m4:3789: the serial number must appear before any macro definition
acinclude.m4:5997: the serial number must appear before any macro definition
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
Don't forget to run ./configure
If you haven't done so in a while, run ./configure --help
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
installing -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... no
checking for mawk... mawk
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 -fno-builtin... yes
checking whether g++ supports -Woverloaded-virtual... yes
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-reorder-blocks... 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 whether system headers can cope with -O2 -fno-inline... irrelevant
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 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/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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 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 if gcc static flag works... 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
linking file.o... (gcc)
checking whether the gcc linker (/usr/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... yes
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 for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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
linking file.o... (g++)
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
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... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
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 for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
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...
configure: error: Can't find X libraries. Please check your installation and add the correct paths!
*** Exited with status: 1 ***

Revision history for this message
JungleRat (yossiturgeman) said :
#9

thank you all 7 errors after the last posted i managed to make HELLO WOLRD work :)