Re: Compilando o Kernel otimizado para o seu processador no Ubuntu!

Iniciado por xluisfernando, 26 de Setembro de 2011, 22:04

tópico anterior - próximo tópico

xluisfernando

Galactus

No momento de compilar apareceu um erro:
Citarroot@xluisfernando-laptop:~# cd /usr/src/linux
root@xluisfernando-laptop:/usr/src/linux# make-kpkg clean
unlink debian/control
unlink debian/commit-templates/sauce-patch
unlink debian/commit-templates/missing-modules
unlink debian/commit-templates/upstream-patch
unlink debian/commit-templates/bumpabi
unlink debian/commit-templates/external-driver
unlink debian/commit-templates/newrelease
unlink debian/commit-templates/config-updates
rmdir commit-templates
unlink debian/changelog
unlink debian/docs/README.inclusion-list
rmdir docs
unlink debian/rules.d/2-binary-arch.mk
unlink debian/rules.d/1-maintainer.mk
unlink debian/rules.d/4-checks.mk
unlink debian/rules.d/0-common-vars.mk
unlink debian/rules.d/3-binary-indep.mk
unlink debian/rules.d/5-udebs.mk
rmdir rules.d
unlink debian/tests/check-aliases
unlink debian/tests/README
rmdir tests
unlink debian/source/format
rmdir source
unlink debian/control-scripts/postinst
unlink debian/control-scripts/headers-postinst
unlink debian/control-scripts/postrm
unlink debian/control-scripts/prerm
unlink debian/control-scripts/preinst
rmdir control-scripts
unlink debian/rules
unlink debian/tools/turbostat
unlink debian/tools/x86_energy_perf_policy
unlink debian/tools/perf
rmdir tools
unlink debian/scripts/module-check
unlink debian/scripts/abi-check
unlink debian/scripts/module-inclusion
unlink debian/scripts/sub-flavour
unlink debian/scripts/control-create
unlink debian/scripts/link-headers
unlink debian/scripts/config-check
unlink debian/scripts/misc/git-ubuntu-log
unlink debian/scripts/misc/splitconfig.pl
unlink debian/scripts/misc/retag
unlink debian/scripts/misc/getabis
unlink debian/scripts/misc/insert-changes.pl
unlink debian/scripts/misc/insert-ubuntu-changes
unlink debian/scripts/misc/kernelconfig
rmdir misc
rmdir scripts
unlink debian/debian.env
unlink debian/control.stub
unlink debian/compat
unlink debian/copyright
rmdir debian
exec make kpkg_version=12.032 -f /usr/share/kernel-package/ruleset/minimal.mk clean
====== making target minimal_clean [new prereqs: ]======
This is kernel package version 12.032.
test ! -f .config || cp -pf .config config.precious
test ! -e stamp-building || rm -f stamp-building
test ! -f Makefile || \
            make    ARCH=i386 distclean
make[1]: Entrando no diretório `/usr/src/linux-source-3.0.0'
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config include/generated
  CLEAN   .config .config.old
make[1]: Saindo do diretório `/usr/src/linux-source-3.0.0'
test ! -f config.precious || mv -f config.precious .config
rm -f modules/modversions.h modules/ksyms.ver scripts/cramfs/cramfsck scripts/cramfs/mkcramfs 
root@xluisfernando-laptop:/usr/src/linux# CONCURRENCY_LEVEL=2 make-kpkg --initrd --revision=x86 kernel_image kernel_source kernel_headers modules_image
exec make kpkg_version=12.032 -f /usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=x86  INITRD=YES
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version 12.032.
test -d debian             || mkdir debian
test ! -e stamp-building || rm -f stamp-building
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do                                      \
            cp -f  /usr/share/kernel-package/$file ./debian/;                               \
        done
for dir  in Config docs examples ruleset scripts pkg po;  do                                      \
          cp -af /usr/share/kernel-package/$dir  ./debian/;                                 \
        done
test -f debian/control || sed         -e 's/=V/3.0.3/g'  \
                -e 's/=D/x86/g'         -e 's/=A/i386/g'  \
      -e 's/=SA//g'  \
      -e 's/=I//g'                \
      -e 's/=CV/3.0/g'             \
      -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'             \
      -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                  /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/3.0.3/g'       \
            -e 's/=D/x86/g'        -e 's/=A/i386/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'         \
            -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                            \
             /usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
test -d ./debian/stamp || mkdir debian/stamp
make -f debian/rules debian/stamp/conf/kernel-conf
make[1]: Entrando no diretório `/usr/src/linux-source-3.0.0'
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make    ARCH=i386 \
                    oldconfig;                                     
make[2]: Entrando no diretório `/usr/src/linux-source-3.0.0'
scripts/kconfig/conf --oldconfig Kconfig
warning: (GFS2_FS) selects DLM which has unmet direct dependencies (EXPERIMENTAL && INET && SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n))
warning: (SCHED_AUTOGROUP) selects CGROUP_SCHED which has unmet direct dependencies (CGROUPS && EXPERIMENTAL)
warning: (IWM && WIMAX_IWMC3200_SDIO) selects IWMC3200TOP which has unmet direct dependencies (MISC_DEVICES && MMC && EXPERIMENTAL)
warning: (SCSI_SRP) selects SCSI_TGT which has unmet direct dependencies (SCSI && EXPERIMENTAL)
warning: (ACPI_HOTPLUG_CPU) selects ACPI_CONTAINER which has unmet direct dependencies (ACPI && EXPERIMENTAL)
warning: (SCHED_AUTOGROUP) selects CGROUP_SCHED which has unmet direct dependencies (CGROUPS && EXPERIMENTAL)
warning: (GFS2_FS) selects DLM which has unmet direct dependencies (EXPERIMENTAL && INET && SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n))
warning: (ACPI_HOTPLUG_CPU) selects ACPI_CONTAINER which has unmet direct dependencies (ACPI && EXPERIMENTAL)
warning: (IWM && WIMAX_IWMC3200_SDIO) selects IWMC3200TOP which has unmet direct dependencies (MISC_DEVICES && MMC && EXPERIMENTAL)
warning: (SCSI_SRP) selects SCSI_TGT which has unmet direct dependencies (SCSI && EXPERIMENTAL)
#
# configuration written to .config
#
make[2]: Saindo do diretório `/usr/src/linux-source-3.0.0'
make    ARCH=i386 prepare
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
make[2]: Entrando no diretório `/usr/src/linux-source-3.0.0'
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (GFS2_FS) selects DLM which has unmet direct dependencies (EXPERIMENTAL && INET && SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n))
warning: (SCHED_AUTOGROUP) selects CGROUP_SCHED which has unmet direct dependencies (CGROUPS && EXPERIMENTAL)
warning: (IWM && WIMAX_IWMC3200_SDIO) selects IWMC3200TOP which has unmet direct dependencies (MISC_DEVICES && MMC && EXPERIMENTAL)
warning: (SCSI_SRP) selects SCSI_TGT which has unmet direct dependencies (SCSI && EXPERIMENTAL)
warning: (ACPI_HOTPLUG_CPU) selects ACPI_CONTAINER which has unmet direct dependencies (ACPI && EXPERIMENTAL)
warning: (GFS2_FS) selects DLM which has unmet direct dependencies (EXPERIMENTAL && INET && SYSFS && CONFIGFS_FS && (IPV6 || IPV6=n))
warning: (SCHED_AUTOGROUP) selects CGROUP_SCHED which has unmet direct dependencies (CGROUPS && EXPERIMENTAL)
warning: (IWM && WIMAX_IWMC3200_SDIO) selects IWMC3200TOP which has unmet direct dependencies (MISC_DEVICES && MMC && EXPERIMENTAL)
warning: (SCSI_SRP) selects SCSI_TGT which has unmet direct dependencies (SCSI && EXPERIMENTAL)
warning: (ACPI_HOTPLUG_CPU) selects ACPI_CONTAINER which has unmet direct dependencies (ACPI && EXPERIMENTAL)
make[2]: Saindo do diretório `/usr/src/linux-source-3.0.0'
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
/bin/sh: Syntax error: word unexpected (expecting "then")
make[2]: Entrando no diretório `/usr/src/linux-source-3.0.0'
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
/bin/sh: Syntax error: ")" unexpected
make[3]: ** [kernel/bounds.s] Erro 2
make[2]: ** [prepare0] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-source-3.0.0'
make[1]: ** [debian/stamp/conf/kernel-conf] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-source-3.0.0'
make: ** [debian/stamp/conf/minimal_debian] Erro 2
Failed to create a ./debian directory: Arquivo ou diretório não encontrado at /usr/bin/make-kpkg line 971.
root@xluisfernando-laptop:/usr/src/linux#

O que pode ser?
Samsung Ativ Book i3 - Ubuntu 20.04LTS

platao

\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997