[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk 3.1.3 fails to link on SunOS 4.1.4
From: |
Aharon Robbins |
Subject: |
Re: gawk 3.1.3 fails to link on SunOS 4.1.4 |
Date: |
Tue, 20 Jan 2004 10:10:01 +0200 |
Greetings. Re this:
> From: hotlips Internet admin <address@hidden>
> Subject: gawk 3.1.3 fails to link on SunOS 4.1.4
> To: address@hidden
> Date: Mon, 19 Jan 2004 15:02:24 -0500 (EST)
>
> While linking gawk 3.1.3 on SunOS 4.1.4/sparc with gcc 2.95.3 -
>
> gcc -O2 -pipe -o gawk array.o awkgram.o builtin.o ext.o field.o
> gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o
> replace.o version.o eval.o profile.o ./intl/libintl.a -ldl -lm
> ld: Undefined symbol
> _memmove
> collect2: ld returned 2 exit status
> --
> Bruce Becker +1 416 410 0879
> GTS Network Administration Toronto, Ont.
> Email: address@hidden
I didn't think anyone was still using SunOS 4.1.x. You can probably make things
work by adding this function to one of the .c files:
void *memmove(void *dest, void *src, size_t count)
{
returm memcpy(dest, src, count);
}
I will work to fix this for 3.1.4. Also, you may have better luck configuring
gawk for use without the I18N stuff:
./configure --disable-nls
make
Although it looks like you managed to build intl/libintl.a, so maybe it's better
to leave well enough alone.
Good luck,
Arnold