[oclug] Re: Newbie: missing GL libraries?

Marc Fortier mfortier at conscoop.ottawa.on.ca
Tue Apr 10 08:21:04 EDT 2001


On Tue, 10 Apr 2001, Marc Fortier wrote:

>
> > try
> > $ locate stdarg.h
> >
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
> /usr/lib/bcc/include/stdarg.h
> /mnt/linux/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h
> /mnt/linux/usr/lib/bcc/include/stdarg.h
> /mnt/linux/home/mfortier/DRI-CVS/xc/xc/util/misc/rt.stdarg.h
> /mnt/linux/home/mfortier/DRI-CVS/build/xc/util/misc/rt.stdarg.h
>
> /mnt/linux is my RedHat linux 6.2 installation.
> My home directory still lives in that partition.
>
> > Does the thing is on the path for include, conflicts
>
I may have a smoking gun here.

cat /mnt/linux/home/mfortier/DRI-CVS/build/xc/util/misc/rt.stdarg.h
/* $Xorg: rt.stdarg.h,v 1.3 2000/08/17 19:55:21 cpqbld Exp $ */
#ifndef _STDARG_H
#define _STDARG_H
typedef int *va_list;
#define va_start(ap, arg)       ap = ((int *)&arg) + ((sizeof(arg) + 3) /
4)
#define va_end(ap)
#define va_arg(ap, type)        ((type *)(ap += (sizeof(type)+3)/4))[-1]
#endif

Is the problem that the "real" stdarg.h doesn't get found first?

		Marc
-- 
Marc Fortier
@home:	mfortier at conscoop.ottawa.on.ca
@work:	mfortier at site.uottawa.ca




More information about the OCLUG mailing list