Welcome to iraf.net Tuesday, April 30 2024 @ 05:51 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Compiling DAOPHOT w/ g77
   
bcb
 09/19/2006 05:51AM (Read 3892 times)  
+----
Newbie

Status: offline


Registered: 09/19/2006
Posts: 1
Dear IRAF HelpDesk,Presently I am using PC Desktop with OS as Fedora Core 5 and working with
IRAF also.With 'g77' I am compiling 'daophot' fortran programme. While running the
'make', it needs some 'IRAF' libraries which seems not to be compitable
with fortran programme. Can you suggest anything. The error comes like:
''/iraf/iraf/unix/bin.redhat/libos.a(zfacss.o): In function
`zfacss_':zfacss.cFrown.text+0x139): undefined reference to `__ctype_b'
/iraf/iraf/unix/bin.redhat/libos.a(zfioks.o): In function
`zopnks_':zfioks.cFrown.text+0x28): undefined reference to `__ctype_b'
:zfioks.cFrown.text+0xb5): undefined reference to `__ctype_b'
:zfioks.cFrown.text+0xee): undefined reference to `__ctype_b'
:zfioks.cFrown.text+0x121): undefined reference to `__ctype_b'
/iraf/iraf/unix/bin.redhat/libos.a(zfioks.o):zfioks.cFrown.text+0x133): more
undefined references to `__ctype_b' follow''Thanks...with regards...BCBhatt.../CREST-Indian Institute of Astrophysics, Bangalore

 
Profile Email
 Quote
fitz
 09/19/2006 05:51AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You need to add a "-lcompat" to the list of IRAF libraries in your Makefile. This refers to 'libcompat.a' that lives in the /iraf/iraf/unix/bin.redhat directory (i.e. next to the libos.a). This will resolve the symbols, if you don't have a libcompat.a then you need a more recent IRAF (or I can send it to you).Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.06 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login