Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Compiling egcs 1.0.3a
@ 1998-10-19 23:29 Steve G
  1998-10-20  0:08 ` Wes Bauske
  0 siblings, 1 reply; 12+ messages in thread
From: Steve G @ 1998-10-19 23:29 UTC (permalink / raw)
  To: Alpha-Linux List (E-mail)

Hello all, once again, I have compiling errors.
I've got a stock redhat 5.1 alpha Workstation 233 box, with egcs version:

[root@hymen egcs-1.0.3a]# egcs --version
egcs-2.90.27 980315 (egcs-1.0.2 release)

That said, I un-tarred it (egcs-1_0_3a_tar.gz) into /root/egcs and it
created egcs-1.0.3a/ .  I then ran ./configure
This is what I got, and I think it looks strange.

[root@hymen egcs-1.0.3a]# ./configure
Configuring for a alpha-unknown-linux-gnu host.
Created "Makefile" in /root/egcs/egcs-1.0.3a using "config/mt-linux"
./config.status is unchanged
Links are now set up to build a native compiler for alpha-unknown-linux-gnu
[root@hymen egcs-1.0.3a]#

Alpha-unknown-linux-gnu host????  I have an Avanti.  Not sure about that.  I
tried going through the config.sub file but didn't see anything that rang a
bell there as far as my system goes.

Now the fun part.  I ran make and got such a short output I can include it
here:

[root@hymen egcs-1.0.3a]# make
make[1]: Entering directory `/root/egcs/egcs-1.0.3a/libiberty'
echo "# !Automatically generated from ./functions.def"\
  "- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
 | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#define
 NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
 | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef
NEED_\1\\n#defi
ne NEED_\1\\n#endif\\n" }|' \
 >>needed2.awk
echo "/* !Automatically generated from ./functions.def"\
  "- DO NOT EDIT! */" >lconfig.h
awk -f needed2.awk <errors >>lconfig.h
cp lconfig.h config.tmp
/bin/sh ./../move-if-change config.tmp config.h
config.h is unchanged
touch stamp-config
test -z "" || \
  gcc -c -g -O2 -I. -I./../include   fnmatch.c -o pic/fnmatch.o
gcc -c -g -O2 -I. -I./../include  fnmatch.c
In file included from /usr/include/errnos.h:24,
                 from /usr/include/errno.h:36,
                 from fnmatch.c:45:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[1]: *** [fnmatch.o] Error 1
make[1]: Leaving directory `/root/egcs/egcs-1.0.3a/libiberty'
make: *** [all-libiberty] Error 2
[root@hymen egcs-1.0.3a]#

Can anyone tell me why it's crashing on errno.h?  The archive was good and
if it should have been there,I think it should have created it for me.  And
I'm not sure what's up with libiberty either.  I'm stuck!

I can't compile a kernel because I think my egcs might be giving me undue
errors, and now I can't compile a new egcs!!!  Grrrrr.  Any help would be
greatly appreciated.

Thanks again.  I swear I'm going to go bald before I get this thing up.  :-)

Regards,

Steve


^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Compiling egcs 1.0.3a
@ 1998-10-20  0:51 Tibbetts, Richard
  0 siblings, 0 replies; 12+ messages in thread
From: Tibbetts, Richard @ 1998-10-20  0:51 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Just for an additional point of view on this:
	What I do with mine are to untar them into /usr/src/linux.<version
number>, and then link that to /usr/src/linux. Thus I've maintained the
original kernel should I need it later.
	It's worked for me so far!
> 	______________________________
> 	Ric Tibbetts
> 	Boeing SSG Distributed CATIA
> 	Central Administration
> 	CAS-CADE Central Administration
> 	Phone: 425/393-4442    Pager: 425/645-2012
> 	E-Mail:    richard.tibbetts@boeing.com
> 
> 	Eagles may soar, but weasels don't get sucked into jet engines.
> 	_______________________________
> 
> 
> 
> ----------
> From: 	Steve G[SMTP:steve@stevesworld.net]
> Reply To: 	axp-list@redhat.com
> Sent: 	Monday, October 19, 1998 5:41 PM
> To: 	axp-list@redhat.com
> Subject: 	RE: Compiling egcs 1.0.3a
> 
> I thought that you were supposed to un-tar your kernels in the /usr/src
> dir.
> In my experience, the kernels expand into linux/xxx.  In other words, they
> expand into a directory tree starting with linux.  The linux symlink
> refers
> to the actual dir that the kernel is installed in.  How can I leave the
> linux dir alone and upgrade the kernel?
> 
> Also, does anyone know the RPM file that has the kernel headers in it?
> I'll
> browse around on the CD, but just in case...
> 
> Thanks for the help.
> 
> Regards,
> 
> Steve
> 
> -----Original Message-----
> From:	Wsb [mailto: wsb@paralleldata.com]
> Sent:	Monday, October 19, 1998 7:31 PM
> To:	axp-list@redhat.com
> Subject:	Re: Compiling egcs 1.0.3a
> 
> Steve G wrote:
> >
> > Dammit, I think I'm screwed here somewhere.  Yes, I have on frequent
> > occasion wiped the /usr/src/linux dir because I've been trying multiple
> > different kernels.  It looks like your /usr/include/asm symlink points
> to
> a
> > directory under /usr/src/linux...  Mine points to
> >
> > [root@hymen include]# ls -la asm
> > lrwxrwxrwx   1 root     root           24 Oct 14 04:13 asm ->
> > ../src/linux/include/asm
> > [root@hymen include]#
> >
> > Since I have no real compiled kernel in that directory, what do I do
> now???
> > Everything under /usr/src/linux changes each time I un-tar a new kernel.
> I
> > don't suppose this would be a problem if the kernel would compile all
> the
> > way, right?
> >
> > Is this going to require a re-install of Linux? If so, how is the
> correct
> > way to clear the contents of the /usr/src/linux dir when you want to
> un-tar
> > a new source?  I thought you just rm -Rf * in the dir that the symlink
> > points to.  I guess this was wrong.  Do you just keep a backup, or
> change
> > the symlink to point to a new directory symbolic to the kernel you are
> > unpacking?  This sounds like the way I should have been doing it.
> >
> 
> Best thing to do is re-install the rpm that has the
> kernel headers in it. Might have to force it though.
> >From that point on, do not put your kernels under
> /usr/src/linux. Put them anywhere else you like but
> leave the /usr/src/linux part alone. This is important
> because RH have modified the headers to fix a few
> compile problems in some applications and you want to
> keep those changes around.
> 
> 
> Wes
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

end of thread, other threads:[~1998-10-21  3:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-19 23:29 Compiling egcs 1.0.3a Steve G
1998-10-20  0:08 ` Wes Bauske
1998-10-20  0:21   ` Steve G
1998-10-20  0:30     ` Wes Bauske
1998-10-20  0:41       ` Steve G
1998-10-20  0:49         ` Mike "Ford" Ditto
1998-10-20  4:34         ` Wes Bauske
1998-10-20  6:29           ` Compiling egcs 1.0.3a - NOT WORKING! Steve G
1998-10-20  7:24             ` Michal Jaegermann
1998-10-20 17:39               ` ** Getting out of the woods. WAS: Compiling egcs 1.0.3a - NOT WORKING! ** Steve G
1998-10-21  3:15               ` Compiling egcs 1.0.3a - NOT WORKING! Rob McIlhargie
  -- strict thread matches above, loose matches on Subject: below --
1998-10-20  0:51 Compiling egcs 1.0.3a Tibbetts, Richard

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