All of lore.kernel.org
 help / color / mirror / Atom feed
* can't compile kernels lately (2.6.16.5 and up)
@ 2006-04-26 13:39 Grzegorz Jaśkiewicz
  2006-04-26 15:02 ` Gene Heskett
  2006-04-27 20:36 ` Bill Davidsen
  0 siblings, 2 replies; 7+ messages in thread
From: Grzegorz Jaśkiewicz @ 2006-04-26 13:39 UTC (permalink / raw)
  To: Kernel development list

root@puppet:/usr/src/linux-2.6.16.11# make
  CHK     include/linux/version.h
  HOSTCC  scripts/mod/file2alias.o
scripts/mod/file2alias.c:386: warning: 'struct input_device_id'
declared inside parameter list
scripts/mod/file2alias.c:386: warning: its scope is only this
definition or declaration, which is probably not what you want
scripts/mod/file2alias.c: In function 'do_input_entry':
scripts/mod/file2alias.c:390: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:390: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:390: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:390: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:390: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:391: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:391: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:391: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:391: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:391: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:392: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:392: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:392: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:392: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:392: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:394: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:394: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:394: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:394: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:394: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:398: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:399: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:401: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:402: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:404: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:405: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:407: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:408: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:410: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:411: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:413: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:414: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:416: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:417: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:419: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:420: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:422: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c:423: error: dereferencing pointer to incomplete type
scripts/mod/file2alias.c: In function 'handle_moddevtable':
scripts/mod/file2alias.c:515: error: invalid application of 'sizeof'
to incomplete type 'struct input_device_id'
make[2]: *** [scripts/mod/file2alias.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2


any hints ? I can see that file2alias.c is using kernel-only includes,
there might be something missing to make it work (this is a hack, and
you know it :P)
--
GJ

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

* Re: can't compile kernels lately (2.6.16.5 and up)
  2006-04-26 13:39 can't compile kernels lately (2.6.16.5 and up) Grzegorz Jaśkiewicz
@ 2006-04-26 15:02 ` Gene Heskett
  2006-04-26 15:17   ` Grzegorz Jaśkiewicz
  2006-04-27 20:36 ` Bill Davidsen
  1 sibling, 1 reply; 7+ messages in thread
From: Gene Heskett @ 2006-04-26 15:02 UTC (permalink / raw)
  To: linux-kernel

On Wednesday 26 April 2006 09:39, Grzegorz Jaśkiewicz wrote:
>root@puppet:/usr/src/linux-2.6.16.11# make
>  CHK     include/linux/version.h
>  HOSTCC  scripts/mod/file2alias.o
>scripts/mod/file2alias.c:386: warning: 'struct input_device_id'
>declared inside parameter list
>scripts/mod/file2alias.c:386: warning: its scope is only this
>definition or declaration, which is probably not what you want
>scripts/mod/file2alias.c: In function 'do_input_entry':
>scripts/mod/file2alias.c:390: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:390: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:390: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:390: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:390: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:391: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:391: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:391: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:391: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:391: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:392: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:392: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:392: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:392: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:392: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:394: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:394: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:394: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:394: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:394: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:398: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:399: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:401: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:402: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:404: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:405: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:407: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:408: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:410: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:411: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:413: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:414: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:416: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:417: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:419: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c:420: error:
> dereferencing pointer to incomplete type
> scripts/mod/file2alias.c:422: error: dereferencing pointer to
> incomplete type scripts/mod/file2alias.c:423: error: dereferencing
> pointer to incomplete type scripts/mod/file2alias.c: In function
> 'handle_moddevtable':
>scripts/mod/file2alias.c:515: error: invalid application of 'sizeof'
>to incomplete type 'struct input_device_id'
>make[2]: *** [scripts/mod/file2alias.o] Error 1
>make[1]: *** [scripts/mod] Error 2
>make: *** [scripts] Error 2
>
>
>any hints ? I can see that file2alias.c is using kernel-only includes,
>there might be something missing to make it work (this is a hack, and
>you know it :P)

This has a slight taste of a bzip2 error.  As I'm instantly running 
2.6.16.9, and have .11 ready for a reboot, I've not encountered any 
such with my compiles here, but after having been burnt a couple of 
times, I now get the .gz files to src the stuff and have not had that 
sort of thing happen since.  YMMV of course, but its one suggestion of 
something to try.
 
>--
>GJ
>-
>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/

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.

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

* Re: can't compile kernels lately (2.6.16.5 and up)
  2006-04-26 15:02 ` Gene Heskett
@ 2006-04-26 15:17   ` Grzegorz Jaśkiewicz
       [not found]     ` <df47b87a0604260906m519cc6f5ud4d8527d4e5a243e@mail.gmail.com>
  2006-04-27  0:25     ` Gene Heskett
  0 siblings, 2 replies; 7+ messages in thread
From: Grzegorz Jaśkiewicz @ 2006-04-26 15:17 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel

don't think that's the issue man. I got 2.6.16.5 from tar.bz2, than
just upgraded with patches to 2.6.16.9, where it stopped to compile.
Now with 2.6.16.11 it still doens't work


--
GJ

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

* Re: can't compile kernels lately (2.6.16.5 and up)
       [not found]     ` <df47b87a0604260906m519cc6f5ud4d8527d4e5a243e@mail.gmail.com>
@ 2006-04-26 16:22       ` Grzegorz Jaśkiewicz
       [not found]         ` <20060426093346.c36be5ff.rdunlap@xenotime.net>
  0 siblings, 1 reply; 7+ messages in thread
From: Grzegorz Jaśkiewicz @ 2006-04-26 16:22 UTC (permalink / raw)
  To: Ioan Ionita; +Cc: linux-kernel

On 4/26/06, Ioan Ionita <opslynx@gmail.com> wrote:
> Try again with a fresh complete tree.
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.11.tar.bz2

that did the job, but I guess patches are provided for one and only
reason - so I will not have to download over and over again big pile
of bzipped source from the server. So you say patch is fscked up ?

--
GJ

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

* Re: can't compile kernels lately (2.6.16.5 and up)
       [not found]             ` <20060426103801.b05bec5d.rdunlap@xenotime.net>
@ 2006-04-26 18:06               ` Grzegorz Jaśkiewicz
  0 siblings, 0 replies; 7+ messages in thread
From: Grzegorz Jaśkiewicz @ 2006-04-26 18:06 UTC (permalink / raw)
  To: Randy. Dunlap; +Cc: gryzman, opslynx, linux-kernel

> I did all that without errors.  I don't think it's a tarball
> problem at all.  It looks more like a toolchain problem.
>
> Were there any other errors or warnings, e.g., when
> scripts/mod/file2alias.c does
> #include "../../include/linux/input.h"
> does that generate any error or warning?
>
> I think that your last comment was closer to the real problem.
> All of the errors are related to input_device_id.
>
> What CPU architecture/type are you doing this on?
x86, pentim M toshiba laptop.


--
GJ

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

* Re: can't compile kernels lately (2.6.16.5 and up)
  2006-04-26 15:17   ` Grzegorz Jaśkiewicz
       [not found]     ` <df47b87a0604260906m519cc6f5ud4d8527d4e5a243e@mail.gmail.com>
@ 2006-04-27  0:25     ` Gene Heskett
  1 sibling, 0 replies; 7+ messages in thread
From: Gene Heskett @ 2006-04-27  0:25 UTC (permalink / raw)
  To: linux-kernel

On Wednesday 26 April 2006 11:17, Grzegorz Jaśkiewicz wrote:
>don't think that's the issue man. I got 2.6.16.5 from tar.bz2, than
>just upgraded with patches to 2.6.16.9, where it stopped to compile.
>Now with 2.6.16.11 it still doens't work

I'm now booted to 2.6.16.11, and here, from my buildit script, is the 
list of patches used, most of them simply saved to /usr/src from this 
list:
VEROLD="linux-2.6.16.9"
# This is the src file to be used
VERSRC="linux-2.6.16"
# These are the patchfile(s) to be used
VERP1="../patch-2.6.16.3"
VERP2="../patch-2.6.16.3-2.6.16.4"
VERP3="../patch-2.6.16.5"
VERP4="../patch-2.6.16.6"
VERP5="../patch-2.6.16.7"
VERP6="../patch-2.6.16.8"
VERP7="../patch-2.6.16.9"
VERP8="../patch-2.6.16.10"
VERP9="../patch-2.6.16.11"

They are applied in the above sequence further down in the script, and 
they are all error free in application, and now in running that kernel 
too.
[root@coyote src]# uname -r
2.6.16.11

Anyplace you are using a bz2, replace it with the .gz version and see if 
you still have the problem.  I'm not betting one way or the other, but 
it sure tastes like it to me.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.

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

* Re: can't compile kernels lately (2.6.16.5 and up)
  2006-04-26 13:39 can't compile kernels lately (2.6.16.5 and up) Grzegorz Jaśkiewicz
  2006-04-26 15:02 ` Gene Heskett
@ 2006-04-27 20:36 ` Bill Davidsen
  1 sibling, 0 replies; 7+ messages in thread
From: Bill Davidsen @ 2006-04-27 20:36 UTC (permalink / raw)
  To: Grzegorz Jaśkiewicz; +Cc: Linux Kernel Mailing List

Grzegorz Jaśkiewicz wrote:
> root@puppet:/usr/src/linux-2.6.16.11# make
>   CHK     include/linux/version.h
>   HOSTCC  scripts/mod/file2alias.o
> scripts/mod/file2alias.c:386: warning: 'struct input_device_id'
> declared inside parameter list
> scripts/mod/file2alias.c:386: warning: its scope is only this
> definition or declaration, which is probably not what you want

Did you try
- save .config
- make distclean (or mrproper)
- restore .config
- make oldconfig

I think there's a corner case which patch application leaves file mod 
dates wrong somehow.just "make clean" is a cure, but this is the big gun.

I realize you probably know this and tried it before asking, but it sure 
looks like what I see which I brain fart and don't clean properly before 
the next build,.

-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me


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

end of thread, other threads:[~2006-04-27 20:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26 13:39 can't compile kernels lately (2.6.16.5 and up) Grzegorz Jaśkiewicz
2006-04-26 15:02 ` Gene Heskett
2006-04-26 15:17   ` Grzegorz Jaśkiewicz
     [not found]     ` <df47b87a0604260906m519cc6f5ud4d8527d4e5a243e@mail.gmail.com>
2006-04-26 16:22       ` Grzegorz Jaśkiewicz
     [not found]         ` <20060426093346.c36be5ff.rdunlap@xenotime.net>
     [not found]           ` <2f4958ff0604260938u759fdb53x950ca3cef34424e5@mail.gmail.com>
     [not found]             ` <20060426103801.b05bec5d.rdunlap@xenotime.net>
2006-04-26 18:06               ` Grzegorz Jaśkiewicz
2006-04-27  0:25     ` Gene Heskett
2006-04-27 20:36 ` Bill Davidsen

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.