Vardhan, Sundara (GE Infra, Energy) wrote: > Hi Andrew Hi. Could I please ask you to stop stop-posting? It's getting very confusing. > 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' > Ouch. You're linking statically against libc. I don't know what's causing this, but I suspect it's a Bad Thing. Andrew.