Hi there, I read the tutorials about building a perl module embedding C code... and went a step further. BTW, the tutotial (mpxstut) is not accurate on a couple of points : 1/ I found no way to use h2xs_app.plx to actually process a .h file. It's OK to get a skeleton, but otherwise ??? 2/ h2xs_app.plx needs to find mac_h2xs in @INC. 3/ xsubpp has to be extensively edited to modify the paths it contains ($xsubpp, @options to find the typemaps, ...) Well, after struggling with the above, I eventually went to *compiling* the C code generated by xsubpp. CodeWarrior reports 100 errors (my C code is 3 lines long), due to dupplicate definitions of #defines or typedefs. Obviously, some .h files are included twice or - what is worse - some of them define the same things, but don't have compliant "include guards". Looks like CW includes files as <cstdio> in place of <stdio.h> for instance= . Does anyone know how to overcome this nightmare, without editing all the .h files to place proper include guards ?? Thanks for your help. - F.Letellier ---------------------- Fran=E7ois LETELLIER - ARKEM flet@arkem.com (work) flet@freesurf.fr (perso) =3D=3D=3D=3D Want to unsubscribe from this list? =3D=3D=3D=3D Send mail with body "unsubscribe" to macperl-modules-request@m= acperl.org