Re: [afterburner]Failed to build binutils when "make world"

Tsuyoshi Ozawa <[email protected]> Sat, 24 Apr 2010 19:16:35 -0800
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Thank you for replying, Jan Stoess.

>The default config.out tries to build a binutils/gcc3 combo,  If you already have gcc3  you could change the config to use that one instead.

By passing build of gcc 3, I could build afterburner :D
Thank you for your useful information.

> Can you provide us with more information about your build environment?

For reference, I tell you my build environment.
I'm using Debian Lenny and I did

$ aptitude build-dep binutils
$ aptitude build-dep gcc

to pass compile, but the build failed.

Thank you!
-- 
Tsuyoshi Ozawa
<[email protected]>


2010/4/20 Jan Stoess <[email protected]>:
> Hi  Tsuyoshi OZAWA,
> Can you provide us with more information about your build environment?  The default config.out tries to build a binutils/gcc3 combo,  If you already have gcc3  you could change the config to use that one instead.
>
> -Jan
> --
> Dr. Jan Stoess
> KIT/UKa System Architecture Group
> Phone: +49 (721) 608 4056
> Fax: +49 (721) 608 7664
> http://os.ibds.kit.edu/stoess
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]
>> karlsruhe.de] On Behalf Of Tsuyoshi Ozawa
>> Sent: Monday, April 19, 2010 12:20 AM
>> To: [email protected]
>> Subject: [afterburner]Failed to build binutils when "make world"
>>
>> Hello,
>>
>> I tried to build afterburner, but failed.
>> Error messages are as follows :
>>
>> $ make -f Makefile
>> $ make world
>> ...
>> /home/ozawa/workspace/afterburner-cbfddaa6ff9a/extern/binutils-
>> 2.19.1/binutils/bucomm.c:
>> In function 'set_default_bfd_target':
>> /home/ozawa/workspace/afterburner-cbfddaa6ff9a/extern/binutils-
>> 2.19.1/binutils/bucomm.c:154:
>> error: 'TARGET' undeclared (first use in this function)
>> /home/ozawa/workspace/afterburner-cbfddaa6ff9a/extern/binutils-
>> 2.19.1/binutils/bucomm.c:154:
>> error: (Each undeclared identifier is reported only once
>> /home/ozawa/workspace/afterburner-cbfddaa6ff9a/extern/binutils-
>> 2.19.1/binutils/bucomm.c:154:
>> error: for each function it appears in.)
>>
>> The source code provided by both tar.bz2  and hg repository said same error
>> message.
>> The error message seems to mean the comiple time variable "TARGET" is not
>> defined, so I tried to configure at binutils direcotry with --target=i686-pc-
>> linux-gnu and make it.
>> The result was same.
>>
>> And there are some compile errors if I pass it with modifying source code.
>>
>> Could you tell me what should I do or what's wrong?
>> ( And is it OK that build status say FAILED ?
>> http://l4ka.org/projects/virtualization/buildstatus/hg.php )
>>
>> Very trury yours
>> Tsuyoshi OZAWA
>> <[email protected]>
>
>