El kernel xconfig para la compilación cruzada falla con el error "no se encontró ningún paquete 'qt-mt'"

El kernel xconfig para la compilación cruzada falla con el error "no se encontró ningún paquete 'qt-mt'"

Estoy compilando de forma cruzada un kernel de Linux Kernel.org (linux-3.0.4) para un sistema ARM integrado. Hace unos días, pude compilar con éxito el kernel xconfig en un escritorio host Ubuntu 11.04 Natty (64 bits) usando gcc y un compilador cruzado. También probé el mismo proceso de compilación en un escritorio Ubuntu 11.10 (64 bits). Sin embargo, ahora recibo los siguientes errores relacionados con el paquete 'qt-mt':

$ make ARCH=arm xconfig
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc:6:21: fatal error: qglobal.h: No such file or directory
compilation terminated.
make[1]: *** [scripts/kconfig/qconf.o] Error 1
make: *** [xconfig] Error 2

El xconfig se ejecuta en el escritorio host de Ubuntu para preparar las opciones del kernel para una imagen del kernel compilada de forma cruzada. Dado que xconfig se ejecuta en el host, no se compila con el compilador cruzado. No tengo idea de lo que está sucediendo aquí, pero creo que podría estar relacionado con dónde están instaladas las bibliotecas qt en Ubuntu.

Encontré el siguiente hilo en el foro de Fedora, pero no sé si se aplica a mi situación en Ubuntu.

http://forums.fedoraforum.org/showthread.php?t=139653

También intenté desinstalar y reinstalar QT3 y QT4 usando las herramientas apt, pero el error indicado anteriormente aún persiste. ¿Alguna sugerencia sobre lo que podría hacer para compilar xconfig correctamente?

Respuesta1

Esta pregunta fue respondida por el OP.

Con más experimentación, un

make distclean

pareció solucionar el problema. Ahora puedo construir el kernel xconfig con éxito.

información relacionada