Hi Andrew Thanks for your quick response. But when i tried the same code in another HP server i can able to find a GCC option '-Z' for creating executables which can dereference a null pointer. But in this linux server there is no such gcc option :( So there is no way to make the C code work rite?:( -- View this message in context: http://www.nabble.com/GCC-Compilation-problem-in-HP-LINUX-server-tp24806245p24806463.html Sent from the gcc - Help mailing list archive at Nabble.com.