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

Re: Compilation problem under SuSE Linux



"Hammerton J." <james@let.rug.nl> writes:
> I'm trying to compile PDP++ V 2.1 for a SuSE Linux machine in my home
> directory (as opposed to /usr/local). The compile goes just fine until
> "maketa" processes "pdp++/src/netstru.h" when it gives the following
> error:
> 
>   Syntax Error, line 1362:          static pthread_attr_t thread_attr

this is unrelated to your errors and has no consequences.. (it is
removed in 2.2)

>   /users1/james/interviews/include/IV-2_6/InterViews/minmax.h: In function `int min(int, int)':
>   /users1/james/interviews/include/IV-2_6/InterViews/minmax.h:34: redefinition of `int min(int, int)'
>   /usr/include/g++/minmax.h:35: `int min(int, int)' previously defined here

I have no /usr/include/*/minmax.h on my linux systems (RH 6.2 or 7.2)
-- seems to be a "feature" of SUSE or something.  This is the source
of the problem -- you might need to find a #define to prevent
including minmax.h or somehow make the definitions of these functions
under Interviews match that on your system..

				- Randy