public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: George G. Davis <davis_g@comcast.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] need help regarding u-boot for csb226
Date: Thu, 11 Sep 2003 12:34:10 -0400	[thread overview]
Message-ID: <3F60A402.2030307@comcast.net> (raw)
In-Reply-To: <200309111133.RAA14546@WS0005.indiatimes.com>


renjithgopal wrote:
> Hello
> I am a beginner
> I was trying to compie u-boot for csb226. but it is giving some compiler error.
>  
> make[1]: Entering directory `/uboot/lib_generic'
> arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xa1fe0000 -I/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=strongarm1100 -Wall -Wstrict-prototypes -c -o crc32.o crc32.c
> as: unrecognized option `-marmv4'
> In file included from /uboot/include/common.h:77,
>                  from crc32.c:12:
> /uboot/include/image.h:148: output pipe has been closed
> cpp0: output pipe has been closed
> make[1]: *** [crc32.o] Error 1
> make[1]: Leaving directory `/uboot/lib_generic'
> make: *** [subdirs] Error 1
> 
> but when i asked some of my friends they told it should work fine with out any problem..
> i am using u-boot 0.4.6
> and arm-linux-gcc 2.95.3
> 
> i am also attaching the log of compilation ...
> please tell me what to do?

You apparently have issues with your cross gcc+binutils installation and/or
forgot to set your PATH to point to your tools. I just did the following:

	PATH=${PATH}:/usr/local/arm/2.95.3/bin make distclean
	PATH=${PATH}:/usr/local/arm/2.95.3/bin make csb226_config
	PATH=${PATH}:/usr/local/arm/2.95.3/bin make all

and do not encounter the get the "as: unrecognized option `-marmv4'" error.

However, it looks like someone has recently broken the build since I get
this error now with recent CVS (as of today +/- and hour):

make[1]: Entering directory `/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/drivers/sk98lin'
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xa1fe0000 -I/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/2.96/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=strongarm1100 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM  -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xa1fe0000 -I/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-linux/2.96/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -mtune=strongarm1100  -c -o skge.o skge.c
In file included from /Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include/common.h:40,
                  from u-boot_compat.h:30,
                  from h/skdrv1st.h:158,
                  from skge.c:349:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:43: parse error before `__gnuc_va_list'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:43: warning: data definition has no type or storage class
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:110: parse error before `va_list'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:110: warning: data definition has no type or storage class
In file included from u-boot_compat.h:30,
                  from h/skdrv1st.h:158,
                  from skge.c:349:
/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include/common.h:438: parse error before `va_list'
/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include/common.h:438: warning: function declaration isn't a prototype
/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include/common.h:468: parse error before `va_list'
/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/include/common.h:468: warning: function declaration isn't a prototype
skge.c:4732: warning: `DumpMsg' defined but not used
skge.c:4818: warning: `DumpLong' defined but not used
make[1]: *** [skge.o] Error 1
make[1]: Leaving directory `/Projects/OSS/cvs.sourceforge.net/u-boot/u-boot/drivers/sk98lin'
make: *** [subdirs] Error 1

> 
> 
> 
> 
> Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
> 
>  Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
> 
> Bid for for Air Tickets on Air Sahara Flights at Prices Lower Than Before. Just log on to http://airsahara.indiatimes.com and Bid Now!

  reply	other threads:[~2003-09-11 16:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 11:47 [U-Boot-Users] need help regarding u-boot for csb226 renjithgopal
2003-09-11 16:34 ` George G. Davis [this message]
2003-09-12 20:04   ` Wolfgang Denk
2003-09-12 20:08     ` George G. Davis
2003-09-12 20:15       ` Wolfgang Denk
2003-09-12 20:25         ` George G. Davis
2003-09-11 16:51 ` Robert Schwebel
2003-09-13 10:30   ` Wolfgang Denk
2003-09-11 19:54 ` Wolfgang Denk

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=3F60A402.2030307@comcast.net \
    --to=davis_g@comcast.net \
    --cc=u-boot@lists.denx.de \
    /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