[#3964] trunk kernel build joystick fails
Submitted By: Mingquan Pan
Open Date
2008-03-12 06:16:17 Close Date
2008-04-01 23:01:43
Priority:
Medium Assignee:
Graf Yang
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-8
App binary format:
N/A
Summary: trunk kernel build joystick fails
Details:
trunk kernel build joystick fails.
rm -f linux-2.6.x/usr/initramfs_data.cpio.gz
make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -j1 -C linux-2.6.x || exit 1
make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
SYMLINK include/asm-blackfin/mach-bf537 -> include/asm-blackfin/mach
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GEN usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/blackfin/mach-bf537/boards/stamp.o
LD arch/blackfin/mach-bf537/boards/built-in.o
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
CC drivers/i2c/i2c-core.o
CC drivers/i2c/i2c-dev.o
CC drivers/i2c/busses/i2c-bfin-twi.o
LD drivers/i2c/busses/built-in.o
LD drivers/i2c/built-in.o
CC drivers/input/joydev.o
CC drivers/input/evdev.o
LD drivers/input/joystick/built-in.o
CC [M] drivers/input/joystick/ad7142.o
drivers/input/joystick/ad7142.c: In function 鈥榓d7142_probe鈥�
drivers/input/joystick/ad7142.c:437: error: implicit declaration of function 鈥楲ONG鈥
drivers/input/joystick/ad7142.c:437: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:437: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:438: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:438: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:439: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:439: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:440: warning: left shift count >= width of type
drivers/input/joystick/ad7142.c:440: warning: left shift count >= width of type
make[4]: *** [drivers/input/joystick/ad7142.o] Error 1
make[3]: *** [drivers/input/joystick] Error 2
make[2]: *** [drivers/input] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
make: *** [linux] Error 1
ERROR: Error somewhere during make
Follow-ups
--- Sonic Zhang 2008-03-17 00:41:33
Graf,
Could you take a look?
--- Graf Yang 2008-03-17 04:17:19
The old macros LONG(), BIT() that are used in ad7142.c, in input.h have been
ommitted, so there are build errors. Now we use bit-ops macros defined in
linux/bitops.h.
--- Mingquan Pan 2008-04-01 23:01:42
Fixed.Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found