Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mrider@austin.onu.edu (Dr. Michael J. Rider)
Subject: GKS, DEC Fortran and ultrix link error
Date: Fri, 20 Jan 1995 17:24:55 GMT	[thread overview]
Message-ID: <mrider-2001951225100001@rider.onu.edu> (raw)

I using GKS 6.0 on an ultrix 4.4 operating system, and a  DECstation
5000/200.  Using setld, I have the following:

OTMBASE104      installed       DEC Compiled Code Support Library V1.4-2
DFRBASE320      installed       DEC Fortran V3.2 for ULTRIX/RISC Systems
DFRDOC320       installed       DEC Fortran V3.2 release notes
DFRF77320       installed       FORTRAN for RISC V2.0 libraries
DFRLSE320       installed       DEC Fortran V3.2 LSE support
DFRMAN320       installed       DEC Fortran V3.2 man pages
DFRUNSUP320     installed       DEC Fortran V3.2 unsupported utilities

GUDBASE600      installed       DEC GKS V6.0 Base System
GUDBASEJP600                    DEC GKS V6.0 Japanese Base System
GUDEXA600       installed       DEC GKS V6.0 Example Programs
GUDMAN600       installed       DEC GKS V6.0 Manual Pages
GUDMANJP600                     DEC GKS V6.0 Japanese Manual Pages

>From the manual pages and the GKS release notes, I tried several
linking procedures.  When I link a Fortran program with GKS, I get the
following error message.  Any clues ??

# f77 -c -fpe1 lab4.f
#f77 -o lab4 lab4.o -lGKSdforbnd -lGKS -lMrm -lXm -lXt -lX11 \
  -lcursesX -llmf
ld:
Undefined:
DXmInitialize
DXmCSTextGetString
DXmCvtCStoFC
DXmCvtFCtoCS
DXmCSTextSetString
DXmCSTextSetInsertionPosition
cda$create_root_aggregate
cda$create_file
cda$enter_scope
cda$create_aggregate
cda$store_item
cda$put_aggregate
cda$delete_aggregate
cda$leave_scope
cda$close_file
cda$delete_root_aggregate
fort: Severe: Failed while trying to link.
#
   (Adding the -lddif library gives me the following)

#f77 -o lab4 lab4.o -lGKSdforbnd -lGKS -lMrm -lXm -lXt -lX11 -lddif -lcursesX -l
ld:
Undefined:
DXmInitialize
DXmCSTextGetString
DXmCvtCStoFC
DXmCvtFCtoCS
DXmCSTextSetString
DXmCSTextSetInsertionPosition
fort: Severe: Failed while trying to link.
#
How do I get rid of the rest of the unresolved routines ??

Note 3-lGKSdforbnd2 is symbolic link to  3-lGKSforbnd2

And the Fortran code has the following:

        include '/usr/include/GKS/gks.f'

-- 
mrider@austin.onu.edu


                 reply	other threads:[~1995-01-20 17:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox