starbug wrote:
> hmm... i have that, too. I also tested it with this simple code:
>
> #include <stdio.h>
> #include <string.h>
>
> int main() {
> char *m1;
> char m2[10];
> m1 = (char *) memmove(m2, "ABCDEFGHI", 4);
> m2[4] = 0;
> printf("m1 : (%s)\n", m1);
> printf("m2 : (%s)\n", m2);
> return(0);
> }
>
> and it was compiled and executed. So, i guess the problem isn't a
> missing memmove after all...
Looking at cElementTree's setup.py script, it appears that it tries to
figure out whether or not your system has memmove(3) by parsing
Python's pyconfig.h file. Do you have the Python development package
installed correctly? It's usually called python-dev or python-devel.
The file ought to be in /usr/include/python2.4/.