[oclug] Re: Newbie: missing GL libraries?

Gilles J. Seguin segg at infonet.ca
Mon Apr 9 18:51:51 EDT 2001


Marc Fortier wrote:
> 
> Salut Gilles.
> 
> On Sun, 8 Apr 2001, Gilles J. Seguin wrote:
> 
> > well know name,
> Oops, did my sig get deleted?
> 
> > the problem is that they are macro
> > suppose to exist in /usr/lib/gcc-lib/i386-pc-linux/2.96/include/stdarg,h
> >
> I do have
> 
> #define va_start(v,l)   __builtin_stdarg_start((v),l)
> 
> in /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
>                          ^^^^^^
> 
> > $ nm /usr/lib/libGL.so|grep start
> > 001a3fec A __bss_start
> >          w __gmon_start__
> > 00021e30 t call_gmon_start
> >
> nm libGL.so.1.2 |grep start
> 0005b758 A __bss_start
>          w __gmon_start__
> 0001d700 t call_gmon_start
>          U va_start
> 
> So now what?  :)  I copied stdarg and added #include "stdarg.h" in gears.c
> but no go.

Other thing we want to know
$ cd /where/gears_is
$ make gears.o
paste that compile line, replacing the options
-c by -E
-o gears.o by -o gears.ii
$ grep va_start gears.ii

If we have something, make some sense out of it
do we see stdarg.h been included and from where,
do we have a declaration for va_start from somewhere else



More information about the OCLUG mailing list