Nur 3 make targets funktionieren nicht:
enigma, kermit, mrouted
Ansonsten kompiliert alles

Patch für kermit und mrouted: http://forum.tuxbox-cvs.sourceforge.net ... 96#p361296amiga23 hat geschrieben:Nur 3 make targets funktionieren nicht:
enigma, kermit, mrouted
Kleines kosmetisches Update in cdk/make/bootstrap.mk, keine neue Funktionalität.rhabarber1848 hat geschrieben:Leicht optimierte Version von EDIT: Patch ist im CVS
Code: Alles auswählen
I: Using ld-uClibc.so.0 as dynamic linker.
I: library reduction pass 1
878 symbols, 835 unresolved
I: library reduction pass 2
1031 symbols, 56 unresolved
I: library reduction pass 3
1031 symbols, 5 unresolved
I: library reduction pass 4
1031 symbols, 5 unresolved
I: library reduction pass 5
1031 symbols, 5 unresolved
I: library reduction pass 6
1031 symbols, 5 unresolved
I: library reduction pass 7
1031 symbols, 5 unresolved
I: library reduction pass 8
1031 symbols, 5 unresolved
I: library reduction pass 9
1031 symbols, 5 unresolved
I: library reduction pass 10
1031 symbols, 5 unresolved
I: library reduction pass 11
1031 symbols, 5 unresolved
I: library reduction pass 12
1031 symbols, 5 unresolved
I: library reduction pass 13
1031 symbols, 5 unresolved
I: library reduction pass 14
1031 symbols, 5 unresolved
Patch aktualisiert, Fehler behoben: (Patch entfernt)amiga23 hat geschrieben:Mit der uclibc.diff version vom 25.10. habe ich jetzt das Problem, daß die libs falsch verlinkt werden.
Code: Alles auswählen
if test "$enable_uclibc" = "yes"; then
CFLAGS="$CFLAGS -fPIC"
TARGET_CFLAGS="$TARGET_CFLAGS -fPIC"
TARGET_CXXFLAGS="$TARGET_CXXFLAGS -fPIC"
fi
Die lib-reduction hat schon positive Auswirkungen, vergleiche mal cdkroot/bin undamiga23 hat geschrieben:Uclibc29.diff führt bei mir zu dieser Endlosschleife.
Kannst Du die lib reduction nicht ganz rausnehmen? Funktioniert doch eh nicht.
Hier der fertige Patch dazu: http://forum.tuxbox-cvs.sourceforge.net ... 43#p361643amiga23 hat geschrieben:"make links" baut dann links im textonly mode
"make links_g" baut links im graphic modus - hierzu muss aber auch directfb installiert sein.
Code: Alles auswählen
cp dbox2/cdkroot/bin/links dbox2/cdkflash/root
chmod 755 dbox2/cdkflash/root/links
touch dbox2/cdkflash/root
make flash-neutrino-squashfs-all
Code: Alles auswählen
# also erst mal wieder löschen
rm dbox2/cdkflash/root/links
touch dbox2/cdkflash/root
make flash-neutrino-squashfs-all
# jetzt unsauber installieren
cp dbox2/cdkroot/bin/links dbox2/cdkflash/root-neutrino-squashfs
chmod 755 dbox2/cdkflash/root-neutrino-squashfs/links
rm dbox2/cdkflash/root-neutrino.squashfs
make flash-neutrino-squashfs-all
Kannst Du bitte das Ergebnis dieses Befehls posten:amiga23 hat geschrieben:dann werden 2 Symbole nicht gefunden:
Still need: __fpcmp_parts_f
Still need: __thenan_sf
Code: Alles auswählen
dbox2/cdk/bin/powerpc*-readelf -a dbox2/cdkroot/bin/links | grep NEEDED
Code: Alles auswählen
dbox2/cdk/bin/powerpc-tuxbox-linux-uclibc-readelf -a dbox2/cdkroot/bin/links | grep NEEDED
0x00000001 (NEEDED) Shared library: [libjpeg.so.6]
0x00000001 (NEEDED) Shared library: [libpng12.so.0]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libdirectfb-1.0.so.0]
0x00000001 (NEEDED) Shared library: [libfusion-1.0.so.0]
0x00000001 (NEEDED) Shared library: [libdirect-1.0.so.0]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libdl.so.0]
0x00000001 (NEEDED) Shared library: [libm.so.0]
0x00000001 (NEEDED) Shared library: [libgcc_s_nof.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.0]
../../include/lib/base/i18n.h:26:21: libintl.h: No such file or directory
Kurze Zwischenmeldung:rhabarber1848 hat geschrieben:bleibt "nur" noch I18N-Support...../../include/lib/base/i18n.h:26:21: libintl.h: No such file or directory
ja, als flashimage tut es nicht. Neutrino "segfaultet"rhabarber1848 hat geschrieben: Der Patch ist bisher nur als Yadd getestet, ein Flashimage kann zwar gebaut werden,
es wird sich aber seltsam[1] verhalten. Der Bereich mklibs.py ist noch sehr von meinen
Tests geprägt und darf so auf keinen Fall ins CVS.
Code: Alles auswählen
Segmentation fault
Neutrino exited with nonzero exit status, restarting...
Hilft dieser Patch?amiga23 hat geschrieben:Das Problem ist die libdl.so.0
Code: Alles auswählen
diff -uNr ../compile2/hostapps/mklibs/mklibs.py ./hostapps/mklibs/mklibs.py
--- ../compile2/hostapps/mklibs/mklibs.py 2008-10-11 14:53:59.000000000 +0200
+++ ./hostapps/mklibs/mklibs.py 2008-11-15 23:19:36.000000000 +0100
@@ -176,12 +176,20 @@
return ""
# Find a PIC archive for the library
+# this is either an archive of the form base_name_pic.a or
+# base_name.a with a _GLOBAL_OFFSET_TABLE_
def find_pic(lib):
base_name = so_pattern.match(lib).group(1)
for path in lib_path:
for file in glob.glob(path + "/" + base_name + "_pic.a"):
if os.access(file, os.F_OK):
return resolve_link(file)
+ for path in lib_path:
+ for file in glob.glob(root + path + base_name + ".a"):
+ relocs = command(target + "objdump", "-r", file)
+ # this must be size() > 1 to avoid stripping libdl
+ if os.access(file, os.F_OK) and regexpfilter(relocs,"(.*_GLOBAL_OFFSET_TABLE_)").size() > 1:
+ return resolve_link(file)
return ""
# Find a PIC .map file for the library
@@ -261,7 +269,7 @@
libc_extras_dir = "/usr/lib/libc_pic"
target = ""
root = ""
-so_pattern = re.compile("((lib|ld).*)\.so(\..+)*")
+so_pattern = re.compile("(?:.*/)*((lib|ld)[^/]*?)(-[.\d]*)?\.so(\.[^/]]+)*")
script_pattern = re.compile("^#!\s*/")
try: