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:
|
|