Search the web
Sign In
New User? Sign Up
Fortran · Fortran Q/A's, info, lib and fans
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
gfortran & dislin   Message List  
Reply | Forward Message #477 of 516 |
OK, I got gfortran to compile fine. Now, I am trying to use the
DISLIN grafix library. I am trying to compile and link one of the
examples in the DISLIN package (exa_f77.for) It compiles to exa_f77.o
OK, but when I link to the dislin library, it fails on one call: to
sprintf of all things. The message I get is:

In function 'sprintf':
c:/MinGW/include/stdio.h:266: undefined reference
to '__mingw_vsprintf'

I am using DLINK that comes with DISLIN. I have set the path and
environment variables in Vista control panel. Both DISLIN and
gfortran were installed without errors to c:\dislin and c:\gfortran.

Isn't 'sprintf' a basic C call? Doesn't that mean the gfortran
library is at fault or is it the dislin library at fault?

Has anyone successfully used DISLIN with gfortran?

The command I am using is:

dlink -a exa_f77


I have tried to compile and link separately, to no avail. Same error
message as above is spit out.










Wed Dec 24, 2008 4:45 pm

billwalker_us
Offline Offline
Send Email Send Email

Forward
Message #477 of 516 |
Expand Messages Author Sort by Date

OK, I got gfortran to compile fine. Now, I am trying to use the DISLIN grafix library. I am trying to compile and link one of the examples in the DISLIN...
Bill Walker
billwalker_us
Offline Send Email
Dec 24, 2008
5:32 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help