public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems with fopen and strcmp.c
@ 1999-11-09  5:12 tobias_meier
  1999-11-09  6:31 ` Martin Kahlert
  1999-11-30 23:28 ` tobias_meier
  0 siblings, 2 replies; 4+ messages in thread
From: tobias_meier @ 1999-11-09  5:12 UTC (permalink / raw)
  To: help-gcc

Hi,

I am using Suse Linux 6.0.

Compiling following file with XWPE.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>

main()
{
File *in_ptr = NULL;
char *in_file = "myfile";

in_ptr = fopen(in_file,"r");
...

}

I receive, running the compiled file, the error : segmentation fault

Debugging the file with GDB : GDB stopps before fopen and I get the
message " can't find file : ../sysdeps/generic/strcmp.c "

Who knows what to do ?

Thanks

Tobias


Sent via Deja.com http://www.deja.com/
Before you buy.

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

end of thread, other threads:[~1999-11-30 23:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-09  5:12 Problems with fopen and strcmp.c tobias_meier
1999-11-09  6:31 ` Martin Kahlert
1999-11-30 23:28   ` Martin Kahlert
1999-11-30 23:28 ` tobias_meier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).