[#5651] Build lirc failed at missing files
Submitted By: Vivi Li
Open Date
2009-10-29 23:34:03 Close Date
2009-11-05 21:36:44
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
Make Errors Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Assigned (Not Start)
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1-rc9
App binary format:
N/A
Summary: Build lirc failed at missing files
Details:
Build user/lirc failed at missing asm/semaphore.h in latest trunk.
--
bfin-uclinux-gcc -Wp,-MD,/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/include -Iinclude -I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include -include include/linux/autoconf.h -D__KERNEL__ -I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf537/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -mno-fdpic -mcpu=bf537-0.2 -Iarch/blackfin/include/ -Iarch/blackfin/mach-bf537/include -fno-stack-protector -fomit-frame-pointer -g -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../../../lirc-0.8.2/drivers/lirc_dev -I../.. -I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/../../../lirc-0.8.2/drivers/lirc_dev -I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/ -I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/../../../lirc-0.8.2 -I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/../.. -I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x//include/ -I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x//drivers/media/video/ -DMODULE -mlong-calls -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.o /home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:45:27: error: asm/semaphore.h: No such file or directory
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c: In function ‘cleanup’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:131: error: implicit declaration of function ‘class_device_destroy’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_register_plugin’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:245: error: implicit declaration of function ‘DECLARE_MUTEX_LOCKED’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:245: error: ‘tn’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:245: error: (Each undeclared identifier is reported only once
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:245: error: for each function it appears in.)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:381: error: implicit declaration of function ‘class_device_create’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_unregister_plugin’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:434: error: ‘tn’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:435: error: ‘tn2’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:464: error: implicit declaration of function ‘find_task_by_pid’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:464: warning: assignment makes pointer from integer without a cast
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_dev_init’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:883: error: void value not ignored as it ought to be
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c: In function ‘cleanup_module’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.c:910: error: void value not ignored as it ought to be
make[8]: *** [/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev/lirc_dev.o] Error 1
make[7]: *** [_module_/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev] Error 2
make[7]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
make[6]: *** [lirc_dev.o] Error 2
make[6]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers/lirc_dev'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.2/drivers'
make[4]: *** [all-recursive] Error 1
--
Follow-ups
--- Mike Frysinger 2009-10-30 00:38:30
ive updated to lirc-0.8.6 and seems to build now
--- Vivi Li 2009-10-30 05:02:53
It still fails after I update the source.
--
bfin-uclinux-gcc
-Wp,-MD,/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/.lirc_dev.o.d
-nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.1.2/include
-Iinclude
-I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/include
-include include/linux/autoconf.h -D__KERNEL__
-I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf537/include
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -mno-fdpic -mcpu=bf537-0.2
-Iarch/blackfin/include/ -Iarch/blackfin/mach-bf537/include -fno-stack-protector
-fomit-frame-pointer -g -fno-inline-functions-called-once
-Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61
-DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../../../lirc-0.8.6/drivers/lirc_dev
-I../..
-I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/../../../lirc-0.8.6/drivers/lirc_dev
-I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/
-I../../../lirc-0.8.6
-I/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/../..
-I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x//include/
-I/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x//drivers/media/video/
-DMODULE -mlong-calls -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"
-D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.o
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:64:29:
error: drivers/kcompat.h: No such file or directory
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:71:26:
error: drivers/lirc.h: No such file or directory
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:115:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:
In function ‘lirc_register_driver’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:371:
error: ‘LIRC_CAN_REC_LIRCCODE’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:371:
error: (Each undeclared identifier is reported only once
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:371:
error: for each function it appears in.)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:371:
error: ‘LIRC_CAN_REC_CODE’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:387:
error: implicit declaration of function ‘lirc_device_create’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:387:
error: ‘lirc_class’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:424:
error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:432:
error: implicit declaration of function ‘lirc_device_destroy’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:
In function ‘lirc_unregister_driver’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:524:
error: ‘lirc_class’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:534:
error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:
In function ‘irctl_ioctl’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:692:
error: ‘LIRC_GET_FEATURES’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:695:
error: ‘LIRC_GET_REC_MODE’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:696:
error: ‘LIRC_CAN_REC_MASK’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:699:
error: implicit declaration of function ‘LIRC_REC2MODE’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:703:
error: ‘LIRC_SET_REC_MODE’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:708:
error: implicit declaration of function ‘LIRC_MODE2REC’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:715:
error: ‘LIRC_GET_LENGTH’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:
In function ‘lirc_dev_init’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:970:
error: ‘lirc_class’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:970:
error: implicit declaration of function ‘class_create’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:
In function ‘lirc_dev_exit’:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:1009:
error: implicit declaration of function ‘class_destroy’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:1009:
error: ‘lirc_class’ undeclared (first use in this function)
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:
At top level:
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:1020:
error: expected declaration specifiers or ‘...’ before numeric constant
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:1020:
warning: data definition has no type or storage class
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:1020:
warning: type defaults to ‘int’ in declaration of
‘MODULE_ALIAS_CHARDEV_MAJOR’
/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.c:1020:
warning: function declaration isn’t a prototype
make[7]: ***
[/home/test/work/cruise/checkouts/uclinux-dist/user/lirc/build-lirc-0.8.6/drivers/lirc_dev/lirc_dev.o]
Error 1
--
--- Mike Frysinger 2009-11-04 11:23:30
ive committed a change for that, but i dont know if it fixes the build problems
on your side as it builds fine for me
so see if latest trunk works now for you
--- Vivi Li 2009-11-05 21:36:44
It works now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found