From: Sascha Hauer <s.hauer@pengutronix.de>
To: Mickael Chazaux <mickael.chazaux@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Compile failure (as of fri Feb 4 13:50:49 2011 +0100, c5dd4c4d0a6a6)
Date: Wed, 9 Feb 2011 16:43:09 +0100 [thread overview]
Message-ID: <20110209154309.GO9041@pengutronix.de> (raw)
In-Reply-To: <AANLkTikbxuCpCj7Et3V20vBwBdkmHXFMmtxy+nhYu_LB@mail.gmail.com>
Hi Mickael,
On Wed, Feb 09, 2011 at 04:26:50PM +0100, Mickael Chazaux wrote:
> 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/.
This happens when CONFIG_DEFAULT_ENVIRONMENT=y is combined with
CONFIG_DEFAULT_ENVIRONMENT_PATH="". This configuration is not
particularly useful but of course should not break the build. I haven't
looked deeply into it and currently do not have a fix.
For now disable CONFIG_DEFAULT_ENVIRONMENT or specify a (relative) path
to your environment directory in CONFIG_DEFAULT_ENVIRONMENT_PATH
Sascha
>
> Regards,
>
> Mickael
>
> [1]
> mc@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@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
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-02-09 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 15:26 Mickael Chazaux
2011-02-09 15:43 ` Sascha Hauer [this message]
2011-02-09 16:14 ` Mickael Chazaux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110209154309.GO9041@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=mickael.chazaux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox