*BSD News Article 48961


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!oleane!tank.news.pipex.net!pipex!swrinde!emory!nntp.msstate.edu!Ra.MsState.Edu!aak2
From: aak2@Ra.MsState.Edu (Atif Ahmad Khan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: porting Linux apps to BSD !
Date: 18 Aug 1995 02:07:56 -0500
Organization: Mississippi State University
Lines: 22
Message-ID: <aak2.808728796@Ra.MsState.Edu>
NNTP-Posting-Host: ra.msstate.edu
X-Newsreader: NN version 6.5.0 #2 (NOV)


I am trying to port some apps that I wrote under Linux a
year ago and they have been working fine since then.  Under
BSD I was able to compile them without much problem but they
don't work as reliably.  They quit with seg faults and weird
errors.  The one that I am fighting right now is :

"/kernel: Process 3887 killed by vm_fault -- out of swap"

and 

"/kernel: pid 4166: myprogram: uid 65534: exited on signal 11"

I am not an experienced programmer and very new at BSD.  I would
definitely appreciate any help.  Thanks.

Any general porting ideas would help, as this is my first major
attempt to port C code between platforms.

Atif Khan
aak2@ra.msstate.edu
http://www2.msstate.edu/aak2/pak.html