From: Yuvraj A. <yu...@uc...> - 2007-10-26 00:26:10
|
Hi All, I am using the current build (1545) and when I tried to enable the "util-linux" package the _compile failed_. I remember this happening for older builds as well, but I had just disabled it and gone ahead. I am reporting this in case someone knows what the fix is for this error and if it can be fixed. There are some useful utilities in the package that I'd definitely like to use. Any ideas? Btw - enabling "ps-misc" in the package list also fails. thanks Yuvraj Compile trace attached below. ---------------------------------------------------------------------------- --------------------------------------------------------- make[2]: Entering directory `/gumstix-buildroot-r1545/build_arm_nofpu/util-linux-2.12r/mount' /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS mount.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS fstab.c rm -f nfsmount.h rpcgen -h -o nfsmount.h nfsmount.x /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS xmalloc.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS realpath.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS mntent.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS version.c mntent.c: In function 'mangle': mntent.c:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness mntent.c: In function 'my_addmntent': mntent.c:129: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness mntent.c:130: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness mntent.c:131: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness mntent.c:132: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS get_label_uuid.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS mount_by_label.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS mount_blkid.c get_label_uuid.c: In function 'is_v1_swap_partition': get_label_uuid.c:90: warning: pointer targets in passing argument 2 of 'store_uuid' differ in signedness get_label_uuid.c: In function 'get_label_uuid': get_label_uuid.c:133: warning: pointer targets in passing argument 2 of 'store_uuid' differ in signedness get_label_uuid.c:135: warning: pointer targets in passing argument 2 of 'store_label' differ in signedness get_label_uuid.c:141: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness get_label_uuid.c:142: warning: pointer targets in passing argument 2 of 'store_uuid' differ in signedness get_label_uuid.c:143: warning: pointer targets in passing argument 2 of 'store_label' differ in signedness get_label_uuid.c:149: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness get_label_uuid.c:153: warning: pointer targets in passing argument 2 of 'store_label' differ in signedness get_label_uuid.c:181: warning: pointer targets in passing argument 2 of 'store_uuid' differ in signedness get_label_uuid.c:194: warning: pointer targets in passing argument 1 of 'reiserfs_magic_version' differ in signedness get_label_uuid.c:195: warning: pointer targets in passing argument 2 of 'store_uuid' differ in signedness get_label_uuid.c:197: warning: pointer targets in passing argument 2 of 'store_label' differ in signedness get_label_uuid.c:210: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness get_label_uuid.c:211: warning: pointer targets in passing argument 2 of 'store_uuid' differ in signedness get_label_uuid.c:212: warning: pointer targets in passing argument 2 of 'store_label' differ in signedness /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS mount_guess_fstype.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS getusername.c mount_by_label.c: In function 'get_spec_by_uuid': mount_by_label.c:312: warning: pointer targets in passing argument 2 of 'get_spec_by_x' differ in signedness /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS nfsmount.c rm -f nfsmount_xdr.c rpcgen -c -o nfsmount_xdr.c nfsmount.x mount_guess_fstype.c: In function 'do_guess_fstype': mount_guess_fstype.c:265: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:267: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:274: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:279: warning: pointer targets in passing argument 1 of 'assemble4be' differ in signedness mount_guess_fstype.c:282: warning: pointer targets in passing argument 1 of 'assemble4be' differ in signedness mount_guess_fstype.c:283: warning: pointer targets in passing argument 1 of 'assemble4be' differ in signedness mount_guess_fstype.c:285: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:286: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:287: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:288: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:289: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:290: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:291: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:294: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:295: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:296: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:297: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness mount_guess_fstype.c:392: warning: pointer targets in passing argument 1 of 'reiserfs_magic_version' differ in signedness mount_guess_fstype.c:442: warning: pointer targets in passing argument 1 of 'reiserfs_magic_version' differ in signedness mount_guess_fstype.c:457: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness rm -f nfsmount_clnt.c rpcgen -l -o nfsmount_clnt.c nfsmount.x /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS lomount.c /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS umount.c sh swap.configure lomount.c: In function 'set_loop': lomount.c:265: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness lomount.c:273: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness lomount.c:303: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnu eabi-gcc -c -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -pipe -Os -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -DHAVE_NFS -DMAIN lomount.c -o main_losetup.o umount.c:43: error: static declaration of 'umount2' follows non-static declaration /gumstix-buildroot-r1545/build_arm_nofpu/staging_dir/bin-ccache/../lib/gcc/a rm-linux-uclibcgnueabi/4.1.1/../../../../arm-linux-uclibcgnueabi/sys-include /sys/mount.h:115: error: previous declaration of 'umount2' was here umount.c:45: error: expected declaration specifiers or '...' before 'umount2' umount.c:45: error: expected declaration specifiers or '...' before 'path' umount.c:45: error: expected declaration specifiers or '...' before 'flags' umount.c:45: warning: data definition has no type or storage class umount.c:45: warning: type defaults to 'int' in declaration of '_syscall2' make[2]: *** [umount.o] Error 1 make[2]: *** Waiting for unfinished jobs.... lomount.c: In function 'show_loop': lomount.c:96: warning: pointer targets in initialization differ in signedness lomount.c: In function 'set_loop': lomount.c:265: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness lomount.c:273: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness lomount.c:303: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness make[2]: Leaving directory `/gumstix-buildroot-r1545/build_arm_nofpu/util-linux-2.12r/mount' make[1]: *** [all] Error 1 make[1]: Leaving directory `/gumstix-buildroot-r1545/build_arm_nofpu/util-linux-2.12r' make: *** [/gumstix-buildroot-r1545/build_arm_nofpu/util-linux-2.12r/misc-utils/mcooki e] Error 2 user@default:~/develop-new/gumstix/gumstix-buildroot-r1545$ make menuconfig package/bluez/Config.in:4:warning: 'select' used by config symbol 'BR2_PACKAGE_BLUEZ' refer to undefined symbol 'BR2_PACKAGE_DBUS' target/ext2/Config.in:4:warning: 'select' used by config symbol 'BR2_TARGET_ROOTFS_EXT2' refer to undefined symbol 'BR2_HOST_FAKEROOT' # # using defaults found in .config # |