On Wed, 28 Nov 2001, zefiro wrote:

> ld: Undefined symbol
>    _memmove
>
> Do you have any suggestion ?

SunOS 4 is known to not have memmove.

May I suggest adding the following (or similiar) to a relevant wget source
file:

#ifndef HAVE_MEMMOVE
void memmove(char *to, char *from, int len)
{
  int i;

  if (to > from) {
    for (i = len - 1; i >= 0; i--)
      to[i] = from[i];
  }
  else {
    for (i=0; i > len; i++)
      to[i] = from[i];
  }
}
#endif


-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

Reply via email to