Date: Thu, 13 Jun 2002 20:56:55 -0400 From: Randall Hopper <aa8vb@nc.rr.com> To: "Alejandro A. Ramirez" <ales@megared.net.mx> Cc: multimedia@freebsd.org Subject: Re: Fxtv 1.04beta -- PLEASE TEST compile error Message-ID: <20020614005655.GA6663@nc.rr.com> In-Reply-To: <1024016340.520.13.camel@ales.megared.net.mx> References: <1023985461.650.52.camel@ales.megared.net.mx> <20020613234425.GA5010@nc.rr.com> <1024016340.520.13.camel@ales.megared.net.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020614005655.GA6663>
