On Mon, 28 May 2001, Marc Aurele La France wrote:

>Date: Mon, 28 May 2001 07:53:30 -0600 (MDT)
>From: Marc Aurele La France <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Cc: Mike A. Harris <[EMAIL PROTECTED]>,
>     DRI devel list <[EMAIL PROTECTED]>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>Subject: Re: [Dri-devel] Glide warning/error and bug
>
>On Mon, 28 May 2001, Alan Hourihane wrote:
>
>> On Mon, May 28, 2001 at 09:27:34AM -0400, Mike A. Harris wrote:
>> > ../../../../../../config/makedepend/makedepend: warning:
>> > tdfx_context.c: 119: #error "Unknown OS"
>> > "tdfx_context.c":97:  defined __cplusplus ? __GNUC_PREREQ (2, 6)
>> > : __GNUC_PREREQ (2, 4)
>
>> > expecting :
>> > ../../../../../../config/makedepend/makedepend: warning:
>> > tdfx_context.c: 517: #error You MUST upgrade your Glide3
>> > libraries and headers.
>> > ../../../../../../config/makedepend/makedepend: warning:
>> > tdfx_context.c: 518: #error Get the latest from http:
>
>> This is actually the fault of makedepend.
>
>Right.  makedepend doesn't (yet) deal with parameterised macros.  If
>things still build, makedepend's complaints should be ignored (for now).

I happened to have a /usr/include/glide3 directory populated by
older Glide3 headers, which made me believe that the build
process was ignoring my explicit settings in the spec file:

%if %{BuildTdfx}
#define HasGlide3               YES
#define Glide3LibName           glide3
#define Glide3IncDir            $RPM_BUILD_ROOT/usr/include/glide3
%endif

Examining the host.def that gets written out on a build at home
shows:

#define HasGlide3               YES
#define Glide3LibName           glide3
#define Glide3IncDir            
/home/mharris/rpmbuild/tmp/XFree86-4.0.99.900-root/usr/include/glide3

Should I be setting Glide3IncDir using relative symlinks instead?
Or is Glide3IncDir used in multiple places that would prevent
the using of relative links?  The above should work nonetheless.
It appears however that it only looks in Glide3IncDir if the
headers aren't found somewhere else first, like /usr/include/glide3

Bug?


----------------------------------------------------------------------
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.                    Ontario, Canada, P6C 5B3
http://www.redhat.com           Phone: (705)949-2136
----------------------------------------------------------------------
Latest XFree86 test RPMS:      ftp://people.redhat.com/mharris/testing


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to