*BSD News Article 22059


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!caen!spool.mu.edu!howland.reston.ans.net!noc.near.net!sanders.com!newshost!nation
From: nation@snoopy.sanders.lockheed.com (Robert Nation)
Newsgroups: comp.os.386bsd.apps
Subject: Re: fvwm
Date: 7 Oct 93 15:53:36
Organization: Lockheed Sanders Inc.
Lines: 16
Message-ID: <NATION.93Oct7155336@snoopy.sanders.lockheed.com>
References: <1993Oct5.141628.25003@urbana.mcd.mot.com>
NNTP-Posting-Host: snoopy.sanders.lockheed.com
In-reply-to: tcombs@dacapo.urbana.mcd.mot.com's message of Tue, 5 Oct 1993 14:16:28 GMT

>I sucked down the source for fvwm and tried to compile on my NetBSD
>0.9 machine running
>XFree 1.2.  All was well until  I got an unresolved link error.  In
>events.c it was looking for _sysconf.

Change 
  fd_width = sysconf(_SC_OPEN_MAX);
to
  fd_width = getdtablesize();

In the next release, you will simply need to add -DNO_SYSCONF
to the Makefile.

Rob
(nation@rocket.sanders.lockheed.com)