bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: conflict of include name


From: Thomas Dickey
Subject: Re: conflict of include name
Date: Sat, 19 Oct 2002 14:53:12 -0400
User-agent: Mutt/1.3.27i

On Sat, Oct 19, 2002 at 02:07:12PM -0400, Lucas Gonze wrote:
> 
> The name of cdk.h is in conflict with another include file from another 
> project, also called cdk.h.  That other include file comes with the 
> standard RH 7.2 distribution.  Sample contents of that file are:

not really.  cdk.h is normally installed in a subdirectory, e.g.,

/usr/local/include/cdk/cdk.h

and the include line should read

#include <cdk/cdk.h>

> /*
>  *      The following set of definitions is used to communicate with the
>  *      shared memory interface of the Stallion intelligent multiport serial
>  *      boards. The definitions in this file are taken directly from the
>  *      document titled "Generic Stackable Interface, Downloader and
>  *      Communications Development Kit".
>  */
> 
> 
> The net result of this bug is that builds will fail for mysterious reasons
> if /usr/include/linux is in the include path.
> 
> A fix is to rename cdk.h to cdkwin.h, cursesdevelopmentkit.h, etc.  
> Another fix is to rename the other cdk.h.  Both of these seem unlikely.
> 
> - Lucas
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]