Simon Marlow wrote:

But the gcc says there are too many argument.
There are two ways to go around.
I change the foriegn call definition "getpwuid_r" ==> "__posix_getpwuid_r"
I change the foriegn call definition "getpwnam_r" ==> "__posix_getpwnam_r"



Thanks, I'll look into this.


I left out two more fucntions :
getgrnam_r, getgrgid_r in <grp.h> have the same problem too.

p.s. I think changing the configure will be the easiest way.
    If configure can find __posix_***_r stuff then use that,
    otherwise use plain ***_r.

--
Ahn Ki-yung



_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to