Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* TGA && 2.0.34
@ 1998-06-06  4:00 Chad Knepp
  1998-06-10  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
  0 siblings, 1 reply; 2+ messages in thread
From: Chad Knepp @ 1998-06-06  4:00 UTC (permalink / raw)



I have a number of questions regarding Linux on the Alpha (Multia/UDB).


1) Building kernel 2.0.34 (Noname, CONFIG_TGA_CONSOLE=y) fails like this
repetedly:

[root@galatea linux]# make -s vmlinux
selection.h: In function `scr_writew':
In file included from misc.c:47:
selection.h:113: `con_blitc' undeclared (first use this function)
selection.h:113: (Each undeclared identifier is reported only once
selection.h:113: for each function it appears in.)
selection.h:114: `con_blitc' used prior to declaration
selection.h:114: warning: implicit declaration of function `con_blitc'
selection.h: In function `memsetw':
selection.h:114: `con_blitc' used prior to declaration
selection.h: In function `memcpyw':
selection.h:114: `con_blitc' used prior to declaration
make[3]: *** [misc.o] Error 1
make[2]: *** [first_rule] Error 2
make[1]: *** [sub_dirs] Error 2
make: *** [linuxsubdirs] Error 2

This section has to do with TGA support and will compile if I disable it
in .config but I need it.  I looked at selection.h and added the line
"extern int con_blitc(unsigned int, unsigned long);" (to see what else I
could break ;-) which carried it through until it dies horribly with
about thirty undfined refrences in console.c, vc_screen.c, and tga.c.
Can anyone duplicate this problem?  Pointers, anyone?


2) Can someone point out a good source of information on how to
cross-compile?  I would like to use my Intel box to build kernels for my
UDB  which would shave off 30-45 minutes!


3) Why do I recieve so many warnings when I build a kernel (esp. the net
code).  I'm using gcc 2.7.2.3.  I have a lot of trouble just getting a
kernel to build.  What am I doing wrong?  Also, I would love to get rid
of the unallinged traps.... without just changing my logs (it annoys me
like a car that burns oil).  Whine, whine, etc.


Thanks,
Chad

--
Chad Knepp
bluesky at centuryinter dot net   http://www.svsu.edu/~cgknepp/
--
Multitasking = 3 PCs and a chair with wheels!




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

* Re: TGA && 2.0.34
  1998-06-06  4:00 TGA && 2.0.34 Chad Knepp
@ 1998-06-10  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
  0 siblings, 0 replies; 2+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-06-10  4:00 UTC (permalink / raw)



>>>>> "CK" == Chad Knepp <bluesky@nospam.net> writes:

    CK> 2) Can someone point out a good source of information on how
    CK> to cross-compile?  I would like to use my Intel box to build
    CK> kernels for my UDB which would shave off 30-45 minutes!

Well, don't know about specific kernel makefile settings, but the last
time I tried to build a cross-compiler on a 32-bit system (was a
SPARCstation "running" Slowaris) for a 64-bit system (my dearly
departed Multia, heh), the GCC documentation claimed it couldn't
correctly generate code for a 64-bit system on a 32-bit system and
that I was wasting my time.

That was back around 2.7; things may be different in these
"enlightened" days of egcs and gcc 2.8.

    CK> 3) Why do I recieve so many warnings when I build a kernel
    CK> (esp. the net code).  I'm using gcc 2.7.2.3.  I have a lot of
    CK> trouble just getting a kernel to build.  What am I doing
    CK> wrong?

You aren't doing anything wrong.  The net code has a ton of 'use of
uninitialized variable' warnings, esp. in respect to 'skbbuff' or
something like that.  I don't think it causes any problems, though.
Just chuck another quart of oil into the engine and remember to change
oil a tad more frequently, is all.  :)

    CK> Also, I would love to get rid of the unallinged
    CK> traps.... without just changing my logs (it annoys me like a
    CK> car that burns oil).  Whine, whine, etc.

This is a good question to ask.  Unfortunately, unlike 32- to 64-bit
conversion problems, the solution to this error isn't as well
documented.  Would one of the Alpha gurus shed some light here?  Is it
as simple as compiling with a recent GCC and/or C library?

-- 
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"What shall it profit a man if he should gain the world and lock his keys
in the car before he can get it home?" --Gwendoly Piper in alt.slack



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

end of thread, other threads:[~1998-06-10  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-06  4:00 TGA && 2.0.34 Chad Knepp
1998-06-10  4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox