I am trying to build the PM branch of the kernel maintained by Kevin Hilman (see
http://elinux.org/OMAP_Power_Management), but of some reason it result in some
errors. Before building that I have successfully build the mainline kernel (see
http://elinux.org/BeagleBoard#Linux_kernel).
This is what I do:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git linux-omap-pm
cd linux-omap-pm
git checkout origin/pm
ARCH=arm
PATH=/OE/angstrom-dev/cross/armv7a/bin:/OE/angstrom-dev/staging/i686-linux/usr/bin:$PATH
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- distclean
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_defconfig
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage
Below here is the output from the terminal window for the last two commands. The
configuration command gives some warnings. Do I need to care about them or are they
harmless? The final ‘make’ command gives some errors and stops. Are anybody able to
tell me what I am doing wrong?
Best regards,
Karsten Quist
(make CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_defconfig)
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/arm/configs/omap3_beagle_defconfig:947:warning: override: USB_GADGET_M66592 changes choice state
arch/arm/configs/omap3_beagle_defconfig:972:warning: override: reassigning to symbol ISP1301_OMAP