Hi Andrew I checked libc.a using nm and .__memmove is defined. The following is the compile/load line where it fails gcc -W1,-soname=x.so -o x.so .*I6.o -shared -Wall -D__USE_GNU -D_GNU_SOURCE -DDEBUG -DLEAVE_OUT_REV_ID -O2 -D_ALL_SOURCE -Drs6000 -D__EXTENSIONS__ -I/usr/openwin/include -DAIX53 -U__MATH__ -DAIX -DRS6000 -fPIC -L<libpath> -lsbI6 -L<libpath> -ldbI6 /lib/libc.a(moveeq.o):moveeq.s:(.pr+0xc): undefined reference to `.___memmove' I think as you have suggested, I may have compiled and installed gcc incorrectly. Hope this helps. Thanks much for your help. With Regards Vardhan -----Original Message----- From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx]On Behalf Of Andrew Haley Sent: Monday, July 28, 2008 4:41 AM To: Vardhan, Sundara (GE Infra, Energy) Cc: Rob Sherry; gcc-help@xxxxxxxxxxx Subject: Re: Link error Vardhan, Sundara (GE Infra, Energy) wrote: > AIX is 5.3, gcc is 4.2.3 and ld is 2.18. Yes I downloaded the source and compiled it locally on AIX > > We have a product running successfully on Solaris and AIX for many years and we have recently > decided to port to Linux. This was done successfully. Since we used gcc on Linux, we decided > to go with gcc on all the OS platforms we support. Towards this goal, I downloaded gcc 4.2.3 > on AIX and Solaris. Compiled on AIX and installed it successfully. When I tried to use this gcc to > compile the product code, the below error occurs only in couple of places. > > What does this error mean? `.___memmove' is missing. > > Do you want me to send the compile/load line? Yes. > Thanks for your help. You've probably incorrectly installed gcc. Andrew.