Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

uClibc Fehler

Empfohlene Antworten

Hallo,

ich habe folgenden Fehler und meine Vorgehensweise, aber ich komme nicht mehr weiter.

Hat jemand einen Lösungsvorschlag zu einen der unteren beiden Fehler?


  libc/sysdeps/linux/common/sendfile.c:20: error: conflicting types for 'sendfile64'

  ./include/sys/sendfile.h:47: error: previous declaration of 'sendfile64' was here

  libc/sysdeps/linux/common/sendfile.c:20: error: conflicting types for 'sendfile64'

  ./include/sys/sendfile.h:47: error: previous declaration of 'sendfile64' was here
Wenn ich sendfile ausklammere kommt das als nächstes:
  In file included from /usr/include/asm/posix_types.h:4,

                   from /usr/include/linux/posix_types.h:47,

                   from /usr/include/linux/types.h:5,

                   from /usr/include/linux/if_ether.h:24,

                   from ./include/netinet/if_ether.h:26,

                   from ./include/netinet/ether.h:26,

                   from libc/inet/ethers.c:14:

  /usr/include/asm/posix_types_64.h:10: error: redefinition of typedef '__kernel_ino_t'

  ./include/bits/kernel_types.h:38: error: previous declaration of '__kernel_ino_t' was here

  /usr/include/asm/posix_types_64.h:11: error: redefinition of typedef '__kernel_mode_t'

  ./include/bits/kernel_types.h:39: error: previous declaration of '__kernel_mode_t' was here

  /usr/include/asm/posix_types_64.h:12: error: redefinition of typedef '__kernel_nlink_t'

  ./include/bits/kernel_types.h:48: error: previous declaration of '__kernel_nlink_t' was here

  /usr/include/asm/posix_types_64.h:13: error: redefinition of typedef '__kernel_off_t'

  ./include/bits/kernel_types.h:51: error: previous declaration of '__kernel_off_t' was here

  /usr/include/asm/posix_types_64.h:14: error: redefinition of typedef '__kernel_pid_t'

  ./include/bits/kernel_types.h:52: error: previous declaration of '__kernel_pid_t' was here

  /usr/include/asm/posix_types_64.h:15: error: conflicting types for '__kernel_ipc_pid_t'

  ./include/bits/kernel_types.h:53: error: previous declaration of '__kernel_ipc_pid_t' was here

  /usr/include/asm/posix_types_64.h:16: error: conflicting types for '__kernel_uid_t'

  ./include/bits/kernel_types.h:54: error: previous declaration of '__kernel_uid_t' was here

  /usr/include/asm/posix_types_64.h:17: error: conflicting types for '__kernel_gid_t'

  ./include/bits/kernel_types.h:55: error: previous declaration of '__kernel_gid_t' was here

  /usr/include/asm/posix_types_64.h:18: error: conflicting types for '__kernel_size_t'

  ./include/bits/kernel_types.h:56: error: previous declaration of '__kernel_size_t' was here

  /usr/include/asm/posix_types_64.h:19: error: conflicting types for '__kernel_ssize_t'

  ./include/bits/kernel_types.h:57: error: previous declaration of '__kernel_ssize_t' was here

  /usr/include/asm/posix_types_64.h:20: error: conflicting types for '__kernel_ptrdiff_t'

  ./include/bits/kernel_types.h:58: error: previous declaration of '__kernel_ptrdiff_t' was here

  /usr/include/asm/posix_types_64.h:21: error: redefinition of typedef '__kernel_time_t'

  ./include/bits/kernel_types.h:59: error: previous declaration of '__kernel_time_t' was here

  /usr/include/asm/posix_types_64.h:22: error: redefinition of typedef '__kernel_suseconds_t'

  ./include/bits/kernel_types.h:60: error: previous declaration of '__kernel_suseconds_t' was here

  /usr/include/asm/posix_types_64.h:23: error: redefinition of typedef '__kernel_clock_t'

  ./include/bits/kernel_types.h:61: error: previous declaration of '__kernel_clock_t' was here

  /usr/include/asm/posix_types_64.h:26: error: conflicting types for '__kernel_daddr_t'

  ./include/bits/kernel_types.h:62: error: previous declaration of '__kernel_daddr_t' was here

  /usr/include/asm/posix_types_64.h:27: error: redefinition of typedef '__kernel_caddr_t'

  ./include/bits/kernel_types.h:63: error: previous declaration of '__kernel_caddr_t' was here

  /usr/include/asm/posix_types_64.h:28: error: redefinition of typedef '__kernel_uid16_t'

  ./include/bits/kernel_types.h:64: error: previous declaration of '__kernel_uid16_t' was here

  /usr/include/asm/posix_types_64.h:29: error: redefinition of typedef '__kernel_gid16_t'

  ./include/bits/kernel_types.h:65: error: previous declaration of '__kernel_gid16_t' was here

  /usr/include/asm/posix_types_64.h:32: error: redefinition of typedef '__kernel_loff_t'

  ./include/bits/kernel_types.h:71: error: previous declaration of '__kernel_loff_t' was here

  /usr/include/asm/posix_types_64.h:37: error: conflicting types for '__kernel_fsid_t'

  ./include/bits/kernel_types.h:77: error: previous declaration of '__kernel_fsid_t' was here

  /usr/include/asm/posix_types_64.h:39: error: conflicting types for '__kernel_old_uid_t'

  ./include/bits/kernel_types.h:68: error: previous declaration of '__kernel_old_uid_t' was here

  /usr/include/asm/posix_types_64.h:40: error: conflicting types for '__kernel_old_gid_t'

  ./include/bits/kernel_types.h:69: error: previous declaration of '__kernel_old_gid_t' was here

  /usr/include/asm/posix_types_64.h:41: error: conflicting types for '__kernel_uid32_t'

  ./include/bits/kernel_types.h:66: error: previous declaration of '__kernel_uid32_t' was here

  /usr/include/asm/posix_types_64.h:42: error: conflicting types for '__kernel_gid32_t'

  ./include/bits/kernel_types.h:67: error: previous declaration of '__kernel_gid32_t' was here

  /usr/include/asm/posix_types_64.h:44: error: conflicting types for '__kernel_old_dev_t'

  ./include/bits/kernel_types.h:70: error: previous declaration of '__kernel_old_dev_t' was here

  make: *** [libc/inet/ethers.os] Fehler 1
Habe Linux_Headers auf crosstool umgestellt, dann kommt der Fehler bei uClibc0.9.32rc2:

  AR cr lib/libc.a

  STRIP -x -R .note -R .comment lib/libc.a

  AR cr lib/uclibc_nonshared.a

  STRIP -x -R .note -R .comment lib/uclibc_nonshared.a

  AR cr libc/libc_so.a

  STRIP -x -R .note -R .comment libc/libc_so.a

  LD libuClibc-0.9.32-rc2.so

  libc/libc_so.a(lutimes.os)(.text+0xac): In function `lutimes':

  : undefined reference to `__GI_utimensat'

  collect2: ld returned 1 exit status

  make: *** [lib/libc.so] Fehler 1
Antwort von Google: Installiere uClibc 0.9.31 Bei uClibc0.9.31 kommt dann:
  AR cr lib/libc.a

  STRIP -x -R .note -R .comment lib/libc.a

  AR cr lib/uclibc_nonshared.a

  STRIP -x -R .note -R .comment lib/uclibc_nonshared.a

  AR cr libc/libc_so.a

  STRIP -x -R .note -R .comment libc/libc_so.a

  LD libuClibc-0.9.31.so

  LD libdl-0.9.31.so

  /opt/crosstool/gcc-3.4.5-glibc-2.3.6/mipsel-unknown-linux-gnu/lib/gcc/mipsel-unknown-linux-gnu/3.4.5/../../../../mipsel-unknown-linux-gnu/bin/ld:./lib

  /libc.so: file format not recognized; treating as linker script

  /opt/crosstool/gcc-3.4.5-glibc-2.3.6/mipsel-unknown-linux-gnu/lib/gcc/mipsel-unknown-linux-gnu/3.4.5/../../../../mipsel-unknown-linux-gnu/bin/ld:./lib

  /libc.so:6: parse error

  collect2: ld returned 1 exit status

  make: *** [lib/libdl.so] Fehler 1

Antwort von Google:Mach einen Link zu libc-(version) -> Funktioniert nicht

Ändere bei der libc die GROUP -> Funktioniert auch nicht

Schon mal danke für die Hilfe:)

Bearbeitet von Asgar13

Sorry, habe die allgemeinen Daten vergessen

Betriebssystem: Linux Debian

Habe einen crosscompiler für mipsel.

Habe durch buildroot:

make menuconfig
Folgendes bei uClibc eingestellt: architktur:mips endian: little endian ausführpräfix: mipsel-unknown-linux-gnu- habe dann noch die PATH-variable um den crosscompiler erweitert und uClibc mit
make

ausgeführt dabei kommen diese Fehler.(und meine Vorgehensweise)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.