🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.open-look
1 messages
1 total messages Started by Lauri Valsta Tue, 12 Jan 1993 15:14
How to link DevGuide w/ c AND FORTRAN?
#2876
Author: Lauri Valsta
Date: Tue, 12 Jan 1993 15:14
23 lines
1243 bytes
I would like to use blocks of FORTRAN code w/ an interface generated by
DevGuide. So along with the GUI I need to link both c and FORTRAN object
modules. (In the xxxx_stubs.c file I call my FORTRAN routines from c.)
According to Sun FORTRAN manual, I would need to call f77 in the linking
stage to get the correct libraries (for FORTRAN, I presume). However,
the DevGuide makefile calls cc (?) and I get error messages (due to the
FORTRAN subroutines) in the linking stage, such as:

ld: Undefined symbol 
   _e_wsle 
   _do_l_out 
   _s_wsle 
*** Error code 2. 

Is it possible to edit the makefile so that the relevant FORTRAN
libraries get included in linking, or should I try to use f77 linker
with DevGuide (and c ?) libraries to get the job done?

Thanks for any help,

-- 
| Lauri T. Valsta   Finnish Forest Research Institute |
| valsta@metla.fi   Helsinki, Finland                 |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads