Hi. I tried to compile some test code that links pieces of a library compiled with g77. I get the errors reported in the attachment. On the other hand, if I remove the part that needs linking with this library and I replace it so that it calls the standard 'rand' function, then it compiles and links successfully. The library I'm referring to is the CERN library containing the function 'ranlux'. Thanks, Ettore -- Ettore Aldrovandi -- SISSA/International School for Advanced Studies Via Beirut 2/4, I-34013 Trieste, Italy ph: [+] 39 0403787445 -- fax:[+] 39 0403787528 ettore@fm.sissa.it aldrovan@sissa.it http://www.sissa.it/~aldrovan