linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Cooper <jcooper@nevernight.net>
To: linux-c-programming@vger.kernel.org
Subject: Re: getprotobyname failure
Date: Tue, 25 Feb 2003 09:24:41 -0500	[thread overview]
Message-ID: <20030225142441.GN4843@nevernight.net> (raw)
In-Reply-To: <00ed01c2dca8$ab5e84f0$3002a8c0@yigitcan>

Yigit Can (yigit.can@karel.com.tr) wrote:
> 
> I can run this program on my development machine=20
> but when I try to run this program on my basic kernel it gives me the =
> "memory fault" error.
> 
> I'm using libc-2.2.5 on a powerpc 8xx development kit
> so, i'm using the same library on the host and target machine.
> 
> my development machine has celeron  type processor
> and my target board is TQM850L (has ppc_850 processor).
> 
> I've replaced my protocols and nsswitch.conf files with host machines (my
> protocols file contians "tcp 6 TCP" line)
> and that's made no difference.

Yigit, 

My first guess would be byte order because of the different processors.  Try
this page out:

http://www.ecst.csuchico.edu/~beej/guide/net/bgnet.pdf

It is a beginners guide, however, it does talk a bit about byte order, etc.

Cooper.

  reply	other threads:[~2003-02-25 14:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-25  8:34 getprotobyname failure Yigit Can
2003-02-25 14:24 ` Jason Cooper [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-25  8:57 Yigit Can
2003-02-26  0:58 ` Glynn Clements
2003-02-26 12:59 Yigit Can
2003-02-26 13:56 ` Richard B. Johnson

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=20030225142441.GN4843@nevernight.net \
    --to=jcooper@nevernight.net \
    --cc=linux-c-programming@vger.kernel.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 NNTP newsgroup(s).