Hi Titus S,
I have the same problem as Robert's when I'm making u-boot for omapl138-lcdk following the reference as the sd said. The error is :
Redefinition of typedef 'uint'.
The information for the error as following:
root@dfr-desktop:~# export TI_SDK_PATH=/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00
root@dfr-desktop:~# $PATH
bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory
root@dfr-desktop:~# cd /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00
root@dfr-desktop:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00# export TI_SDK_PATH=/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00
root@dfr-desktop:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00# $PATH
bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory
root@dfr-desktop:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00# export TI_SDK_PATH=/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00
root@dfr-desktop:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00# source linux-devkit/environment-setup
[linux-devkit]:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00> $PATH
bash: /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/linux-devkit/bin:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/linux-devkit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: No such file or directory
[linux-devkit]:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00> ls
bin filesystem setup.sh
board-support host-tools setup_uimage-tftp_fs-nfs.minicom
docs linux-3.1.10 u-boot-2010.12-psp03.21.00.04.lcdk
dsp-tools linux-devkit
example-applications Rules.make
[linux-devkit]:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00> cd u-boot-2010.12-psp03.21.00.04.lcdk
[linux-devkit]:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk> make all CROSS_COMPILE=arm-arago-linux-gnueabi-
for dir in tools examples/standalone examples/api arch/arm/cpu/arm926ejs /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/arch/arm/cpu/arm926ejs/ ; do \
make -C $dir _depend ; done
make[1]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools'
make[1]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/examples/standalone'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/examples/standalone'
make[1]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/examples/api'
make[1]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/arch/arm/cpu/arm926ejs'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/arch/arm/cpu/arm926ejs'
make[1]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/arch/arm/cpu/arm926ejs'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/arch/arm/cpu/arm926ejs'
make -C tools all
make[1]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools'
make[2]: Entering directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools/uflash'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/include -DUSE_HOSTCC -o uflash /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools/uflash/uflash.c /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/lib/crc32.c /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/lib/errno.c
In file included from /home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/lib/crc32.c:14:
/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/include/compiler.h:55: error: redefinition of typedef 鈥榰int鈥?
/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/include/sys/types.h:153: note: previous declaration of 鈥榰int鈥?was here
make[2]: *** [uflash] Error 1
make[2]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools/uflash'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk/tools'
make: *** [tools] Error 2
[linux-devkit]:/home/usr/SDKs/ti-sdk-omapl138-lcdk-01.00.00/u-boot-2010.12-psp03.21.00.04.lcdk>