Vanilla List Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VANILLA-LIST:2351] Compile problems on FreeBSD
On Sun, Jun 13, 1999 at 02:21:08PM -0400, Eric Frias wrote:
>
> tools/update.c(193): in no_zombies(). FreeBSD's struct sigaction doesn't
> have a member called sa_sigaction or sa_restorer. It does, however, have
> the flag SA_NOCLDWAIT.
The code segment above line 193 contains #ifdefs to ensure that the
sa_restorer define is set only if the machine is linux. I've test compiled
these changes on a FreeBSD machine before and ran into no problems.
To tell you the truth, I'm leaning towards removing it completely since
RedHat 5.x and above do have SA_NOCLDWAIT.
> On my FreeBSD system, and probably most others, the standard BSD 'make' is
> in /usr/bin/make, and the GNU 'make' is /usr/local/bin/gmake, if
This problem probably stems from the changes Bob Tanner made to gnumake-ify
the makefiles. I did undo some of those changes for it to be compatible
with make(1), but FreeBSD may have some additional compatibility problems.
I wonder why I didn't run across them during the test compiles...
> and remove the line 'MAKE = make' in system.mk. That way, you can just run
> gmake in the top-level directory and it will always call whatever
> make the top-level makefile was invoked with for subdirectories, instead
> of calling whatever 'make' is in the path.
This is the proper way to handle recursive makes with arbitrary make
versions.
--
Dave Ahn <ahn@vec.wfubmc.edu> | "When you were born, you cried and the
| world rejoiced. Try to live your life
Virtual Endoscopy Center | so that when you die, you will rejoice
Wake Forest Univ. School of Medicine | and the world will cry." -1/2 jj^2