Hello, The attached patch fixes the 32 bit PPC GNU/Linux (and AIX) struct return code. PowerOpen returns all structures via a pointer, not just the odd sized ones (which is what the generic struct return method tests for). 32 bit PPC GNU/Linux, for historic reasons, continues to use this convention. Tested on 32 bit GNU/Linux where structs.exp and callfuncs.exp stopped failing. Note that for GNU/Linux I've made this 32 bit specific. PPC64 is going to need a new method. ok? Andrew