linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel 2.4-22 won't compile...
@ 2003-11-26 16:34 rgx
       [not found] ` <1069865010.9694.120.camel@tweedy.ksc.nasa.gov>
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: rgx @ 2003-11-26 16:34 UTC (permalink / raw)
  To: linux-kernel

hi there,

I collected the problems I have on this wiki page to make this message short:
http://www.lug-owl.de/cgi-bin/wiki/ErrorCompilingKernel20031125

Thanks for any hints
Regards
Ralf


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
       [not found] ` <1069865010.9694.120.camel@tweedy.ksc.nasa.gov>
@ 2003-11-26 16:49   ` rgx
  2003-11-26 18:13     ` Bob Chiodini
  0 siblings, 1 reply; 10+ messages in thread
From: rgx @ 2003-11-26 16:49 UTC (permalink / raw)
  To: Bob Chiodini; +Cc: linux-kernel


> Did you 'make oldconfig'?

Yes, sure :) The NLS_DEFAULT... is not defined for some reason... 
I could replace it with the needed content in the source code if I knew its 
format...
>
> Bob...


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 16:34 kernel 2.4-22 won't compile rgx
       [not found] ` <1069865010.9694.120.camel@tweedy.ksc.nasa.gov>
@ 2003-11-26 16:50 ` Bob Chiodini
  2003-11-30  3:40 ` Adrian Bunk
  2 siblings, 0 replies; 10+ messages in thread
From: Bob Chiodini @ 2003-11-26 16:50 UTC (permalink / raw)
  To: linux-kernel

On Wed, 2003-11-26 at 11:34, rgx wrote:
> hi there,
> 
> I collected the problems I have on this wiki page to make this message short:
> http://www.lug-owl.de/cgi-bin/wiki/ErrorCompilingKernel20031125
> 
> Thanks for any hints
> Regards
> Ralf
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
Ralf,

Did you 'make oldconfig'?

Bob...


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 16:49   ` rgx
@ 2003-11-26 18:13     ` Bob Chiodini
  2003-11-26 18:35       ` rgx
  0 siblings, 1 reply; 10+ messages in thread
From: Bob Chiodini @ 2003-11-26 18:13 UTC (permalink / raw)
  To: rgx; +Cc: Linux Kernel List

On Wed, 2003-11-26 at 11:49, rgx wrote:
> > Did you 'make oldconfig'?
> 
> Yes, sure :) The NLS_DEFAULT... is not defined for some reason... 
> I could replace it with the needed content in the source code if I knew its 
> format...


Sorry, had to ask.

My 2.4.20 .config defines:

CONFIG_NLS_DEFAULT="iso8859-1"






^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 18:13     ` Bob Chiodini
@ 2003-11-26 18:35       ` rgx
  2003-11-26 19:03         ` Bob Chiodini
  0 siblings, 1 reply; 10+ messages in thread
From: rgx @ 2003-11-26 18:35 UTC (permalink / raw)
  To: Bob Chiodini; +Cc: linux-kernel

Bob Chiodini schrieb am Mittwoch, 26. November 2003 19:13:
> On Wed, 2003-11-26 at 11:49, rgx wrote:
> > > Did you 'make oldconfig'?
> >
> > Yes, sure :) The NLS_DEFAULT... is not defined for some reason...
> > I could replace it with the needed content in the source code if I
> > knew its format...
>
> Sorry, had to ask.
>
> My 2.4.20 .config defines:
>
> CONFIG_NLS_DEFAULT="iso8859-1"

yes, this is in my .config file, too, but for gcc it has to be converted 
to a
#define CONFIG_NLS_DEFAULT <something> line - and I think that it 
shouldn't be just a string there...


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 18:35       ` rgx
@ 2003-11-26 19:03         ` Bob Chiodini
  2003-11-26 20:40           ` rgx
  2003-11-26 20:57           ` rgx
  0 siblings, 2 replies; 10+ messages in thread
From: Bob Chiodini @ 2003-11-26 19:03 UTC (permalink / raw)
  To: rgx; +Cc: Linux Kernel List

On Wed, 2003-11-26 at 13:35, rgx wrote:
> Bob Chiodini schrieb am Mittwoch, 26. November 2003 19:13:
> > On Wed, 2003-11-26 at 11:49, rgx wrote:
> > > > Did you 'make oldconfig'?
> > >
> > > Yes, sure :) The NLS_DEFAULT... is not defined for some reason...
> > > I could replace it with the needed content in the source code if I
> > > knew its format...
> >
> > Sorry, had to ask.
> >
> > My 2.4.20 .config defines:
> >
> > CONFIG_NLS_DEFAULT="iso8859-1"
> 
> yes, this is in my .config file, too, but for gcc it has to be converted 
> to a
> #define CONFIG_NLS_DEFAULT <something> line - and I think that it 
> shouldn't be just a string there...

See include/linux/autoconf.h: around line 2167, my 2.4.20 source:

#define CONFIG_NLS_DEFAULT "iso8859-1"

Which corresponds to its usage in /data/src/linux-2.4.22/fs/fat/inode.c,
char *.

Is this a ix86 kernel?

Bob..


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 19:03         ` Bob Chiodini
@ 2003-11-26 20:40           ` rgx
  2003-11-26 20:57           ` rgx
  1 sibling, 0 replies; 10+ messages in thread
From: rgx @ 2003-11-26 20:40 UTC (permalink / raw)
  To: Bob Chiodini; +Cc: linux-kernel

Bob Chiodini schrieb am Mittwoch, 26. November 2003 20:03:
...
> See include/linux/autoconf.h: around line 2167, my 2.4.20 source:
>
> #define CONFIG_NLS_DEFAULT "iso8859-1"
>
> Which corresponds to its usage in
> /data/src/linux-2.4.22/fs/fat/inode.c, char *.

here we go! seems as we are approaching the core of all trouble: my  
include/linux/autoconf.h lacks the corresponding entry. How big is your 
autoconf.h? Mine is about 19k. For now, I'll add that line and go 
on ...
>
> Is this a ix86 kernel?
it is (amd 1800+)

thanx!
ralf
>
> Bob..


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 19:03         ` Bob Chiodini
  2003-11-26 20:40           ` rgx
@ 2003-11-26 20:57           ` rgx
  1 sibling, 0 replies; 10+ messages in thread
From: rgx @ 2003-11-26 20:57 UTC (permalink / raw)
  To: Bob Chiodini; +Cc: linux-kernel

Hi @ll :)

bug fixed, found next:

...

make -C lockd 
make[2]: Entering directory `/data/src/linux-2.4.22/fs/lockd'
make all_targets
make[3]: Entering directory `/data/src/linux-2.4.22/fs/lockd'
gcc -D__KERNEL__ -I/data/src/linux-2.4.22/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=svc4proc  -c -o 
svc4proc.o svc4proc.c
svc4proc.c:564: error: `nlm4svc_decode_void' undeclared here (not in a 
function)
svc4proc.c:564: error: initializer element is not constant
svc4proc.c:564: error: (near initialization for `nlmsvc_procedures4
[0].pc_decode')
...

Further details added to
http://www.lug-owl.de/cgi-bin/wiki/ErrorCompilingKernel20031125

Thanks 4Ur <F1> :)
Ralf


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-26 16:34 kernel 2.4-22 won't compile rgx
       [not found] ` <1069865010.9694.120.camel@tweedy.ksc.nasa.gov>
  2003-11-26 16:50 ` Bob Chiodini
@ 2003-11-30  3:40 ` Adrian Bunk
  2003-11-30 12:19   ` rgx
  2 siblings, 1 reply; 10+ messages in thread
From: Adrian Bunk @ 2003-11-30  3:40 UTC (permalink / raw)
  To: rgx; +Cc: linux-kernel

On Wed, Nov 26, 2003 at 05:34:23PM +0100, rgx wrote:

> hi there,

Hi Ralf,

> I collected the problems I have on this wiki page to make this message short:
> http://www.lug-owl.de/cgi-bin/wiki/ErrorCompilingKernel20031125

<--  snip  -->

...
#
# Automatically generated by kcmlinuz: don't edit
#
...

<--  snip  -->


WTF is kcmlinuz???


I bet your problems will be gone if you run "make oldconfig" before
"make bzImage"...


> Thanks for any hints
> Regards
> Ralf

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: kernel 2.4-22 won't compile...
  2003-11-30  3:40 ` Adrian Bunk
@ 2003-11-30 12:19   ` rgx
  0 siblings, 0 replies; 10+ messages in thread
From: rgx @ 2003-11-30 12:19 UTC (permalink / raw)
  To: Adrian Bunk

Adrian Bunk schrieb am Sonntag, 30. November 2003 04:40:
> On Wed, Nov 26, 2003 at 05:34:23PM +0100, rgx wrote:
> > hi there,
>
> Hi Ralf,

Hello Adrian :)
> ...
> #
> # Automatically generated by kcmlinuz: don't edit
> #
> ...
>
> <--  snip  -->
>
>
> WTF is kcmlinuz???

It's a GUI for selecting what to include for compiling a kernel that 
integrates in the KDE control center. Like make configmenu (IIRC)
>
>
> I bet your problems will be gone if you run "make oldconfig" before
> "make bzImage"...

I did "make oldconfig", and then I selected my personal hardware.
Nope, it was the gcc that caused the trouble. I found gcc-2.95 on my 
machine, too, and changed the link of /usr/bin/gcc to this version. 
Then the kernel compiled! It was just to large - now I put most drivers 
to modules - mh, and get some other errors, but let this be another 
thread :)

Just have to find out how to pipe stdout and stderr simultanously into 
ONE log file. something like "make bzImage 1&2>logfile"

Thanx for replying
Regards
Ralf
>
> > Thanks for any hints
> > Regards
> > Ralf
>
> cu
> Adrian


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-30 12:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-26 16:34 kernel 2.4-22 won't compile rgx
     [not found] ` <1069865010.9694.120.camel@tweedy.ksc.nasa.gov>
2003-11-26 16:49   ` rgx
2003-11-26 18:13     ` Bob Chiodini
2003-11-26 18:35       ` rgx
2003-11-26 19:03         ` Bob Chiodini
2003-11-26 20:40           ` rgx
2003-11-26 20:57           ` rgx
2003-11-26 16:50 ` Bob Chiodini
2003-11-30  3:40 ` Adrian Bunk
2003-11-30 12:19   ` rgx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).