error messages during compile
Denys Vlasenko
vda.linux at googlemail.com
Tue Nov 30 08:48:46 UTC 2010
On Monday 29 November 2010 13:52, David Collier wrote:
> In article <memo.20101129125103.1860A at postmaster+dexdyne.com.cix.co.uk>,
> from_busybox_maillist at dexdyne.com (David Collier) wrote:
>
> > *From:* "David Collier" <from_busybox_maillist at dexdyne.com>
> > *To:* busybox at busybox.net
> > *Date:* Mon, 29 Nov 2010 12:51 +0000 (GMT Standard Time)
> >
> > I've just cross-compiled busybox for the AVR32. I encountered a fair
> > number of compilation errors.
> >
> > Could someone glance at them and assure me they are all ignorable?
> >
> > If so, then would it be possible to get them fixed/suppressed so
> > the only
> > chatter we see is meaningful?
>
>
> Sorry guys, failure in the CTRL-V department.
>
> D
>
>
>
> avr32 at avr32:~/busybox_playpen/try1/busybox$ make ARCH=avr32
> CROSS_COMPILE=avr32-linux- KBUILD_HAVE_NLS=yes
> HOSTLD scripts/kconfig/conf
> scripts/kconfig/conf -s Config.in
> #
> # using defaults found in .config
> #
> SPLIT include/autoconf.h -> include/config/*
> GEN include/bbconfigopts.h
> HOSTCC applets/usage
> applets/usage.c: In function main:
> applets/usage.c:52: warning: ignoring return value of write, declared
> with attribute warn_unused_result
> GEN include/usage_compressed.h
> HOSTCC applets/applet_tables
> applets/applet_tables.c: In function main:
> applets/applet_tables.c:138: warning: ignoring return value of fgets,
> declared with attribute warn_unused_result
> GEN include/applet_tables.h
> CC applets/applets.o
> LD applets/built-in.o
> HOSTCC applets/usage_pod
> applets/usage_pod.c: In function main:
> applets/usage_pod.c:74: warning: format not a string literal and no
> format arguments
> CC coreutils/date.o
> CC coreutils/dd.o
>
> ....................................
>
> AR init/lib.a
> LD libbb/built-in.o
> CC libbb/appletlib.o
> In file included from libbb/appletlib.c:69:
> include/unarchive.h:17: warning: integer overflow in expression
> include/unarchive.h:17: warning: integer overflow in expression
> CC libbb/ask_confirmation.o
> CC libbb/bb_askpass.o
> CC libbb/bb_basename.o
>
> ..................................
>
> CC libbb/read_key.o
> CC libbb/read_printf.o
> In file included from libbb/read_printf.c:18:
> include/unarchive.h:17: warning: integer overflow in expression
> include/unarchive.h:17: warning: integer overflow in expression
> CC libbb/recursive_action.o
> CC libbb/remove_file.o
> CC libbb/rtc.o
>
> ....................................
>
> CC loginutils/passwd.o
> CC loginutils/su.o
> loginutils/su.c: In function 'su_main':
> loginutils/su.c:45: warning: unused variable 'user_buf'
Fixed in git.
> CC loginutils/sulogin.o
> CC loginutils/vlock.o
>
> ........................................
>
> CC procps/renice.o
> CC procps/smemcap.o
> In file included from procps/smemcap.c:23:
> include/unarchive.h:17: warning: integer overflow in expression
> include/unarchive.h:17: warning: integer overflow in expression
> CC procps/sysctl.o
> CC procps/top.o
>
> .......................................
>
> CC util-linux/losetup.o
> CC util-linux/mdev.o
> CC util-linux/mkfs_ext2.o
> util-linux/mkfs_ext2.c: In function 'mkfs_ext2_main':
> util-linux/mkfs_ext2.c:447: warning: overflow in implicit constant
> conversion
> util-linux/mkfs_ext2.c:473: warning: overflow in implicit constant
> conversion
> CC util-linux/mkfs_vfat.o
> util-linux/mkfs_vfat.c: In function 'mkfs_vfat_main':
> util-linux/mkfs_vfat.c:494: warning: overflow in implicit constant
> conversion
> util-linux/mkfs_vfat.c:495: warning: overflow in implicit constant
> conversion
> CC util-linux/mkswap.o
> CC util-linux/more.o
> CC util-linux/mount.o
The rest seems to be spurious.
--
vda
More information about the busybox
mailing list