|
Autor |
Sõnum |
JannoT
Pingviini kasutaja
Liitunud: 10.05.2008
Postitused: 63
Asukoht: Tallinn
Distributsioon: Arch
|
|
Üritasin siis lihtsalt make abil cube2 enginet kokku kompileerida. Aga saan järgmise errori:
Siin on config.log:
Kood: |
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libenet configure 10-12-2007, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = Janno
uname -m = i686
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1733: checking for a BSD-compatible install
configure:1789: result: /usr/bin/install -c
configure:1800: checking whether build environment is sane
configure:1843: result: yes
configure:1908: checking for gawk
configure:1924: found /usr/bin/gawk
configure:1935: result: gawk
configure:1946: checking whether make sets $(MAKE)
configure:1967: result: yes
configure:2200: checking for gcc
configure:2216: found /usr/bin/gcc
configure:2227: result: gcc
configure:2465: checking for C compiler version
configure:2472: gcc --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2475: $? = 0
configure:2482: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:2485: $? = 0
configure:2492: gcc -V >&5
gcc: '-V' option must have argument
configure:2495: $? = 1
configure:2518: checking for C compiler default output file name
configure:2545: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2548: $? = 1
configure:2586: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "libenet"
| #define PACKAGE_TARNAME "libenet"
| #define PACKAGE_VERSION "10-12-2007"
| #define PACKAGE_STRING "libenet 10-12-2007"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libenet.a"
| #define VERSION "10-12-2007"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2593: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/janno/Desktop/sauerbraten/src/enet/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/janno/Desktop/sauerbraten/src/enet/missing --run tar'
AUTOCONF='${SHELL} /home/janno/Desktop/sauerbraten/src/enet/missing --run autoconf'
AUTOHEADER='${SHELL} /home/janno/Desktop/sauerbraten/src/enet/missing --run autoheader'
AUTOMAKE='${SHELL} /home/janno/Desktop/sauerbraten/src/enet/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/janno/Desktop/sauerbraten/src/enet/missing --run makeinfo'
OBJEXT=''
PACKAGE='libenet.a'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libenet'
PACKAGE_STRING='libenet 10-12-2007'
PACKAGE_TARNAME='libenet'
PACKAGE_VERSION='10-12-2007'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='10-12-2007'
ac_ct_CC='gcc'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/home/janno/Desktop/sauerbraten/src/enet/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "libenet"
#define PACKAGE_TARNAME "libenet"
#define PACKAGE_VERSION "10-12-2007"
#define PACKAGE_STRING "libenet 10-12-2007"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "libenet.a"
#define VERSION "10-12-2007"
configure: exit 77
|
Sellest saan mina nii palju aru ,et mingi libenet failis.
Lasin siis synapticust kõik libenet asjad peale aga cube engine ikka ei kompileeru. :S
|
|
|
|
|
|
|
|
imre
Vana Pingviin
Liitunud: 16.08.2005
Postitused: 2648
Asukoht: Saku kant
Distributsioon: Ubuntu
|
|
Tähtsam osa on pigem see:
Kood: | configure:2593: error: C compiler cannot create executables |
Ubuntu kasutajatele oleks lahenduseks:
Kood: | sudo apt-get install build-essential |
Olenevalt distrost leiaksid sa google kaudu infot kuidas Oma kasutataval distrol see probleem lahendada.
g++, gcc, libgcc pakid näiteks peale lasta.
|
|
|
|
_________________ Enne teema püstitamist kasutage OTSINGUT
Küsi targalt: Infot siit!
Kui aru ei saa, siis küsi.
|
|
|
|
JannoT
Pingviini kasutaja
Liitunud: 10.05.2008
Postitused: 63
Asukoht: Tallinn
Distributsioon: Arch
|
|
Edit: Saanudgi seda Cubet tööle. Mingid muud errorid ja asjad puudu. Anyways leitsin sellise asja nagu ioquake mille kood on tunduvalt puhtam ja paremini organiseeritud. Ja kompileerus ka kohe puhtalt ilma ühegi errori või isegi warninguta.
|
|
|
|
|
|
|
|
spott
Admin
Vanus: 43
Liitunud: 04.06.2005
Postitused: 8857
Distributsioon: Ubuntu
|
|
|
|
|
|
Powered by phpBB2 Plus based on phpBB © 2001/7 phpBB Group
|
|