Jump to content

SQUASHFS Image FAQ


Worschter

Empfohlene Beiträge

Hallo,

 

 

Ich mach hier mal nen Thread auf, bezüglich dieser FAQ zum Erstellen des Squashfs Images.

http://www.keywelt-board.com/index.php?showtopic=52361

 

Ich hab den Thread im FAQ Bereich gechlossen, damit ich ihn bei Bedarf immer wieder

erweitern kann.

 

Darum bitte Anfragen und so hier rein :lol:

 

Gruß!

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • Antworten 291
  • Created
  • Letzte Antwort

Top Posters In This Topic

gemacht getan :lol:

 

hallo Worschter ,

ersteinmal ein fettes danke schön für diese tolle anleitung ,

du hast dir echt mühe gemacht und wie ich finde ist es sehr verständlich geworden :P

 

bin deiner anleitung gefolgt und leider nur bis zum folgendem punkt gekommen :

edit:

sorry hab den falschen code eingefügt

Zuerst das u-boot

 

QUOTE

 

cd $HOME/tuxbox-cvs/cdk

rm -v .deps/u-boot

make u-boot

 

konsole spukt dann folgendes aus :

 

troy@ALPHA-PC:~$ cd $HOME/tuxbox-cvs/cdk

troy@ALPHA-PC:~/tuxbox-cvs/cdk$ rm -v .deps/u-boot

rm: Aufruf von lstat für ,,.deps/u-boot" nicht möglich: Datei oder Verzeichnis nicht gefunden

troy@ALPHA-PC:~/tuxbox-cvs/cdk$

 

"Datei oder Verzeichnis nicht gefunden " ist verständlich ->verzeichnis ist nicht vorhanden :lol:

 

muss ich /tuxbox-cvs/cdk/deps/u-boot selber erstellen ?

falls ja ,was muss gegebenfalls alles an dateien rein ?

 

würde mich freuen wenn du mir einen tipp geben würdest

grüsse x_troy_x

bearbeitet von x_troy_x
Link zu diesem Kommentar
Auf anderen Seiten teilen

ok ,danke

ohne

rm -v .deps/u-boot

ging es ein bisschen weiter bis :

...
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -W                                                           traditional -pedantic ../../binutils-2.14.90.0.5/libiberty/fibheap.c -o fibheap.o
../../binutils-2.14.90.0.5/libiberty/fibheap.c: In Funktion »fibheap_delete_node«:
../../binutils-2.14.90.0.5/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in t                                                           his function)
../../binutils-2.14.90.0.5/libiberty/fibheap.c:285: error: (Each undeclared identifier is report                                                           ed only once
../../binutils-2.14.90.0.5/libiberty/fibheap.c:285: error: for each function it appears in.)
make[5]: *** [fibheap.o] Fehler 1
make[5]: Leaving directory `/home/troy/tuxbox-cvs/cdk/build_binutils/libiberty'
make[4]: *** [all-libiberty] Fehler 2
make[4]: Leaving directory `/home/troy/tuxbox-cvs/cdk/build_binutils'
make[3]: *** [.deps/binutils] Fehler 2
make[3]: Leaving directory `/home/troy/tuxbox-cvs/cdk'
make[2]: *** [bootstrap_gcc] Fehler 2
make[2]: Leaving directory `/home/troy/tuxbox-cvs/cdk'
make[1]: *** [.deps/glibc] Fehler 2
make[1]: Leaving directory `/home/troy/tuxbox-cvs/cdk'
make: *** [.deps/bootstrap] Fehler 2
troy@ALPHA-PC:~/tuxbox-cvs/cdk$

 

mfg

Link zu diesem Kommentar
Auf anderen Seiten teilen

stimmt,

 

will nur noch erklären woher das stammt,

Das Skript ist ursprünglich für das bauen meherer verschiedener u-Boote gemacht gewesen.

damit ein weiterer gebaut werden kann muss die Datei gelöscht werden.

Da Du hier aber noch keinen gebaut hattest existiert das auch noch nicht.

 

EDIT: ups, das gehört zum ersten Posting :lol:

Link zu diesem Kommentar
Auf anderen Seiten teilen

habs nochmal durchlaufen lassen ,

ich hänge mal den gesamten log an

troy@ALPHA-PC:~/tuxbox-cvs/cdk$ make u-boot
make[1]: Entering directory `/home/troy/tuxbox-cvs/cdk'
make[2]: Entering directory `/home/troy/tuxbox-cvs/cdk'
make[3]: Entering directory `/home/troy/tuxbox-cvs/cdk'
( rm -rf binutils-2.14.90.0.5 || /bin/true ) && bunzip2 -cd Archive/binutils-2.14.90.0.5.tar.bz2 | TAPE=- tar -x && ( rm -rf build_binutils || /bin/true ) && mkdir build_binutils
cd build_binutils && \
       CC=gcc \
       CFLAGS="-g -O2" \
       ../binutils-2.14.90.0.5/configure \
               --target=powerpc-tuxbox-linux-gnu \
               --prefix=/home/troy/dbox2/cdk \
               --disable-nls \
               --nfp && \
       make all all-gprof && \
       make install
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... powerpc-tuxbox-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for powerpc-tuxbox-linux-gnu-ar... no
checking for powerpc-tuxbox-linux-gnu-as... no
checking for powerpc-tuxbox-linux-gnu-dlltool... no
checking for powerpc-tuxbox-linux-gnu-ld... no
checking for powerpc-tuxbox-linux-gnu-nm... no
checking for powerpc-tuxbox-linux-gnu-ranlib... no
checking for powerpc-tuxbox-linux-gnu-windres... no
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
make[4]: Entering directory `/home/troy/tuxbox-cvs/cdk/build_binutils'
Configuring in libiberty
loading cache .././config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for sys/file.h... yes
checking for sys/param.h... no
checking for limits.h... no
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for dlfcn.h... yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... yes
checking for ANSI C header files... yes
checking for uintptr_t... no
checking whether weak symbol works... yes
checking for library containing dlopen... -ldl
checking for pid_t... yes
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... yes
checking for stpcpy... yes
checking for stpncpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for vfork.h... no
checking for working vfork... yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Configuring in bfd
loading cache .././config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking target system type... powerpc-tuxbox-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for strerror in -lcposix... no
checking for a BSD compatible install... (cached) /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 for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... (cached) ranlib
checking for strip... strip
updating cache .././config.cache
loading cache .././config.cache within ltconfig
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
finding the maximum length of command line arguments... 49153
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
updating cache .././config.cache
loading cache .././config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... no
checking for executable suffix... (cached) no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for argz.h... no
checking for limits.h... (cached) no
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... no
checking for sys/param.h... (cached) no
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking for a BSD compatible install... /usr/bin/install -c
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for opendir in -lx... no
checking for fcntl... yes
checking for getpagesize... (cached) yes
checking for setitimer... yes
checking for sysconf... (cached) yes
checking for fdopen... yes
checking for getuid... yes
checking for getgid... yes
checking whether strstr must be declared... no
checking whether malloc must be declared... no
checking whether realloc must be declared... no
checking whether free must be declared... no
checking whether getenv must be declared... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for madvise... yes
checking for mprotect... yes
updating cache .././config.cache
creating ./config.status
creating ../binutils.spec
creating Makefile
creating doc/Makefile
creating bfd-in3.h
creating bfdver.h
creating po/Makefile.in
creating config.h
make[5]: Entering directory `/home/troy/tuxbox-cvs/cdk/build_binutils/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
 mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/regex.c -o pic/regex.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/regex.c -o regex.o
In file included from ../../binutils-2.14.90.0.5/include/xregex.h:26,
                from ../../binutils-2.14.90.0.5/libiberty/regex.c:195:
../../binutils-2.14.90.0.5/include/xregex2.h:548: Warnung: ISO-C90 unterstützt kein »static« oder Typkennzeichner in Parameterfelddeklaratoren
In file included from ../../binutils-2.14.90.0.5/libiberty/regex.c:649:
../../binutils-2.14.90.0.5/libiberty/regex.c: In Funktion »byte_compile_range«:
../../binutils-2.14.90.0.5/libiberty/regex.c:4548: Warnung: signed and unsigned type in conditional expression
../../binutils-2.14.90.0.5/libiberty/regex.c:4558: Warnung: signed and unsigned type in conditional expression
../../binutils-2.14.90.0.5/libiberty/regex.c:4558: Warnung: signed and unsigned type in conditional expression
../../binutils-2.14.90.0.5/libiberty/regex.c: In Funktion »xregcomp«:
../../binutils-2.14.90.0.5/libiberty/regex.c:8043: Warnung: signed and unsigned type in conditional expression
../../binutils-2.14.90.0.5/libiberty/regex.c: In Funktion »xregerror«:
../../binutils-2.14.90.0.5/libiberty/regex.c:8178: Warnung: unused parameter `preg'
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/cplus-dem.c -o cplus-dem.o
../../binutils-2.14.90.0.5/libiberty/cplus-dem.c:55:2: Warnung: empfehle, #pragma vor traditionellem C mit # zu verbergen
../../binutils-2.14.90.0.5/libiberty/cplus-dem.c:56:2: Warnung: empfehle, #pragma vor traditionellem C mit # zu verbergen
../../binutils-2.14.90.0.5/libiberty/cplus-dem.c:57:2: Warnung: empfehle, #pragma vor traditionellem C mit # zu verbergen
../../binutils-2.14.90.0.5/libiberty/cplus-dem.c: In Funktion »cplus_demangle_set_style«:
../../binutils-2.14.90.0.5/libiberty/cplus-dem.c:881: Warnung: comparison of unsigned expression >= 0 is always true
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/md5.c -o pic/md5.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/md5.c -o md5.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/alloca.c -o pic/alloca.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/argv.c -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/argv.c -o argv.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/choose-temp.c -o pic/choose-temp.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/choose-temp.c -o choose-temp.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/concat.c -o pic/concat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/concat.c -o concat.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/dyn-string.c -o pic/dyn-string.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/dyn-string.c -o dyn-string.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/fdmatch.c -o fdmatch.o
if [ x"" != x ]; then \
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../binutils-2.14.90.0.5/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../binutils-2.14.90.0.5/libiberty/../i
nclude  -W -Wall -Wtraditional -pedantic ../../binutils-2.14.90.0.5/libiberty/fibheap.c -o fibheap.o
../../binutils-2.14.90.0.5/libiberty/fibheap.c: In Funktion »fibheap_delete_node«:
../../binutils-2.14.90.0.5/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function)
../../binutils-2.14.90.0.5/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once
../../binutils-2.14.90.0.5/libiberty/fibheap.c:285: error: for each function it appears in.)
make[5]: *** [fibheap.o] Fehler 1
make[5]: Leaving directory `/home/troy/tuxbox-cvs/cdk/build_binutils/libiberty'
make[4]: *** [all-libiberty] Fehler 2
make[4]: Leaving directory `/home/troy/tuxbox-cvs/cdk/build_binutils'
make[3]: *** [.deps/binutils] Fehler 2
make[3]: Leaving directory `/home/troy/tuxbox-cvs/cdk'
make[2]: *** [bootstrap_gcc] Fehler 2
make[2]: Leaving directory `/home/troy/tuxbox-cvs/cdk'
make[1]: *** [.deps/glibc] Fehler 2
make[1]: Leaving directory `/home/troy/tuxbox-cvs/cdk'
make: *** [.deps/bootstrap] Fehler 2
troy@ALPHA-PC:~/tuxbox-cvs/cdk$                      

 

mfg

Link zu diesem Kommentar
Auf anderen Seiten teilen

sei so nett und lad Dir mal das Script im ten Thread und geh danach vor.

das erste hab ich nicht durchgecheckt, das sollte im Groben erst mal zur Info dienen.

Nimm das Script und führe die Sachen am besten Schritt für schritt aus.

 

 

mir fällt im Moment nichts zu der Fehlermeldung ein, sorry.

 

Hast Du da bereits Dateien gepatcht?

 

Wäre mal interessant ob das auch ohne patchen auftritt, dann könnte man es vielleicht auf den Patch

eingrenzen.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Mahlzeit Worschter,

 

hab gerade mal dein Script aus dem FAQ getestet, scheint noch ein kleiner Fehler drin zu sein...

 

Hier mal der Log:

Erzeugen der symbolischen Verknüpfung ,,log" zu ,,/tmp"

Erzeugen der symbolischen Verknüpfung ,,pid" zu ,,/tmp"

Erzeugen der symbolischen Verknüpfung ,,run/tmp" zu ,,/tmp"

 

kommt ein Fehler wie :ln: Entfernen von run/tmp nicht moeglich: Die Operation ist nicht erlaubt

dann existiert der Link bereits, das kann man nicht abfangen, ist auch worscht!

 

Modus von ,,/home/Phantomas/image/dbox/cdkflash/root/etc/init.d/rcS" nach 0777 (rwxrwxrwx) geändert

#############################

 

jetzt mÃsst Ihr kontrollieren ob das Image korrekt ist

alle Dateien drin?, Alle Rechte vergeben?

siehe ~/dbox/cdkflash/root

        echo  wenn alles bereit ist, dann mit Return weiter

 

        read -p weiter ?

 

erstes Prob, hier hält das Script nicht an wartet auf die Bestätigung

 

Also weiter...

###############      SQUASH-FS Move Var  #####################

 

        cd /home/Phantomas/image/tuxbox-cvs/cdk

 

        ### Root und Var trennen

        [ -d /home/Phantomas/image/dbox/cdkflash/var ] && rm -rv /home/Phantomas/image/dbox/cdkflash/v

ar

        mv -v /home/Phantomas/image/dbox/cdkflash/root/var/ /home/Phantomas/image/dbox/cdkflash/

        [ -d /home/Phantomas/image/dbox/cdkflash/root/var ] && rm -rv /home/Phantomas/image/dbox/cdkfl

ash/root/var

        mkdir -v /home/Phantomas/image/dbox/cdkflash/root/var

 

 

###############      Imag zusammenbauen  #####################

 

        cd /home/Phantomas/image/dbox/cdkflash

        if [ -e root.img ]; then

                rm -v root.img

        fi

 

        if [ -e var.img ]; then

                rm -v var.img

        fi

 

 

        fakeroot mksquashfs root root.img -be #-always-use-fragments

        fakeroot mkfs.jffs2 -b -e 131072 -p -o var.img -r var

 

        IMG_GUI=neutrino

        fakeroot /home/Phantomas/image/tuxbox-cvs/hostapps/flash/flashmanage.pl -i /home/Phantomas/ima                                      ge/image/SQUASHFS_1x.img -o build --part ppcboot=/home/Phantomas/image/dbox/flfs/squashfs1x.img --part                                        root=root.img --part var=var.img

./build: line 541: unexpected EOF while looking for matching `"'

./build: line 553: syntax error: unexpected end of file

Phantomas@LinuxRechner:~/image/img$

 

Und hier bricht es dann mit dieser Meldung ab....

 

Hast du ne Idee ??? ------> erstes Prob, hier hält das Script nicht an wartet auf die Bestätigung

Link zu diesem Kommentar
Auf anderen Seiten teilen

Also,

 

beim ersten Problem hab ich in der Zeile drüber wohl ein " vergessen, müsste so aussehen

 

echo " siehe ~/dbox/cdkflash/root"

 

das hab ich dann dafür hier zuviel hingepappt :lol:

 

fakeroot $CVS/hostapps/flash/flashmanage.pl -i $IMAGES/SQUASHFS_1x.img" -o build --part ppcboot=$DBOX/flfs/squashfs1x.img --part root=root.img --part var=var.img

fakeroot $CVS/hostapps/flash/flashmanage.pl -i $IMAGES/SQUASHFS_2x.img" -o build --part ppcboot=$DBOX/flfs/squashfs2x.img --part root=root.img --part var=var.img

 

 

Sobald ich gegessen hab werd ich mal was aktualisiertes hochstellen

 

Die letzten 2 Zeilen müssen auch im Script neu_baun geändert werden.

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • 1 month later...

Hi Worschter,

 

hab ein kleines Problem, ich hänge an folgender Stelle:

Nun wird das U-Boot gestrickt, das dauert erst mal bisl wink.gif

Kaffee hole und Brot schmiere laugh.gif

 

wenn das durch ist, dann muss das U-Boot versenkt werd,

nee, dann muss das in das flfs Filesystem der DBOX gebracht werden.

 

CODE

cd $HOME/tuxbox-cvs/hostapps/mkflfs/
gcc -o mkflfs mkflfs.c minilzo.c
rm -v test
cp -v $DBOX/tftpboot/u-boot test
./mkflfs 1x
mv -v flfs.img $DBOX/flfs/squashfs1x.img
./mkflfs 2x
mv -v flfs.img $DBOX/flfs/squashfs2x.img

Konsolen-Log:

Phantomas@LinuxRechner:~$ cd $HOME/tuxbox-cvs/hostapps/mkflfs/

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$ gcc -o mkflfs mkflfs.c minilzo.c

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$ rm -v test

rm: Aufruf von lstat für ,,test" nicht möglich: Datei oder Verzeichnis nicht gefunden

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$

 

Was ist das Problem, ich steh gerade irgendwie auf dem Schlauch...

 

 

cu Phan

Link zu diesem Kommentar
Auf anderen Seiten teilen

hm,

 

sorry bin grad schwer am werken :lol:

 

was passiert denn genau? bricht das Script ab?

Irgendwie hab ich grad nicht den durchblick was da genau passiert,

 

 

rm -v test

rm: Aufruf von lstat für ,,test" nicht möglich: Datei oder Verzeichnis nicht gefunden

 

wenn test noch nicht vorhanden war kommt dieser Fehler,

allerdings sollte deswegen ansich das Script nicht abbrechen :D

Link zu diesem Kommentar
Auf anderen Seiten teilen

Das mit dem "schwer am werkeln" glaub ich dir auf´s Wort :D

 

Naja eigentlich geh ich die Sache komplett ohne Script durch, da es mit dem Script schon mehrmals nicht so richtig gefunzt hat mit "Größenverteilung" der zwei Parts...

 

Ich geh also dein ersten Post im FAQ Schritt für Schritt durch und an dem Punkt klemmt es ...

 

cu Phan

Link zu diesem Kommentar
Auf anderen Seiten teilen

Bist du dir sicher ???

 

Denn so richtig weiter geht es auch nicht...

 

LOG:

Phantomas@LinuxRechner:~$ cd $HOME/tuxbox-cvs/hostapps/mkflfs/

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$ cp -v $DBOX/tftpboot/u-boot test

cp: Aufruf von stat für ,,/tftpboot/u-boot" nicht möglich: Datei oder Verzeichnis nicht gefunden

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$ ./mkflfs 1x

Fatal error; could not open input file ``test''

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$

 

 

Und nu ???

 

 

cu Phan

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hmm....

 

Was brauchst du denn für Infos ???

 

Ich bin wie gesagt an diesem Punkt deines FAQ's und irgendwie klemmts. Is sicher wieder nur ne Kleinigkeit...

Nun wird das U-Boot gestrickt, das dauert erst mal bisl wink.gif

Kaffee hole und Brot schmiere laugh.gif

 

wenn das durch ist, dann muss das U-Boot versenkt werd,

nee, dann muss das in das flfs Filesystem der DBOX gebracht werden.

cd $HOME/tuxbox-cvs/hostapps/mkflfs/
gcc -o mkflfs mkflfs.c minilzo.c
rm -v test
cp -v $DBOX/tftpboot/u-boot test
./mkflfs 1x
mv -v flfs.img $DBOX/flfs/squashfs1x.img
./mkflfs 2x
mv -v flfs.img $DBOX/flfs/squashfs2x.img

 

 

Das mit der Variable $DBOX hab ich bedacht, der Ordner heißt ja auch /dbox2/tftpboot

 

Hier der LOG:

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$ cp -v /home/Phantomas/dbox2/tftpboot/u-boot test

cp: Aufruf von stat für ,,/home/Phantomas/dbox2/tftpboot/u-boot" nicht möglich: Datei oder Verzeichnis nicht gefunden

Phantomas@LinuxRechner:~/tuxbox-cvs/hostapps/mkflfs$

 

 

Übrigens der Ordner is leer, muß das so sein ???

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.

×
×
  • Neu erstellen...