From owner-freebsd-multimedia Thu Jun 13 17:59:54 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail-virtual.nc.rr.com (rdu26-231-240.nc.rr.com [66.26.231.240]) by hub.freebsd.org (Postfix) with ESMTP id 5173237B419 for ; Thu, 13 Jun 2002 17:59:48 -0700 (PDT) Received: by mail-virtual.nc.rr.com (Postfix, from userid 26374) id 20FFD12BE2A; Thu, 13 Jun 2002 20:56:55 -0400 (EDT) Date: Thu, 13 Jun 2002 20:56:55 -0400 From: Randall Hopper To: "Alejandro A. Ramirez" Cc: multimedia@freebsd.org Subject: Re: Fxtv 1.04beta -- PLEASE TEST compile error Message-ID: <20020614005655.GA6663@nc.rr.com> References: <1023985461.650.52.camel@ales.megared.net.mx> <20020613234425.GA5010@nc.rr.com> <1024016340.520.13.camel@ales.megared.net.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1024016340.520.13.camel@ales.megared.net.mx> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alejandro A. Ramirez: |XFree86-3.3.6 the one that cames with the 4.5-RELEASE Distribution Ok, thanks. |I Have added the line and it still fails to compile, it gives a lot of |warnings about DPMS in screensaver.c, Oh really? Could you mail me the warnings? |but now fails a little bit further with the following text: ... |screensaver.o(.text+0x18): undefined reference to `DPMSQueryExtension' |screensaver.o(.text+0x68): undefined reference to `DPMSGetVersion' ... Ah, OK. Google Groups to the rescue again. Try this: ifeq ($(HAVE_XFREE86),YES) < override LIBS += -lXxf86dga -lXxf86vm > override LIBS += -lXxf86dga -lXxf86vm -lXdpms endif The later XFree86's seem to have the DPMS syms in the libXext. If the problem is really XFree86-version-specific, this is a sticky one, as the user really has to tell us what they're building for, or we use some GNU Make magic like this: ifeq ($(wildcard $X11BASE/lib/libXdpms.*),) override LIBS += -lXdpms endif This is ugly but you might see if it works for you. If so I'll toss it in. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message