Problem beim Kernelcompilen mit sparc II

Jan-Benedict Glaw jbglaw at lug-owl.de
Thu Jul 20 22:08:55 CEST 2000


On Thu, Jul 20, 2000 at 09:07:59PM +0200, Alexander Reelsen wrote:
> Moin
> 
> Leider bricht das ding beim make -C SBUS ab (was genau ist das eigentlich,
> weiss ich nicht, aber steht beim booten da naemlich auch, sollte also
> drin sein im kernel, denke ich. Korrigiert mich, wenn ich falsch liege).

...das ist der Sun-Bus (oder Sparc-Bus???). ...und: Du brauchst den;)

> Ist es normal, dass ich btw kein bzImage oder zImage habe als target im
> Makefile bei sparcs? (Ist ne sparcII, somit sun4c)

Jupp. [b]zImage ist i386-spezifisch. Die anderen Architekturen kennen
dafür "boot" als target...

> Hier nun der wichtige Auszug aus dem Compilen:
> 
> make -C sbus
> make[2]: Entering directory `/usr/src/kernel-source-2.2.16/drivers/sbus'
> make -C char
> make[3]: Entering directory
> `/usr/src/kernel-source-2.2.16/drivers/sbus/char'
> make all_targets
> make[4]: Entering directory
> `/usr/src/kernel-source-2.2.16/drivers/sbus/char'
> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.2.16/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mno-fpu -fcall-used-g5 -fcall-used-g7   -c -o aurora.o aurora.c
> aurora.c:2301: warning: return-type defaults to `int'
> aurora.c: In function `__init_func':
> aurora.c:2304: `ints' undeclared (first use in this function)

...sieht nach einem Vertipperli aus...

> aurora.c:2304: (Each undeclared identifier is reported only once
> aurora.c:2304: for each function it appears in.)
> aurora.c:2307: warning: control reaches end of non-void function
> aurora.c: At top level:
> aurora.c:2313: warning: return-type defaults to `int'
> aurora.c:2313: conflicting types for `__init_func'
> aurora.c:2301: previous declaration of `__init_func'

Oh, jetzt fällt's mit auf: 2.2.16;)

> Auf Ideen hoffend...

Hmmm... Auch, wenn's doof ist, aber kann's vielleicht sein, daß Dir
ein patch-Durchlauf schiefgegangen ist? Ansonsten versuch' Dich doch
mal an 2.4.0-test5-pre3;)

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw at lug-owl.de> -- +49-177-5601720 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20000720/da967ff3/attachment.sig>


More information about the Linux mailing list