Compile error on AXP for 2.2.0pre 1 in sched.h

Delbert Matlock (Delbert@Matlock.com)
Mon, 28 Dec 1998 18:29:47 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01BE3290.0C86E8C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

The following wonderful string of errors came up trying to compile kernel
2.2.0pre1 on a DEC Alpha (AlphaStation 200 4/233) using EGCS 1.1.1. I used
the patch against 2.1.132 (which also didn't require without AC patches).
Didn't get very far. :)

Reply directly (Delbert@Matlock.com) if ".config" file or other information
is required being that I don't normally subscribe to the linux-kernel list
(way too much content).

--dkm

== START OF CAPTURE ==

gcc -D__KERNEL__ -I/usr/src/linux-2.2.0p1/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -c -o
init/main.o init/main.c
In file included from /usr/src/linux-2.2.0p1/include/linux/mm.h:4,
from /usr/src/linux-2.2.0p1/include/linux/slab.h:14,
from /usr/src/linux-2.2.0p1/include/linux/malloc.h:4,
from /usr/src/linux-2.2.0p1/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.2.0p1/include/linux/sched.h:223: parse error before
`cycles_t'
/usr/src/linux-2.2.0p1/include/linux/sched.h:223: warning: no semicolon at
end of struct or union
/usr/src/linux-2.2.0p1/include/linux/sched.h:238: parse error before `:'
/usr/src/linux-2.2.0p1/include/linux/sched.h:239: parse error before `:'
/usr/src/linux-2.2.0p1/include/linux/sched.h:270: parse error before `:'
/usr/src/linux-2.2.0p1/include/linux/sched.h:307: parse error before `}'
/usr/src/linux-2.2.0p1/include/linux/sched.h:375: field `task' has
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `hash_pid':
/usr/src/linux-2.2.0p1/include/linux/sched.h:415: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:415: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:417: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:418: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:418: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:420: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `unhash_pid':
/usr/src/linux-2.2.0p1/include/linux/sched.h:425: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:426: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:426: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:427: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:427: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function
`find_task_by_pid':
/usr/src/linux-2.2.0p1/include/linux/sched.h:434: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:434: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `signal_pending':
In file included from /usr/src/linux-2.2.0p1/include/linux/mm.h:4,
from /usr/src/linux-2.2.0p1/include/linux/slab.h:14,
from /usr/src/linux-2.2.0p1/include/linux/malloc.h:4,
from /usr/src/linux-2.2.0p1/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.2.0p1/include/linux/sched.h:491: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:492: warning: control reaches
end of non-void function
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function
`recalc_sigpending':
/usr/src/linux-2.2.0p1/include/linux/sched.h:506: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:506: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:509: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:509: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:510: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:510: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:511: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:511: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:512: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:512: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:515: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:515: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:516: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:516: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:519: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:519: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:522: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `on_sig_stack':
/usr/src/linux-2.2.0p1/include/linux/sched.h:529: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:530: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:530: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:531: warning: control reaches
end of non-void function
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `sas_ss_flags':
/usr/src/linux-2.2.0p1/include/linux/sched.h:535: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:537: warning: control reaches
end of non-void function
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `suser':
/usr/src/linux-2.2.0p1/include/linux/sched.h:562: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:563: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `fsuser':
/usr/src/linux-2.2.0p1/include/linux/sched.h:571: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:572: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h: In function `capable':
/usr/src/linux-2.2.0p1/include/linux/sched.h:587: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/sched.h:592: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/mm.h: In function `expand_stack':
In file included from /usr/src/linux-2.2.0p1/include/linux/slab.h:14,
from /usr/src/linux-2.2.0p1/include/linux/malloc.h:4,
from /usr/src/linux-2.2.0p1/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.2.0p1/include/linux/mm.h:339: dereferencing pointer to
incomplete type
/usr/src/linux-2.2.0p1/include/linux/mm.h:341: dereferencing pointer to
incomplete type
init/main.c: In function `start_kernel':
init/main.c:1180: dereferencing pointer to incomplete type
make: *** [init/main.o] Error 1

== END OF CAPTURE ==

------=_NextPart_000_0001_01BE3290.0C86E8C0
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="winmail.dat"

eJ8+Ii8XAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAAM4HDAAcABIAHQAAAAEALQEB
A5AGAGQMAAAnAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAALwAAAENvbXBpbGUgZXJyb3Igb24gQVhQIGZvciAyLjIuMHByZSAxIGluIHNjaGVkLmgAAAIB
cQABAAAAFgAAAAG+MrnxLDCtRAidfRHSowgAIHgVLW0AAAIBHQw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AAAABGAAAAAAGFAAAAAAAA
CwAEgAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAALAAWACCAGAAAAAADAAAAAAAAARgAAAAAO
hQAAAAAAAAMABoAIIAYAAAAAAMAAAAAAAABGAAAAABCFAAAAAAAAAwAHgAggBgAAAAAAwAAAAAAA
AEYAAAAAEYUAAAAAAAADAAiACCAGAAAAAADAAAAAAAAARgAAAAAYhQAAAAAAAB4ACYAIIAYAAAAA
AMAAAAAAAABGAAAAADaFAAABAAAAAQAAAAAAAAAeAAqACCAGAAAAAADAAAAAAAAARgAAAAA3hQAA
AQAAAAEAAAAAAAAAHgALgAggBgAAAAAAwAAAAAAAAEYAAAAAOIUAAAEAAAABAAAAAAAAAAsALIAL
IAYAAAAAAMAAAAAAAABGAAAAAACIAAAAAAAACwAugAsgBgAAAAAAwAAAAAAAAEYAAAAABYgAAAAA
AAALAOKACCAGAAAAAADAAAAAAAAARgAAAACChQAAAQAAAAsADIEIIAYAAAAAAMAAAAAAAABGAAAA
AAaFAAAAAAAAAgH4DwEAAAAQAAAAmxrb6Dy2zxG13MBjAsEDdAIB+g8BAAAAEAAAAJsa2+g8ts8R
tdzAYwLBA3QCAfsPAQAAAHMAAAAAAAAAOKG7EAXlEBqhuwgAKypWwgAAUFNUUFJYLkRMTAAAAAAA
AAAATklUQfm/uAEAqgA32W4AAABDOlxXSU5ET1dTXEFwcGxpY2F0aW9uIERhdGFcTWljcm9zb2Z0
XE91dGxvb2tcb3V0bG9vay5wc3QAAAMA/g8FAAAAAwANNP03AAACAX8AAQAAADEAAAAwMDAwMDAw
MDlCMUFEQkU4M0NCNkNGMTFCNURDQzA2MzAyQzEwMzc0QzQ3QTJCMDAAAAAAiwI=

------=_NextPart_000_0001_01BE3290.0C86E8C0--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/