Day: May 20, 2008

Mais erros com o LTIB no Ubuntu

Erro:

checking for glib-genmarshal… no
configure: error: Could not find a glib-genmarshal in your PATH
error: Bad exit status from /home/alan/ltib-imx27ads-20071219/tmp/rpm-tmp.69443 (%build)

Solucão:

sudo apt-get install libglib2.0-dev

Problemas com LTIB no Ubuntu 8.04

Tive o seguinte problema compilando o LTIB no Ubuntu:

Can’t exec “arm-none-linux-gnueabi-gcc”: No such file or directory at /opt/freescale/ltib/usr/spoof/gcc line 74.
exec(arm-none-linux-gnueabi-gcc -B /home/alan/ltib-imx27ads-20071219/rootfs/usr/lib// -idirafter /home/alan/ltib-imx27ads-20071219/rootfs/usr/include -iwithprefix include -Wl,-rpath-link,/home/alan/ltib-imx27ads-20071219/rootfs/lib:/home/alan/ltib-imx27ads-20071219/rootfs/usr/lib -O2 -fsigned-char -msoft-float -print-file-name=include) at /opt/freescale/ltib/usr/spoof/gcc line 74.
scripts/kconfig/conf -s arch/arm/Kconfig
Can’t exec “arm-none-linux-gnueabi-gcc”: No such file or directory at /opt/freescale/ltib/usr/spoof/gcc line 74.
exec(arm-none-linux-gnueabi-gcc -B /home/alan/ltib-imx27ads-20071219/rootfs/usr/lib// -idirafter /home/alan/ltib-imx27ads-20071219/rootfs/usr/include -iwithprefix include -Wl,-rpath-link,/home/alan/ltib-imx27ads-20071219/rootfs/lib:/home/alan/ltib-imx27ads-20071219/rootfs/usr/lib -O2 -fsigned-char -msoft-float -print-file-name=include) at /opt/freescale/ltib/usr/spoof/gcc line 74.

Para resolver entre no diretório:

/opt/freescale/ltib/usr/spoof

E execute:

# for i in $(ls *); do ln -fs /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-$i $i; done