From: david stevenson <david@avoncliff.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] problem compiling sc520
Date: Mon, 4 Aug 2003 19:17:13 +0100 [thread overview]
Message-ID: <200308041917.13511.david@avoncliff.com> (raw)
In-Reply-To: <20030804191438.EA9C7C602D@atlas.denx.de>
On Monday 04 August 2003 8:14 pm, Wolfgang Denk wrote:
> In message <200308041652.16627.david@avoncliff.com> you wrote:
> > But gcc 3.2 -Werror and
> > " goto done;
> > ......
> > done:
> > }
> > do not appear compatable, so I changed the easiest option and removed
> > -Werror.
>
> Try replacing the "done:" with "done: ;"
Yes that works fine. (strange the things I learn about C day by day 8-) )
> If it works, please submit a patch.
Hmm, request understood. Practice not so easy.
There are 40+ done: in many files both in sc520 and other area's, but there
are many other instances of goto. Any experts with sed or pearl around?
>
> > lib_i386/libi386.a(video_bios.o): In function `probe_pci_video':
> > /home/david/smart/cvs/u-boot/lib_i386/video_bios.c:88: undefined
> > reference to `pci_find_class'
> >
> > Can someone who gets past this let me know where the function is?
>
> -> find * -type f | xargs egrep -l pci_find_class
> include/pci.h
> lib_i386/video_bios.c
>
> Seems that except for the prototype in include/pci.h and the call in
> lib_i386/video_bios.c there is no file containing this function. Let
> me guess: nobody used this code before...
Well I was being more optimistic, I am only doing
make sc520_cdp_config
make all
And I had thought others had got past compile errors. Does this imply the
function is available in some external library?
>
> Best regards,
>
> Wolfgang Denk
next prev parent reply other threads:[~2003-08-04 18:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-04 15:52 [U-Boot-Users] problem compiling sc520 david stevenson
2003-08-04 19:14 ` Wolfgang Denk
2003-08-04 18:17 ` david stevenson [this message]
2003-08-04 21:18 ` Wolfgang Denk
2003-08-04 20:35 ` david stevenson
2003-08-04 20:59 ` david stevenson
2003-08-05 6:54 ` Wolfgang Denk
2003-08-05 6:53 ` Wolfgang Denk
2003-08-04 21:53 ` Marc Singer
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=200308041917.13511.david@avoncliff.com \
--to=david@avoncliff.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.