Hi!, My application uses an archive 'libmysqlclient.a' and another object module 'dblib.o' which internally make calls to functions supported by 'libmysqlclient.a'. So i decided to use a single archive file containing both of them i.e. 'libmysqlclient.a' and 'dblib.o'. At link time, i get 'undefined reference' errors for all functions defined in dblib.o although the archive file contains dblib.o. I tried to move dblib.o at various positions in the archive file but it makes no difference. I still get undefined reference errors for all functions defined in dblib.o. If i link them as seperate files i.e. 'libmysqlclient.a' and dblib.o rather than having both of them in a single archive file, it works. Can somebody tell me the reason why that happens?? If possible let me know how can i make things work by still having a single archive file. Thanks, Rahul --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php