From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199710300929.LAA08795@blinky.bfr.co.il> Date: Thu, 30 Oct 1997 11:29:34 +0200 From: Harvey J. Stein Subject: Re: problems with gcc/f2c - patch usage summary. In-Reply-To: Stephen Tow writes: > On Thu, 30 Oct 1997, Harvey J. Stein wrote: > > > Stephen Tow writes: > > > myname:~> gcc -o hello hello.c > > > myname:~> hello > > > Segmentation fault > > > myname:~> ./hello > > > Hello World!! > > > > Maybe you have a hello on your PATH before the one you just built in > > your home directory, so the 1st invocation is of a different binary > > than the second invocation. > > Arrgghhh...I really must apologize for not clarifying this in my original > message. This is not the problem at all, though I see why it was > immediately speculated. It doesn't happen on my 533mhz 164-LX: hjstein@blaster:~$ cat hello.c #include main () { printf("Hello World!!\n"); } hjstein@blaster:~$ type hello type: hello: not found hjstein@blaster:~$ echo $PATH /usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/home/hjstein/bin hjstein@blaster:~$ export PATH=$PATH:. hjstein@blaster:~$ type hello hello is ./hello hjstein@blaster:~$ hello Hello World!! hjstein@blaster:~$ ./hello Hello World!! Did you apply the em86 patches to the kernel that came with Redhat or to a pristine 2.0.30? I applied alpha-patches-2.0.30-0.2a.gz to a pristine 2.0.30, and then applied the patch ap-0.2-fixes-1.diff from ftp://genie.ucd.ie/pub/alpha/kernel/alpha-patchset.tar.gz. One hunk from the latter got rejected, and I applied it by hand (just added result = -EIO; to the NOT_READY & ILLEGAL_REQUEST cases in drivers/scsi/sr_ioctl.c). I also left /usr/src/linux pointing at the old kernel source tree. If you tried patching the kernel that comes with Redhat, you might have gotten rejects or reversals or bad patches, because the redhat distributed kernel already has some of the alpha patches mixed in. I'll post some general patching info separately. Good luck, -- Harvey J. Stein Berger Financial Research hjstein@bfr.co.il -- 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