mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Murthy, Ramana" <Ramana.Murthy@microsemi.com>
To: Vikram Narayanan <vikram186@gmail.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: RE: sandbox build failing on redhat host
Date: Tue, 19 Jul 2011 11:00:35 +0530	[thread overview]
Message-ID: <6F2524F76379064FB8CB9CEE698D56DA8D40F7A6D6@IN-MSG-01.amer.actel.com> (raw)
In-Reply-To: <CAHwEkO0EQFn+zBfKnry7R+H7g4tTiGzFLejz+n=Poj4KO47pZQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 6155 bytes --]

Hi Vikram,


Here are my latest set of errors for sandbox build. PFA the config file.
Version : barebox-2011.05.0

commands/loads.c:114: error: `load_addr' undeclared (first use in this function)
commands/loads.c:114: error: (Each undeclared identifier is reported only once
commands/loads.c:114: error: for each function it appears in.)
commands/loads.c: In function `load_serial':
commands/loads.c:179: warning: implicit declaration of function `barebox_setenv'
commands/loads.c:188: warning: implicit declaration of function `barebox_putc'
commands/loads.c: In function `read_record':
commands/loads.c:221: error: `gd' undeclared (first use in this function)
commands/loads.c:221: error: `XF_getc' undeclared (first use in this function)
commands/loads.c:233:6: warning: "CONFIG_COMMANDS" is not defined
commands/loads.c:233:24: warning: "CFG_CMD_SAVES" is not defined
commands/loads.c: At top level:
commands/loads.c:392: error: syntax error before numeric constant
commands/loads.c:396: warning: type defaults to `int' in declaration of `BAREBOX_CMD'
commands/loads.c:396: warning: function declaration isn't a prototype
commands/loads.c:396: warning: data definition has no type or storage class
commands/loads.c:404:6: warning: "CONFIG_COMMANDS" is not defined
commands/loads.c:404:24: warning: "CFG_CMD_SAVES" is not defined
make[1]: *** [commands/loads.o] Error 1
make: *** [commands] Error 2


Best Regards,
N.S.S.R.Murthy,

-----Original Message-----
From: Vikram Narayanan [mailto:vikram186@gmail.com]
Sent: Saturday, July 16, 2011 12:16 PM
To: Murthy, Ramana
Cc: barebox@lists.infradead.org
Subject: Re: sandbox build failing on redhat host

On Wed, Jun 8, 2011 at 9:46 AM, Murthy, Ramana
<Ramana.Murthy@microsemi.com> wrote:
> Hi All,
>
>
>
> Can somebody please help me on this. I know sandbox is not priority. But
> this helps me to progress to create a new port.

Please post your .config file.
Which version of barebox you are using?

-
Vikram
>
> Best Regards,
>
> N.S.S.R.Murthy,
>
> Ph # +91-40-67303600, Extn - 3731,
>
> Mobile # +91-9959677780.
>
>
>
> From: Murthy, Ramana
> Sent: Monday, June 06, 2011 3:48 PM
> To: 'barebox@lists.infradead.org'
> Subject: sandbox build failing on redhat host
>
>
>
> Hi All,
>
>
>
> I am trying to build barebox with ARCH = sandbox. My make menuconfig is
> successful.
>
> But the actual build is throwing below errors. As I understand, the errors
> are because offt_build.c that includes <asm/barebox.h>. But in case of
> ARCH=sandbox,the arch/sandbox/inlcude/asm/barebox.h contains nothing. Is
> itsupposed to compile ft_build.c in case of sandbox?
>
>  CHK     include/generated/version.h
>  CHK     include/generated/utsrelease.h
>  SYMLINK include/config.h -> arch/sandbox/board//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/ft_build.o
> In file included from common/ft_build.c:33:
> include/ft_build.h:59: error: syntax error before "bd_t"
> include/ft_build.h:59: warning: function declaration isn't a prototype
> include/ft_build.h:65: error: syntax error before "bd_t"
> include/ft_build.h:65: warning: function declaration isn't a prototype
> include/ft_build.h:66: error: syntax error before "bd_t"
> include/ft_build.h:66: warning: function declaration isn't a prototype
> include/ft_build.h:67: error: syntax error before "bd_t"
> include/ft_build.h:67: warning: function declaration isn't a prototype
> common/ft_build.c:458: error: syntax error before "bd_t"
> common/ft_build.c:459: warning: function declaration isn't a prototype
> common/ft_build.c: In function `ft_setup':
> common/ft_build.c:477: error: `blob' undeclared (first use in this function)
> common/ft_build.c:477: error: (Each undeclared identifier is reported only
> once
> common/ft_build.c:477: error: for each function it appears in.)
> common/ft_build.c:477: error: `bd' undeclared (first use in this function)
> common/ft_build.c:488: error: `initrd_start' undeclared (first use in
> this function)
> common/ft_build.c:488: error: `initrd_end' undeclared (first use in
> this function)
> common/ft_build.c:460: warning: unused variable `p'
> common/ft_build.c:461: warning: unused variable `len'
> common/ft_build.c:463: warning: unused variable `clock'
> make[1]: *** [common/ft_build.o] Error 1
> make: *** [common] Error 2
>
>
>
> Best Regards,
>
> N.S.S.R.Murthy,
>
> Ph # +91-40-67303600, Extn - 3731,
>
> Mobile # +91-9959677780.
>
>
>
> ________________________________
> The information contained in or attached to this email may be subject to the
> Export Administration Regulations (EAR), administered by the U.S. Department
> of Commerce, or the International Traffic in Arms Regulations (ITAR),
> administered by the U.S. Department of State, and may require an export
> license from the Commerce or State Department prior to its export. An export
> can include a release or disclosure to a foreign national inside or outside
> the United States. Include this notice with any reproduced portion of this
> information.
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>



The information contained in or attached to this email may be subject to the Export Administration Regulations (EAR), administered by the U.S. Department of Commerce, or the International Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an export license from the Commerce or State Department prior to its export.  An export can include a release or disclosure to a foreign national inside or outside the United States.  Include this notice with any reproduced portion of this information.

[-- Attachment #2: ATT62575.config --]
[-- Type: application/octet-stream, Size: 3958 bytes --]

#
# Automatically generated make config: don't edit
# Linux/sandbox 2011.05.0 Barebox Configuration
# Tue Jul 19 10:47:48 2011
#
CONFIG_ARCH_TEXT_BASE=0x00000000
CONFIG_BOARDINFO="sandbox"
CONFIG_LINUX=y
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
CONFIG_GREGORIAN_CALENDER=y
CONFIG_CMD_MEMORY=y
CONFIG_ENV_HANDLING=y

#
# General Settings              
#
CONFIG_LOCALVERSION_AUTO=y

#
# memory layout                 
#
CONFIG_STACK_SIZE=0x8000
CONFIG_MALLOC_SIZE=0x400000
CONFIG_BROKEN=y
CONFIG_EXPERIMENTAL=y
CONFIG_PROMPT="barebox:"
CONFIG_BAUDRATE=115200
CONFIG_SIMPLE_READLINE=y
# CONFIG_LONGHELP is not set
CONFIG_CBSIZE=1024
CONFIG_MAXARGS=16
CONFIG_SHELL_HUSH=y
# CONFIG_SHELL_SIMPLE is not set
# CONFIG_GLOB is not set
CONFIG_PROMPT_HUSH_PS2="> "
# CONFIG_HUSH_FANCY_PROMPT is not set
# CONFIG_HUSH_GETOPT is not set
# CONFIG_CMDLINE_EDITING is not set
# CONFIG_MENU is not set
CONFIG_PASSWORD=y
CONFIG_PASSWD_SUM_MD5=y
# CONFIG_PASSWD_SUM_SHA1 is not set
# CONFIG_PASSWD_SUM_SHA256 is not set
CONFIG_DYNAMIC_CRC_TABLE=y
CONFIG_ERRNO_MESSAGES=y
CONFIG_TIMESTAMP=y
CONFIG_CONSOLE_FULL=y
CONFIG_CONSOLE_ACTIVATE_FIRST=y
# CONFIG_OF_FLAT_TREE is not set
# CONFIG_PARTITION is not set
CONFIG_DEFAULT_ENVIRONMENT=y
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC is not set
CONFIG_DEFAULT_ENVIRONMENT_PATH=""
# CONFIG_POLLER is not set

#
# Debugging                     
#
CONFIG_DEBUG_INFO=y
CONFIG_ENABLE_FLASH_NOISE=y
CONFIG_ENABLE_PARTITION_NOISE=y
CONFIG_ENABLE_DEVICE_NOISE=y

#
# Commands                      
#

#
# scripting                     
#
CONFIG_CMD_EDIT=y
CONFIG_CMD_SLEEP=y
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_LOADENV=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_TRUE=y
CONFIG_CMD_FALSE=y
CONFIG_CMD_LOGIN=y
CONFIG_CMD_PASSWD=y
CONFIG_PASSWD_MODE_HIDE=y
# CONFIG_PASSWD_MODE_STAR is not set
# CONFIG_PASSWD_MODE_CLEAR is not set

#
# file commands                 
#
CONFIG_CMD_LS=y
CONFIG_CMD_RM=y
CONFIG_CMD_CAT=y
CONFIG_CMD_MKDIR=y
CONFIG_CMD_RMDIR=y
CONFIG_CMD_CP=y
CONFIG_CMD_PWD=y
CONFIG_CMD_CD=y
CONFIG_CMD_MOUNT=y
CONFIG_CMD_UMOUNT=y

#
# console                       
#
CONFIG_CMD_CLEAR=y
CONFIG_CMD_ECHO=y
# CONFIG_CMD_ECHO_E is not set

#
# memory                        
#
CONFIG_CMD_LOADB=y
CONFIG_CMD_LOADY=y
CONFIG_CMD_LOADS=y
CONFIG_CMD_SAVES=y
CONFIG_CMD_MEMINFO=y
CONFIG_CMD_CRC=y
CONFIG_CMD_CRC_CMP=y
CONFIG_CMD_MTEST=y
CONFIG_CMD_MTEST_ALTERNATIVE=y

#
# flash                         
#
CONFIG_CMD_FLASH=y
# CONFIG_CMD_UBI is not set

#
# booting                       
#
CONFIG_CMD_BOOTM=y
# CONFIG_CMD_BOOTM_ZLIB is not set
# CONFIG_CMD_BOOTM_BZLIB is not set
# CONFIG_CMD_BOOTM_SHOW_TYPE is not set
# CONFIG_CMD_RESET is not set
# CONFIG_CMD_GO is not set
# CONFIG_CMD_TIMEOUT is not set
# CONFIG_CMD_PARTITION is not set
CONFIG_CMD_TEST=y
CONFIG_CMD_VERSION=y
CONFIG_CMD_HELP=y
CONFIG_CMD_DEVINFO=y
# CONFIG_CMD_UNLZO is not set
# CONFIG_NET is not set

#
# Drivers                       
#

#
# serial drivers                
#
CONFIG_DRIVER_SERIAL_LINUX_COMSOLE=y
# CONFIG_DRIVER_SERIAL_NS16550 is not set

#
# SPI drivers                   
#
CONFIG_SPI=y
# CONFIG_I2C is not set

#
# flash drivers                 
#
# CONFIG_DRIVER_CFI is not set
# CONFIG_MTD is not set
# CONFIG_ATA is not set
# CONFIG_USB is not set
# CONFIG_USB_GADGET is not set
# CONFIG_VIDEO is not set
# CONFIG_MCI is not set

#
# MFD
#
# CONFIG_I2C_MC13892 is not set
# CONFIG_DRIVER_SPI_MC13783 is not set
# CONFIG_LED is not set

#
# Filesystem support            
#
# CONFIG_FS_CRAMFS is not set
CONFIG_FS_RAMFS=y
CONFIG_FS_DEVFS=y
CONFIG_CRC32=y
CONFIG_CRC16=y
CONFIG_DIGEST=y
CONFIG_MD5=y
# CONFIG_SHA1 is not set
# CONFIG_SHA256 is not set
CONFIG_GENERIC_FIND_NEXT_BIT=y
# CONFIG_PROCESS_ESCAPE_SEQUENCE is not set

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2011-07-19  5:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AcwkMvQr2IoEFQV9To6jK9T6RQPvyABX9l1w>
2011-06-08  4:16 ` Murthy, Ramana
2011-07-16  6:45   ` Vikram Narayanan
2011-07-19  5:30     ` Murthy, Ramana [this message]
2011-07-19 10:22       ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 10:53         ` Murthy, Ramana
2011-07-20  4:39           ` Jean-Christophe PLAGNIOL-VILLARD
2011-06-06 10:17 Murthy, Ramana
2011-06-10  7:22 ` Sascha Hauer

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=6F2524F76379064FB8CB9CEE698D56DA8D40F7A6D6@IN-MSG-01.amer.actel.com \
    --to=ramana.murthy@microsemi.com \
    --cc=barebox@lists.infradead.org \
    --cc=vikram186@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