RE: gcc problem

2002-11-21 Thread Matthews, John
far as the locale.lo thing you did, I don't know much about this, but my gut feeling is that it's a hack which will not fix your problem. -Original Message- From: matt braverman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 7:49 PM To: [EMAIL PROTECTED] Subj

gcc problem

2002-11-21 Thread matt braverman
i am pretty new at redhat and at posting to groups, so please forgive any irrelevant information i add or improper posting etiquette. i have Redhat 8.0, kernel 2.4.18-18.8.0, sony vaio laptop with winME on first partition, winXP on second, and redhat on third. my big problem is this: /root/SD

Re: weird Linux+GCC problem

1998-03-22 Thread Fred Smith
On Sat, Mar 21, 1998 at 02:04:29AM -0500, Saad wrote: > I'm experiencing a problem with a C program. I am allocating two nodes > dynamically and creating a linked list. The problem is when I return from > the function, it gives me a segmentation fault. My code looks fine, and > it runs fine und

Re: weird Linux+GCC problem

1998-03-22 Thread Marius Aamodt Eriksen
This code even runs fine under DOS compiled /w BC++4.52... can't see any problems -Original Message- From: Saad <[EMAIL PROTECTED]> To: RedHat Mailing List <[EMAIL PROTECTED]> Date: Saturday, March 21, 1998 9:05 AM Subject: weird Linux+GCC problem >I'm experi

Re: weird Linux+GCC problem

1998-03-21 Thread Michael P. Plezbert
On Sat, 21 Mar 1998, David E. Fox wrote: > > The second argument to scanf in the line > > > > scanf("%s", &filename); > > > > needs to be a pointer to a char ARRAY large enough to hold the input. The > > way it is, you are overwriting memory. The fact that is works on digital > > unix is j

Re: weird Linux+GCC problem

1998-03-21 Thread David E. Fox
> The second argument to scanf in the line > > scanf("%s", &filename); > > needs to be a pointer to a char ARRAY large enough to hold the input. The > way it is, you are overwriting memory. The fact that is works on digital > unix is just a fluke. Not only that, if filename is defined as a

Re: weird Linux+GCC problem

1998-03-21 Thread Michael P. Plezbert
Umm, the problem is not with Linux or gcc, it's an error in your code. The second argument to scanf in the line scanf("%s", &filename); needs to be a pointer to a char ARRAY large enough to hold the input. The way it is, you are overwriting memory. The fact that is works on digital unix is

weird Linux+GCC problem

1998-03-21 Thread Saad
I'm experiencing a problem with a C program. I am allocating two nodes dynamically and creating a linked list. The problem is when I return from the function, it gives me a segmentation fault. My code looks fine, and it runs fine under digital unix. Do I have to do something different with lin

RH 5.0 gcc problem

1998-03-17 Thread Tasha van Es
I have searched RedHat's site and can't find any clues to this... I have reviewed the compiler FAQ at linux.org. I downloaded ssh 1.2.22 on a 4.2 box, it compiled without a blink. When I moved the tar file to my 5.0 box, it wouldn't even begin to compile, stating "C compiler cannot create executa