komme nicht weiter mit make all

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
TNe-TWo
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Sonntag 5. Mai 2002, 16:30

komme nicht weiter mit make all

Beitrag von TNe-TWo »

Hallo,

bekomme immer folgende fehlermeldung.

...
configure: error: installation or configuration problem: C++ compiler cannot create executables.
make: *** [.libsdl] Error 1
linux:/tuxbox-cvs/cdk #


???

was mache ich falsch?

TNe
woglinde
Einsteiger
Einsteiger
Beiträge: 261
Registriert: Donnerstag 15. November 2001, 00:00

Beitrag von woglinde »

Hi,

mit dieser Meldung kann ich nur hell sehen. Ich hoffe aber du
bist nach der Anleitung vorgegangen und ich rate mal das du
unter Linux compilierst.

Gruss Woglinde
TNe-TWo
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Sonntag 5. Mai 2002, 16:30

Beitrag von TNe-TWo »

Hallo,

ja mit Suse Linux 8.0

und nach anleitung....
habe mal make boot getestet das lauft durch..

hier mal mehr

wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk ... 2.4.tar.gz || \
wget -c --passive-ftp -P Archive http://www.libsdl.org/release/SDL-1.2.4.tar.gz
--00:48:23-- http://tuxbox.berlios.de/pub/tuxbox/cdk ... 2.4.tar.gz
=> `Archive/SDL-1.2.4.tar.gz'
Auflösen des Hostnamen »tuxbox.berlios.de«.... fertig.
Verbindungsaufbau zu tuxbox.berlios.de[195.37.77.138]:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 1,806,163 [application/x-gzip]

100%[===================================================================================================>] 1,806,163 119.03K/s ETA 00:00

00:48:38 (119.03 KB/s) - »Archive/SDL-1.2.4.tar.gz« gespeichert [1806163/1806163]

( rm -rf SDL-1.2.4 || /bin/true ) && gunzip -cd Archive/SDL-1.2.4.tar.gz | tar -x && ( cd SDL-1.2.4; patch -p1 < ../Patches/sdl.diff )
patching file src/video/fbcon/SDL_fbvideo.c
Hunk #1 succeeded at 161 (offset 2 lines).
Hunk #2 succeeded at 336 (offset 2 lines).
cd SDL-1.2.4 && \
CC=powerpc-tuxbox-linux-gnu-gcc \
CFLAGS="-O2 -mcpu=823" \
LDFLAGS="-s" \
./configure \
--build=i686-suse-linux \
--host=powerpc-tuxbox-linux-gnu \
--prefix=/dbox2/cdkroot \
--disable-alsa \
--disable-openbsdaudio \
--disable-esd \
--disable-arts \
--disable-nas \
--disable-diskaudio \
--disable-nasm \
--disable-nanox \
--disable-video-x11 \
--without-x \
--enable-video-fbcon \
--disable-video-photon \
--disable-video-directfb \
--disable-video-ps2gs \
--disable-video-ggi \
--disable-video-svga \
--disable-video-vgl \
--disable-video-aalib \
--disable-video-dummy \
--disable-video-opengl \
--disable-stdio-redirect \
--disable-directx && \
make all && \
make install && ln -sf /dbox2/cdkroot/bin/sdl-config /dbox2/cdk/bin/sdl-config
creating cache ./config.cache
checking host system type... powerpc-tuxbox-linux-gnu
checking target system type... powerpc-tuxbox-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i686-suse-linux-gnu
checking for ranlib... ranlib
checking for gcc... powerpc-tuxbox-linux-gnu-gcc
checking whether the C compiler (powerpc-tuxbox-linux-gnu-gcc -O2 -mcpu=823 -s) works... yes
checking whether the C compiler (powerpc-tuxbox-linux-gnu-gcc -O2 -mcpu=823 -s) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for ld used by GCC... /dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld
checking if the linker (/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for powerpc-tuxbox-linux-gnu-gcc option to produce PIC... -fPIC
checking if powerpc-tuxbox-linux-gnu-gcc PIC flag -fPIC works... yes
checking if powerpc-tuxbox-linux-gnu-gcc supports -c -o file.o... yes
checking if powerpc-tuxbox-linux-gnu-gcc supports -c -o file.lo... yes
checking if powerpc-tuxbox-linux-gnu-gcc supports -fno-rtti -fno-exceptions ... yes
checking if powerpc-tuxbox-linux-gnu-gcc static flag -static works... -static
checking if the linker (/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /dbox2/cdk/powerpc-tuxbox-linux-gnu/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) powerpc-tuxbox-linux-gnu-gcc
checking whether the C compiler (powerpc-tuxbox-linux-gnu-gcc -O2 -mcpu=823 -s) works... yes
checking whether the C compiler (powerpc-tuxbox-linux-gnu-gcc -O2 -mcpu=823 -s) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... (cached) yes
checking for inline... inline
checking for working const... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc -s) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
make: *** [.libsdl] Fehler 1


TNe
woglinde
Einsteiger
Einsteiger
Beiträge: 261
Registriert: Donnerstag 15. November 2001, 00:00

Beitrag von woglinde »

Puh,

da hab ich auch erstmal keine ahnung was da los ist. Kannst
du mal in das libsdl verzeichniss wechseln und schauen
was in config.log steht? Ansonsten ist es vielleicht das
du keine c++ compiler installiert hast, also den für i386.

Gruss Woglinde
TNe-TWo
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Sonntag 5. Mai 2002, 16:30

Beitrag von TNe-TWo »

Hallo,

habe es hinbekommen

es fehlte "cc1plus"

habe alle cc... pakte nach inst. und geht...

TNe
TNe-TWo
Neugieriger
Neugieriger
Beiträge: 9
Registriert: Sonntag 5. Mai 2002, 16:30

Beitrag von TNe-TWo »

Hallo,

jetzt der nächste Fehler.

make -C ..//apps/dvbsnoop all install
make[1]: Entering directory `/home/tuxi/tuxbox-cvs/apps/dvbsnoop'
source='bat.c' object='bat.o' libtool=no \
depfile='.deps/bat.Po' tmpdepfile='.deps/bat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f bat.c || echo './'`bat.c
In file included from bat.c:28:
dvbsnoop.h:31:21: ost/dmx.h: No such file or directory
bat.c: In function `decode_BAT':
bat.c:126: warning: implicit declaration of function `descriptor'
make[1]: *** [bat.o] Error 1
make[1]: Leaving directory `/home/tuxi/tuxbox-cvs/apps/dvbsnoop'
make: *** [.dvbsnoop] Error 2

habe mall in dvbsnoop.h die Zeile #include <ost/dmx.h> ausgeremt

dann kommt er bist:

make -C ..//apps/dvbsnoop all install
make[1]: Entering directory `/home/tuxi/tuxbox-cvs/apps/dvbsnoop'
source='bat.c' object='bat.o' libtool=no \
depfile='.deps/bat.Po' tmpdepfile='.deps/bat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f bat.c || echo './'`bat.c
bat.c: In function `decode_BAT':
bat.c:126: warning: implicit declaration of function `descriptor'
source='dit.c' object='dit.o' libtool=no \
depfile='.deps/dit.Po' tmpdepfile='.deps/dit.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f dit.c || echo './'`dit.c
source='dvbsnoop.c' object='dvbsnoop.o' libtool=no \
depfile='.deps/dvbsnoop.Po' tmpdepfile='.deps/dvbsnoop.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f dvbsnoop.c || echo './'`dvbsnoop.c
dvbsnoop.c: In function `main':
dvbsnoop.c:69: warning: implicit declaration of function `setHexPrintMode'
dvbsnoop.c:83: warning: implicit declaration of function `init_receive_time'
dvbsnoop.c:100: warning: too many arguments for format
source='pat.c' object='pat.o' libtool=no \
depfile='.deps/pat.Po' tmpdepfile='.deps/pat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f pat.c || echo './'`pat.c
source='rst.c' object='rst.o' libtool=no \
depfile='.deps/rst.Po' tmpdepfile='.deps/rst.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f rst.c || echo './'`rst.c
source='st.c' object='st.o' libtool=no \
depfile='.deps/st.Po' tmpdepfile='.deps/st.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f st.c || echo './'`st.c
st.c: In function `decode_ST':
st.c:72: warning: implicit declaration of function `printhex_buf'
source='tslayer.c' object='tslayer.o' libtool=no \
depfile='.deps/tslayer.Po' tmpdepfile='.deps/tslayer.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f tslayer.c || echo './'`tslayer.c
tslayer.c: In function `decodeTS_buf':
tslayer.c:105: warning: implicit declaration of function `printhexdump_buf'
tslayer.c: In function `ts_adaption_field_extension':
tslayer.c:326: warning: unused variable `n'
source='cat.c' object='cat.o' libtool=no \
depfile='.deps/cat.Po' tmpdepfile='.deps/cat.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f cat.c || echo './'`cat.c
cat.c: In function `decode_CAT':
cat.c:90: warning: implicit declaration of function `descriptor'
source='dmx_pes.c' object='dmx_pes.o' libtool=no \
depfile='.deps/dmx_pes.Po' tmpdepfile='.deps/dmx_pes.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
powerpc-tuxbox-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..//driver/include -Wall -O2 -g3 -mcpu=823 -c `test -f dmx_pes.c || echo './'`dmx_pes.c
dmx_pes.c: In function `doReadPES':
dmx_pes.c:62: storage size of `flt' isn't known
dmx_pes.c:64: `DMX_SET_BUFFER_SIZE' undeclared (first use in this function)
dmx_pes.c:64: (Each undeclared identifier is reported only once
dmx_pes.c:64: for each function it appears in.)
dmx_pes.c:65: sizeof applied to an incomplete type
dmx_pes.c:65: sizeof applied to an incomplete type
dmx_pes.c:68: `DMX_IN_FRONTEND' undeclared (first use in this function)
dmx_pes.c:69: `DMX_OUT_TAP' undeclared (first use in this function)
dmx_pes.c:70: `DMX_PES_OTHER' undeclared (first use in this function)
dmx_pes.c:73: `DMX_SET_PES_FILTER' undeclared (first use in this function)
dmx_pes.c:78: `DMX_START' undeclared (first use in this function)
dmx_pes.c:62: warning: unused variable `flt'
dmx_pes.c:176: `DMX_SET_FILTER' undeclared (first use in this function)
dmx_pes.c:177: `DMX_STOP' undeclared (first use in this function)
dmx_pes.c:181: warning: `return' with no value, in function returning non-void
make[1]: *** [dmx_pes.o] Error 1
make[1]: Leaving directory `/home/tuxi/tuxbox-cvs/apps/dvbsnoop'
make: *** [.dvbsnoop] Error 2

TNe
Homar
Senior Member
Beiträge: 1278
Registriert: Mittwoch 5. September 2001, 00:00

Beitrag von Homar »

Hi...

bin nicht so ganz sicher, aber könnte vielleicht sein das du deine ./configure bla bla nicht den Pfad angepasst hat ???

aus:

Code: Alles auswählen

./configure --prefix=/dbox2 --with-cvsdir=$HOME/tuxbox-cvs --enable-maintainer-mode 
must du:

Code: Alles auswählen

./configure --prefix=/dbox2 --with-cvsdir=$HOME/tuxi/tuxbox-cvs --enable-maintainer-mode 
machen.