Great Circle Associates Majordomo-Users
(March 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Segmentation Fault.
From: Timothy Mooney <mooney @ golem . phys . ndsu . NoDak . edu>
Date: Tue, 19 Mar 1996 12:42:05 -0600 (CST)
To: majordomo-users @ greatcircle . com
In-reply-to: <199603181704.KAA16483@mailhost1.primenet.com> from "Andy Anderson" at Mar 18, 96 09:55:21 am

When we last communicated, Andy Anderson wrote:
 
)I had that similar problem on our HP9000.
)The problem turned out to be the wrapper prog.
)It compiled cleanly, but gave segmentation
)violations when ran. I had to add the following
)to wrapper.c which fixed the problem:
)
)/* I added the following declaration for execve() */
)extern char **environ;

Alternately, you could have just included <unistd.h>, as the man page shows,
and compiled that way.  Under HP-UX you *might* have to add -D_HPUX_SOURCE
(or -Ae, if your compiler supports it) to the CFLAGS, but that should do
it.

Tim
-- 
Tim Mooney                              mooney@toons.cc.ndsu.nodak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Bldg.                 (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105


References:
Indexed By Date Previous: Majordomo Hostility
From: Glen <glen@dps.sdsu.edu>
Next: Re: Noadvertise
From: "Roger B.A. Klorese" <rogerk@QueerNet.ORG>
Indexed By Thread Previous: Re: Segmentation Fault.
From: Andy Anderson <andya@campuswide.com>
Next: Errors-To: majordom???
From: James Eagan <james@branson.org>

Google
 
Search Internet Search www.greatcircle.com