public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: tobias_meier@my-deja.com
To: help-gcc@gnu.org
Subject: Problems with fopen and strcmp.c
Date: Tue, 30 Nov 1999 23:28:00 -0000	[thread overview]
Message-ID: <8095v8$qcl$1@nnrp1.deja.com> (raw)
Message-ID: <19991130232800.aZgeK7HjJE1ASLwQNsyseUhZW6ehFSr_Gv1tuilyxTE@z> (raw)

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.

             reply	other threads:[~1999-11-30 23:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-09  5:12 tobias_meier [this message]
1999-11-09  6:31 ` Martin Kahlert
1999-11-30 23:28   ` Martin Kahlert
1999-11-30 23:28 ` tobias_meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8095v8$qcl$1@nnrp1.deja.com' \
    --to=tobias_meier@my-deja.com \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).