> Getting an undefined symbol during linking of a driver. The symbol
> is ._ptrgl
> The line that appears to cause it is
> where function_ptr is a variable defined as follows
> typedef void (*VFP)(void);
> VFP function_ptr;
> Any suggestions as to a fix or workaround would be greatly
ptrgl.o is in libc.a. If you're linking a device driver (i.e. some
module to be loaded into the kernel) then link against -lcsys.
You'll find libcsys.a in bos.adt.syscalls.
Gary R. Hook / AIX Kernel Development, IBM / These opinions are _MINE_
A piece of canvas is only the beginning
It takes on character with every loving stroke
This thing of beauty is the passion of an artist's heart
By God's design, we are a skin kaleidoscope "Colored people", dc Talk