Compile failure (as of fri Feb 4 13:50:49 2011 +0100, c5dd4c4d0a6a6)

Mickael Chazaux mickael.chazaux at gmail.com
Wed Feb 9 10:26:50 EST 2011


Hi,

ARCH=arm
CROSS_COMPILE=/home/mc/OE/tmp/sysroots/i686-linux/usr/armv5te/bin/arm-angstrom-linux-gnueabi-

git clone, make menuconfig, not touching anything, exit, save, make
gives this [1]. Seems the buildsystem tries to cross-compile stuff
under scripts/.

Regards,

Mickael

[1]
mc at ubuntu:~/Téléchargements/barebox$ make menuconfig
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
#
# configuration written to .config
#


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

mc at ubuntu:~/Téléchargements/barebox$ make
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: « include/generated/mach-types.h » est à jour.
  CHK     include/generated/version.h
  UPD     include/generated/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  SYMLINK include/config.h -> arch/arm/boards/at91sam9260ek//config.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/bin2c
  HOSTCC  scripts/mkimage
  HOSTCC  scripts/bareboxenv
  CC      common/hush.o
  CC      common/date.o
  CC      common/dlmalloc.o
  CC      common/clock.o
  CC      common/command.o
  CC      common/console.o
  CC      /home/mc/Téléchargements/barebox/scripts/kconfig/mconf.o
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:11:19:
erreur: ctype.h : Aucun fichier ou dossier de ce type
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:14:20:
erreur: limits.h : Aucun fichier ou dossier de ce type
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:18:20:
erreur: unistd.h : Aucun fichier ou dossier de ce type
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:19:20:
erreur: locale.h : Aucun fichier ou dossier de ce type
In file included from /home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:9,
                 from
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:22:
/home/mc/Téléchargements/barebox/scripts/kconfig/expr.h:212: erreur:
expected declaration specifiers or ‘...’ before ‘FILE’
Dans le fichier inclus à partir de
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:22:
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:12:22: erreur:
libintl.h : Aucun fichier ou dossier de ce type
In file included from
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:22:
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:76: erreur:
expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:78: erreur:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:85: erreur:
expected declaration specifiers or ‘...’ before ‘FILE’
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:96: erreur:
expected declaration specifiers or ‘...’ before ‘FILE’
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h: In function ‘xfwrite’:
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:98: attention :
implicit declaration of function ‘fwrite’
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:98: erreur:
‘out’ undeclared (first use in this function)
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:98: erreur:
(Each undeclared identifier is reported only once
/home/mc/Téléchargements/barebox/scripts/kconfig/lkc.h:98: erreur: for
each function it appears in.)
Dans le fichier inclus à partir de
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:23:
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:21:23:
erreur: sys/types.h : Aucun fichier ou dossier de ce type
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:38:10:
erreur: #include attend "NOM_DE_FICHIER" ou <NOM_DE_FICHIER>
In file included from
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:23:
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:
Hors de toute fonction :
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:103:
erreur: expected specifier-qualifier-list before ‘chtype’
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:193:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:199:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:201:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:202:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:203:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:204:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/lxdialog/dialog.h:206:
erreur: expected ‘)’ before ‘*’ token
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:286: erreur:
‘PATH_MAX’ undeclared here (not in a function)
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘set_config_filename’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:289:
attention : unused variable ‘menu_backtitle’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘search_conf’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:312:
attention : implicit declaration of function ‘gettext’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:315:
attention : passing argument 1 of ‘dialog_inputbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:315:
attention : passing argument 2 of ‘dialog_inputbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:320:
attention : passing argument 1 of ‘show_helptext’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:328:
attention : implicit declaration of function ‘strncasecmp’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:333:
attention : implicit declaration of function ‘free’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:334:
attention : passing argument 1 of ‘show_textbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘build_conf’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:366:
attention : assignment makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:494:
attention : non concordance entre pointeur et entier dans une
expression conditionnelle
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:502:
attention : non concordance entre pointeur et entier dans une
expression conditionnelle
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function ‘conf’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:534:
attention : passing argument 1 of ‘item_make’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:536:
attention : passing argument 1 of ‘item_make’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:542:
attention : passing argument 1 of ‘dialog_menu’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:542:
attention : passing argument 2 of ‘dialog_menu’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:543: erreur:
‘KEY_MAX’ undeclared (first use in this function)
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:587:
attention : passing argument 1 of ‘show_helptext’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:587:
attention : passing argument 2 of ‘show_helptext’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘show_help’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:636:
attention : implicit declaration of function ‘getmaxx’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:636: erreur:
‘stdscr’ undeclared (first use in this function)
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:639:
attention : passing argument 1 of ‘show_helptext’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘conf_choice’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:645:
attention : initialization makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:674:
attention : passing argument 1 of ‘dialog_checklist’ makes pointer
from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:674:
attention : passing argument 2 of ‘dialog_checklist’ makes pointer
from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:696: erreur:
‘KEY_MAX’ undeclared (first use in this function)
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘conf_string’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:712:
attention : assignment makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:715:
attention : assignment makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:718:
attention : assignment makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:721:
attention : assignment makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:726:
attention : passing argument 1 of ‘dialog_inputbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:731:
attention : passing argument 2 of ‘show_textbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘conf_load’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:759:
attention : passing argument 2 of ‘show_textbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:762:
attention : passing argument 1 of ‘show_helptext’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function
‘conf_save’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:785:
attention : passing argument 2 of ‘show_textbox’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:788:
attention : passing argument 1 of ‘show_helptext’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c: In function ‘main’:
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:802:
attention : implicit declaration of function ‘setlocale’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:802: erreur:
‘LC_ALL’ undeclared (first use in this function)
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:803:
attention : implicit declaration of function ‘bindtextdomain’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:804:
attention : implicit declaration of function ‘textdomain’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:809:
attention : implicit declaration of function ‘getenv’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:809:
attention : assignment makes pointer from integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:811:
attention : implicit declaration of function ‘strcasecmp’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:815:
attention : implicit declaration of function ‘initscr’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:817:
attention : implicit declaration of function ‘getyx’
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:817: erreur:
‘stdscr’ undeclared (first use in this function)
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:833:
attention : passing argument 2 of ‘dialog_yesno’ makes pointer from
integer without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:842:
attention : passing argument 2 of ‘fprintf’ makes pointer from integer
without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:849:
attention : passing argument 1 of ‘printf’ makes pointer from integer
without a cast
/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.c:855:
attention : passing argument 2 of ‘fprintf’ makes pointer from integer
without a cast
make[1]: *** [/home/mc/Téléchargements/barebox/scripts/kconfig/mconf.o] Erreur 1
make: *** [common] Erreur 2



More information about the barebox mailing list