ich kann den uclibc patch leider nicht auf den neusten Stand halten. das letzte mal als ich mich mit dem tuxbox CVS auseinandergesetzt habe war vor einem halben Jahr. ich komme leider nicht öfter dazu... meine dbox ist auch schon ganz eingestaubt

das ist sehr schadeich kann den uclibc patch leider nicht auf den neusten Stand halten.
die sind schon eingeschaltet <verwende die CVS config habe dran gar nichts geaendert>sieht so aus als ob in der uclibc config UCLIBC_HAS_CTYPE_TABLES bzw. UCLIBC_HAS_LOCALE aktiviert werden müsste.
Vielleicht hilft das: http://buildroot.uclibc.org/cgi-bin/vie ... &view=autoZaphot hat geschrieben:leider lassen sich die uclibc libs nicht mit mklibs verkleinern, da sie dadurch aus bisher noch unbekanten Gründen kaputt gehen.
Add support for mklibs (strips unused syms from shared libs such as uClibc)
based on a patch from akvadrako, and using a version of mklibs.py that was
massively hacked up by andersee and mjn3 for uClibc support.
Code: Alles auswählen
option(`CONFIG_FEATURE_SHADOWPASSWDS', `y', `n')
Code: Alles auswählen
# HAS_SHADOW is not set
beim Kompilieren von busybox.CC applets/applets.o
In file included from include/libbb.h:59,
from include/busybox.h:10,
from applets/applets.c:16:
include/shadow_.h:24:20: shadow.h: No such file or directory
Basierend auf o.g. Patch hier die für das aktuelle CVS angepasste Version: uclibc.diffZaphot hat geschrieben:ist gefixt: uclibc-newmake-04.10.diff.gz
Code: Alles auswählen
[pid 190] open("/var/tuxbox/config/timerd.conf", O_RDONLY|O_LARGEFILE) = 5
[pid 190] ioctl(5, TCGETS, {0xc8 /* B??? */ -opost isig icanon -echo ...}) = 268599296
[pid 190] brk(0x10028000) = 0x10029000
[pid 190] brk(0x10029000) = 0x5
[pid 189] exit(0) = ?
Process 189 detached
read(5, Process 189 attached (waiting for parent)
"EXTRA"..., 4095) = 5
[pid 190] read(5, "0'\272t0"..., 4095) = 5
[pid 190] close(5) = 2147482624
[pid 190] pipe([5, 6]) = 3840
[pid 190] clone(Process 6 attached
child_stack=0x10028a90, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND) = 6
[pid 190] write(6, "\0\0\0\0000!\304\230\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5Y\0"..., 148pt: assertion failed in manager.c) = 2
[pid 190] rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 6
[pid 190] write(6, "0\nc\0\0\0\0\0\0\0\0\0\20\0\376\260\20\2jp\200\0\0\0\0\0\0\0\0\0\0\0\20"..., 148) = 2
[pid 190] rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 2147482528
:154.
[pid 190] --- SIGRTMIN (Unknown signal 32) @ 0 (0) ---
[pid 190] rt_sigsuspend([]) = 5
[pid 190] accept(4, <unfinished ...>
[pid 190] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
resume: ptrace(PTRACE_SYSCALL, ...): No such process
Process 190 detached
Process 189 detached
Process 6 detached
#
Code: Alles auswählen
# cat /var/tuxbox/config/timerd.conf
EXTRA_TIME_END=0
EXTRA_TIME_START=0
#
Code: Alles auswählen
configure: error:
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.26, ltmain.sh = 1.5.22) ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
Code: Alles auswählen
libtoolize --copy --force
Code: Alles auswählen
amiga@thinkpad /media/disk $ cat tuxbox-uclibc.sh
export cvsdir=$HOME/tuxbox-uclibc/tuxbox-cvs
export cdkdir=$cvsdir/cdk
export distridir=$HOME/tuxbox-uclibc/dbox2
mkdir $cvsdir
cd $cvsdir
export CVS_RSH=ssh
BUILDDIR=$PWD
CVS=:ext:anoncvs@cvs.tuxbox.org:/cvs/tuxbox
cvs -qz9 -d $CVS co -f -r newmake -P .
patch -p1 </media/disk/Download/uclibc.diff
cd $cdkdir
ln -s ~/tuxbox/tuxbox-cvs/cdk/Archive
./autogen.sh
./configure --enable-german-keymaps \
--enable-uclibc \
--enable-maintainer-mode \
--prefix=$distridir \
--enable-flashrules \
--enable-cdkVcInfo \
--disable-ext3 \
--with-checkImage=rename \
--with-cvsdir=$cvsdir \
--enable-ccache
time make flash-neutrino-squashfs-all
Code: Alles auswählen
/var # ls -l /lib
-rwxr-xr-x 1 500 500 19612 Sep 26 23:06 ld-uClibc-0.9.28.so
-rwxr-xr-x 1 500 500 19612 Sep 26 23:06 ld-uClibc.so.0
lrwxrwxrwx 1 500 500 19 Sep 26 23:06 ld.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx 1 500 500 19 Sep 26 23:06 libc.so.0 -> libuClibc-0.9.28.so
Code: Alles auswählen
rm -Rf $HOME/.ccache/*
export type=uclibc
export location=/media/disk/tuxbox-$type
mkdir $location || exit
ln -s $location /home/amiga || exit
export cvsdir=$HOME/tuxbox-$type/tuxbox-cvs
export cdkdir=$cvsdir/cdk
export distridir=$HOME/tuxbox-$type/dbox2
mkdir $cvsdir || exit
cd $cvsdir || exit
export CVS_RSH=ssh
BUILDDIR=$PWD
CVS=:ext:anoncvs@cvs.tuxbox.org:/cvs/tuxbox
cvs -qz9 -d $CVS co -f -r newmake -P . || exit
patch -p1 </media/disk/Download/uclibc.diff || exit
cd $cdkdir || exit
ln -s ~/tuxbox/tuxbox-cvs/cdk/Archive || exit
./autogen.sh || exit
./configure --enable-german-keymaps \
--enable-uclibc \
--enable-maintainer-mode \
--prefix=$distridir \
--enable-flashrules \
--enable-cdkVcInfo \
--disable-ext3 \
--with-checkImage=rename \
--with-cvsdir=$cvsdir \
--disable-ccache || exit
echo
echo "!!! Manualy change libpng in tuxbox-cvs/cdk/Makefile, add"
echo "libtoolize --copy --force"
echo
echo "then run:"
echo "make flash-neutrino-squashfs-all"
Code: Alles auswählen
[FileBrowser] SC URL: http://www.shoutcast.com/sbin/newxml.phtml
[FileBrowser] SC URL: http://www.shoutcast.com/sbin/newxml.phtml?genre=Latin
failed to get glyph bitmap.
failed to get glyph bitmap.
failed to get glyph bitmap.
processPlaylistUrl(http://www.shoutcast.com/sbin/tunein-station.pls?id=305783, Mexico es S U P E R - H I T S !(((( PON TU RADIO EN INTERNET)))) !)
Segmentation fault
Neutrino exited with nonzero exit status, restarting...
starting /bin/neutrino
Da bin ich erleichtert.amiga23 hat geschrieben:Das Keyboard funktioniert korrekt mit DE Layout.
amiga23 hat geschrieben:Hattest Du nicht geschrieben, dass die library reduction nicht funktioniert? Hat er aber trotzdem gemacht und scheint zu gehen.
Es geht nur um uClibc selbst, nicht um die anderen Dateien. Nachdem mklibsspiralvoice hat geschrieben:Die uClibc selbst wurde nicht mit mklibs bearbeitet, da sie dadurch zerstört werden würde.
Code: Alles auswählen
+if TARGETRULESET_UCLIBC
+ UCLIBC_FILES="libpthread-0.9.28.so libm-0.9.28.so libuClibc-0.9.28.so libdl-0.9.28.so libnsl-0.9.28.so ld-...
+ for i in $$UCLIBC_FILES; do cp $(targetprefix)/lib/$$i $</lib/; done; \
+ for i in $$UCLIBC_FILES; do ln -sf $$i $</lib/`echo $$i | cut -d - -f 1`.so.0; done
+ ln -sf libuClibc-0.9.28.so $</lib/libc.so.0
+endif
Warum müssen die binutils updated werden? Ich würde das nur ungern ohne gute Begründung tun.rhabarber1848 hat geschrieben:Ich halte den bestehenden uClibc-Patch reif fürs CVS
...
aber der glibc-Betrieb wird AFAIK nicht beeinträchtigt.
Binutils 2.18.50.0.9 hat uClibc-Support bereits eingebaut, derseife hat geschrieben:ist das binutils-update wirklich notwendig?
cool, dann müsste es ja auch einfacher möglich sein links in ein flashimage zu integrieren... da aus uClibc keinerlei Symbole entfernt wurden.
Bitte nochmals herunterladen, in der ersten Version war noch ein kleiner Fehler drin.rhabarber1848 hat geschrieben:Um den uclibc-Patch etwas schlanker zu machen, habe ich den Patch, der
console_tools mit kbd ersetzt, herausgelöst: kbd.diff
Gute Idee, ich probiere gerade folgende Patches im aktuellen CVS (inkl. kbd.diff):seife hat geschrieben:Vorschlag:
wir nehmen binutils-uclibc.diff
Code: Alles auswählen
+ KERNEL_SOURCE="$(buildprefix)/$(KERNEL_DIR)" \
+ KERNEL_HEADERS="$(targetprefix)/include" \
Code: Alles auswählen
patching file cdk/configure.ac
Hunk #2 succeeded at 664 (offset 1 line).
patching file cdk/make/automount.mk
patching file cdk/make/bluetooth.mk
patching file cdk/make/bootstrap.mk
patching file cdk/make/buildenv.mk
patching file cdk/make/busybox.mk
patching file cdk/make/contrib-apps.mk
Hunk #5 succeeded at 105 (offset 20 lines).
Hunk #6 succeeded at 131 (offset 20 lines).
Hunk #7 succeeded at 160 (offset 20 lines).
Hunk #8 succeeded at 179 (offset 20 lines).
Hunk #9 succeeded at 193 (offset 20 lines).
Hunk #10 succeeded at 220 (offset 20 lines).
Hunk #11 succeeded at 265 (offset 20 lines).
Hunk #12 succeeded at 282 (offset 20 lines).
Hunk #13 succeeded at 321 (offset 20 lines).
Hunk #14 succeeded at 343 (offset 20 lines).
Hunk #15 succeeded at 383 (offset 20 lines).
Hunk #16 succeeded at 408 (offset 20 lines).
Hunk #17 succeeded at 435 (offset 20 lines).
Hunk #18 succeeded at 460 (offset 20 lines).
patching file cdk/make/contrib-libs.mk
patching file cdk/make/development-tools.mk
patching file cdk/make/dosfstools.mk
patching file cdk/make/dvb-apps.mk
patching file cdk/make/flashable-dirs.mk
patching file cdk/make/ftpd.mk
patching file cdk/make/fun.mk
patching file cdk/make/ide-apps.mk
patching file cdk/make/java-stuff.mk
patching file cdk/make/linuxkernel.mk
patching file cdk/make/nfsserver.mk
patching file cdk/make/reduce-libs.mk
patching file cdk/make/rootutils.mk
patching file cdk/make/u-boot.mk
patching file cdk/make/upnp.mk
patching file cdk/Patches/autofs.diff
patching file cdk/Patches/busybox.config.m4
patching file cdk/Patches/gcc-g++.diff
patching file cdk/Patches/libcurl.diff
patching file cdk/Patches/strace.diff
patching file cdk/Patches/uclibc-0.9.28.3.config
patching file cdk/rules-archive
Hunk #2 succeeded at 127 (offset 1 line).
patching file cdk/rules-install
patching file cdk/rules-make
Hunk #1 succeeded at 17 with fuzz 2.
Hunk #2 succeeded at 126 (offset 1 line).
patching file hostapps/mklibs/mklibs.py
Code: Alles auswählen
rm -Rf $HOME/.ccache/*
# You only need to change these three paths ###############
export type=uclibc-new
export location=/media/disk/tuxbox-$type
export archivedir=/media/disk/tuxbox/Archive
###########################################################
export cvspatchdir=$location/cvspatches
export cvsdir=$location/tuxbox-cvs
export cdkdir=$cvsdir/cdk
export distridir=$location/dbox2
mkdir $location || exit
mkdir $cvsdir || exit
mkdir $cvspatchdir || exit
cd $cvsdir || exit
export CVS_RSH=ssh
BUILDDIR=$PWD
CVS=:ext:anoncvs@cvs.tuxbox.org:/cvs/tuxbox
cvs -qz9 -d $CVS co -f -r newmake -P . || exit
# kbd.diff - already checked in
#wget -nv -O kbd.diff "http://tuxbox-upload.wittnet.de/index.php?action=downloadfile&filename=kbd.diff&directory=Diffs" || exit
#patch -p1 <$cvspatchdir/kbd.diff || exit
# binutils-2.17-uclibc.diff - basiert auf Patch von seife
wget -nv -O $cvspatchdir/binutils-2.17-uclibc.diff "http://tuxbox-upload.wittnet.de/index.php?action=downloadfile&filename=binutils-2.17-uclibc.diff&directory=Diffs" || exit
patch -p1 <$cvspatchdir/binutils-2.17-uclibc.diff || exit
# uclibc-nobinutils.diff - eigentlicher uClibc-Patch ohne kbd und binutils
wget -nv -O $cvspatchdir/uclibc-nobinutils.diff "http://tuxbox-upload.wittnet.de/index.php?action=downloadfile&filename=uclibc-nobinutils.diff&directory=Diffs" || exit
patch -p1 <$cvspatchdir/uclibc-nobinutils.diff || exit
# rules-make-uclibc.diff löst Kompilierprobleme von amiga23
wget -nv -O $cvspatchdir/rules-make-uclibc.diff "http://tuxbox-upload.wittnet.de/index.php?action=downloadfile&filename=rules-make-uclibc.diff&directory=Diffs" || exit
patch -p1 <$cvspatchdir/rules-make-uclibc.diff || exit
cd $cdkdir || exit
# No need to download the archives again and again
ln -s $archivedir || exit
./autogen.sh || exit
./configure --enable-german-keymaps \
--enable-uclibc \
--enable-maintainer-mode \
--prefix=$distridir \
--enable-flashrules \
--enable-cdkVcInfo \
--disable-ext3 \
--with-checkImage=rename \
--with-cvsdir=$cvsdir \
--disable-ccache || exit
time make flash-neutrino-squashfs-all
make flash-tuxcal
make flash-neutrino-squashfs-all
Das Problem ist im aktuellen(EDIT: Aktueller Patch ist hier: http://forum.tuxbox-cvs.sourceforge.net ... 37#p360937) gelöst.seife hat geschrieben:Mit Kernel 2.6 baut uclibc nicht (asm/mman.h nicht gefunden).