2004-10-12 12:52:06

by Stephan

[permalink] [raw]
Subject: Problem compiling linux-2.6.8.1......

I'm trying to compile linux-2.6.8.1 but I'm getting the following error when
doing a make.

LD .tmp_vmlinux1
ld: cannot open kernel/built-in.o: No such file or directory
make: *** [.tmp_vmlinux1] Error 1


Any ideas would be apreciated.

Kind Regards



2004-10-12 14:11:57

by Adrian Bunk

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

On Tue, Oct 12, 2004 at 02:51:20PM +0200, Stephan wrote:

> I'm trying to compile linux-2.6.8.1 but I'm getting the following error
> when doing a make.
>
> LD .tmp_vmlinux1
> ld: cannot open kernel/built-in.o: No such file or directory
> make: *** [.tmp_vmlinux1] Error 1
>
> Any ideas would be apreciated.

This shouldn't be the first error.

Did you observe any other errors before?

> Kind Regards

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2004-10-12 14:37:32

by Stephan

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

I've tried to recompile the kernel and watched very carefully for anything
out off the ordinary but could not find anything that might relate to an
error message.

Is there anything specific I should keep any eye out for?

Kind Regards
Steph


----- Original Message -----
From: "Adrian Bunk" <[email protected]>
To: "Stephan" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, October 12, 2004 4:11 PM
Subject: Re: Problem compiling linux-2.6.8.1......


> On Tue, Oct 12, 2004 at 02:51:20PM +0200, Stephan wrote:
>
>> I'm trying to compile linux-2.6.8.1 but I'm getting the following error
>> when doing a make.
>>
>> LD .tmp_vmlinux1
>> ld: cannot open kernel/built-in.o: No such file or directory
>> make: *** [.tmp_vmlinux1] Error 1
>>
>> Any ideas would be apreciated.
>
> This shouldn't be the first error.
>
> Did you observe any other errors before?
>
>> Kind Regards
>
> cu
> Adrian
>
> --
>
> "Is there not promise of rain?" Ling Tan asked suddenly out
> of the darkness. There had been need of rain for many days.
> "Only a promise," Lao Er said.
> Pearl S. Buck - Dragon Seed
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


2004-10-12 14:56:26

by Richard B. Johnson

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

On Tue, 12 Oct 2004, Stephan wrote:

> I've tried to recompile the kernel and watched very carefully for anything
> out off the ordinary but could not find anything that might relate to an
> error message.
>
> Is there anything specific I should keep any eye out for?
>
> Kind Regards
> Steph

Do:

script

make clean
make

exit

Whatever happened is now in file typescript.



Cheers,
Dick Johnson
Penguin : Linux version 2.6.8 on an i686 machine (5537.79 BogoMips).
Note 96.31% of all statistics are fiction.

2004-10-12 16:52:32

by Stephan

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

I've created the typescript as suggested but the only thing I found that
seemed out off place is the following line, altough I don't think it's got
anything todo with the error I'm getting.

CC [M] fs/binfmt_misc.o
include/asm/string.h:32: warning: `strcpy' defined but not used


Everyhting else seems normal.

Kind regards
steph

----- Original Message -----
From: "Richard B. Johnson" <[email protected]>
To: "Stephan" <[email protected]>
Cc: "Adrian Bunk" <[email protected]>; <[email protected]>
Sent: Tuesday, October 12, 2004 4:49 PM
Subject: Re: Problem compiling linux-2.6.8.1......


> On Tue, 12 Oct 2004, Stephan wrote:
>
>> I've tried to recompile the kernel and watched very carefully for
>> anything out off the ordinary but could not find anything that might
>> relate to an error message.
>>
>> Is there anything specific I should keep any eye out for?
>>
>> Kind Regards
>> Steph
>
> Do:
>
> script
>
> make clean
> make
>
> exit
>
> Whatever happened is now in file typescript.
>
>
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.6.8 on an i686 machine (5537.79 BogoMips).
> Note 96.31% of all statistics are fiction.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


2004-10-12 17:07:29

by Stephan

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

gcc (GCC) 3.2.3 20030502

----- Original Message -----
From: "Richard B. Johnson" <[email protected]>
To: "Stephan" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, October 12, 2004 7:02 PM
Subject: Re: Problem compiling linux-2.6.8.1......


> On Tue, 12 Oct 2004, Stephan wrote:
>
>> I've created the typescript as suggested but the only thing I found that
>> seemed out off place is the following line, altough I don't think it's
>> got anything todo with the error I'm getting.
>>
>> CC [M] fs/binfmt_misc.o
>> include/asm/string.h:32: warning: `strcpy' defined but not used
>>
>
> This shouldn't happen. It's a definition in a header file!
> It looks line the 'inline' gnu-ism isn't working! Could you
> publish the result of
> gcc --version
>
>
>>
>> Everyhting else seems normal.
>>
>> Kind regards
>> steph
>>
>> ----- Original Message ----- From: "Richard B. Johnson"
>> <[email protected]>
>> To: "Stephan" <[email protected]>
>> Cc: "Adrian Bunk" <[email protected]>; <[email protected]>
>> Sent: Tuesday, October 12, 2004 4:49 PM
>> Subject: Re: Problem compiling linux-2.6.8.1......
>>
>>
>>> On Tue, 12 Oct 2004, Stephan wrote:
>>>
>>>> I've tried to recompile the kernel and watched very carefully for
>>>> anything out off the ordinary but could not find anything that might
>>>> relate to an error message.
>>>>
>>>> Is there anything specific I should keep any eye out for?
>>>>
>>>> Kind Regards
>>>> Steph
>>>
>>> Do:
>>>
>>> script
>>>
>>> make clean
>>> make
>>>
>>> exit
>>>
>>> Whatever happened is now in file typescript.
>>>
>>>
>>>
>>> Cheers,
>>> Dick Johnson
>>> Penguin : Linux version 2.6.8 on an i686 machine (5537.79 BogoMips).
>>> Note 96.31% of all statistics are fiction.
>>>
>>> -
>>> To unsubscribe from this list: send the line "unsubscribe linux-kernel"
>>> in
>>> the body of a message to [email protected]
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>> Please read the FAQ at http://www.tux.org/lkml/
>>>
>>
>>
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.6.8 on an i686 machine (5537.79 BogoMips).
> Note 96.31% of all statistics are fiction.
>
>


2004-10-12 17:07:29

by Richard B. Johnson

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

On Tue, 12 Oct 2004, Stephan wrote:

> I've created the typescript as suggested but the only thing I found that
> seemed out off place is the following line, altough I don't think it's got
> anything todo with the error I'm getting.
>
> CC [M] fs/binfmt_misc.o
> include/asm/string.h:32: warning: `strcpy' defined but not used
>

This shouldn't happen. It's a definition in a header file!
It looks line the 'inline' gnu-ism isn't working! Could you
publish the result of
gcc --version


>
> Everyhting else seems normal.
>
> Kind regards
> steph
>
> ----- Original Message ----- From: "Richard B. Johnson"
> <[email protected]>
> To: "Stephan" <[email protected]>
> Cc: "Adrian Bunk" <[email protected]>; <[email protected]>
> Sent: Tuesday, October 12, 2004 4:49 PM
> Subject: Re: Problem compiling linux-2.6.8.1......
>
>
>> On Tue, 12 Oct 2004, Stephan wrote:
>>
>>> I've tried to recompile the kernel and watched very carefully for anything
>>> out off the ordinary but could not find anything that might relate to an
>>> error message.
>>>
>>> Is there anything specific I should keep any eye out for?
>>>
>>> Kind Regards
>>> Steph
>>
>> Do:
>>
>> script
>>
>> make clean
>> make
>>
>> exit
>>
>> Whatever happened is now in file typescript.
>>
>>
>>
>> Cheers,
>> Dick Johnson
>> Penguin : Linux version 2.6.8 on an i686 machine (5537.79 BogoMips).
>> Note 96.31% of all statistics are fiction.
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>>
>
>

Cheers,
Dick Johnson
Penguin : Linux version 2.6.8 on an i686 machine (5537.79 BogoMips).
Note 96.31% of all statistics are fiction.

2004-10-12 19:27:36

by Lee Revell

[permalink] [raw]
Subject: Re: Problem compiling linux-2.6.8.1......

On Tue, 2004-10-12 at 13:04, Stephan wrote:
> gcc (GCC) 3.2.3 20030502
>

I think there is a bug in this exact version that screw up inlining,
don't remember where it was reported. Try a different GCC version.

Lee