Hello Sir, We have developed db2 udf in c++ and we have compiled all files with gcc 2.95.3.That was working fine and recently we have upgraded the compiler from 2.95.3 to 3.4.1. From then we are getting errors like libstdc++.so not found when we are calling db2 udf. If we make an exe without db2 libraries its working fine.But when we are making an exe with db2 libraries, initially it was giving libstdc++.not found.Then we did link to c++ libraries in db2 lib.Now its giving errors like __eprintf.o unresolved symbol. Following are link options we are using... For making db2 udf exe: CCC=g++ CCFLAGS=-c -fPIC LINK=g++ -shared -fPIC LNFLAGS=-o $(TARGETDIR)/FastDeblob: $(OBJS) $(LINK) -L$(DB2PATH)/lib -ldb2 -ldb2apie $(LNFLAGS) $(TARGETDIR)/FastDeblob $(OBJS) For making c++ exe: CCC=g++ CCFLAGS=-c LINK=g++ LNFLAGS=-o $(OUTDIR)/FastDeblob: $(OBJS_FASTDEBLOB) $(LINK) $(LNFLAGS) $(OUTDIR)/FastDeblob $(OBJS_FASTDEBLOB) Thanks & Regards Satya VISA - VDPS Development IT Division Basingstoke LONDON +44 1256 89 1541 (O)