have a look for the definition of "ap_ctx" cos the bit you've included looks ok. Usually for these sort of errors I've found you need to look for the "#ifdef" bits and see if something is not defined that should be, or vice versa, then tweak the makefile to set or unset it and recompile.
Dave. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
