Helo, Using the -c flag, you are not building a library (.so or .a). It is an object module (.o). Use gcc -shared -Wl,-soname,your_soname \ -o library_name file_list library_list or gcc -fPIC -g -c -Wall a.c gcc -fPIC -g -c -Wall b.c gcc -shared -Wl,-soname,libmystuff.so.1 \ -o libmystuff.so.1.0.1 a.o b.o -lc See http://www.tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html for more details ===== Ajith C <ajith@ongc.net> Seismic Software Group 533, GEOPIC, ONGC, INDIA. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com _______________________________________________ Redhat-devel-list mailing list Redhat-devel-list@redhat.com https://listman.redhat.com/mailman/listinfo/redhat-devel-list