I get the following error when I compile samba-2.2.8a in Red Hat Linux 9 The funny part is it compiles if I dont use the --smbwrapper option Compiling smbwrapper/smbw.c with -fPIC smbwrapper/smbw.c: In function `smbw_parse_path': smbwrapper/smbw.c:331: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c:339: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c:346: warning: passing arg 1 of `next_token' from incompatible pointer type smbwrapper/smbw.c: In function `smbw_lseek': smbwrapper/smbw.c:1258: warning: passing arg 4 of `cli_getattrE' from incompatible pointer type smbwrapper/smbw.c: At top level: smbwrapper/smbw.c:1523: warning: no semicolon at end of struct or union smbwrapper/smbw.c:1523: parse error before '.' token smbwrapper/smbw.c:1525: parse error before '.' token smbwrapper/smbw.c:1527: parse error before '.' token smbwrapper/smbw.c:1531: parse error before '}' token smbwrapper/smbw.c: In function `xstat_convert': smbwrapper/smbw.c:1548: dereferencing pointer to incomplete type smbwrapper/smbw.c:1549: dereferencing pointer to incomplete type smbwrapper/smbw.c:1550: dereferencing pointer to incomplete type smbwrapper/smbw.c:1551: dereferencing pointer to incomplete type smbwrapper/smbw.c:1552: dereferencing pointer to incomplete type smbwrapper/smbw.c:1553: dereferencing pointer to incomplete type smbwrapper/smbw.c:1554: dereferencing pointer to incomplete type smbwrapper/smbw.c:1555: dereferencing pointer to incomplete type smbwrapper/smbw.c:1556: dereferencing pointer to incomplete type smbwrapper/smbw.c:1557: dereferencing pointer to incomplete type smbwrapper/smbw.c:1558: dereferencing pointer to incomplete type smbwrapper/smbw.c:1559: dereferencing pointer to incomplete type smbwrapper/smbw.c:1560: dereferencing pointer to incomplete type make: *** [smbwrapper/smbw.po] Error 1