It works out that if I add "-L/usr/lihb -lc" to the ld command, the __errno_location problem goes away. Of course, it does this at the expense of the module size which ballons up to several megabytes. P +==================================================================+ Phil Daly, NOAO/AURA, 950 N. Cherry Avenue, Tucson AZ 85719, U S A E-mail: pdaly@noao.edu V-mail: (520) 318 8438 Fax: (520) 318 8360