From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7509558b970b96b4,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-20 09:24:55 PST Newsgroups: comp.sys.dec Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!howland.reston.ans.net!math.ohio-state.edu!pacific.mps.ohio-state.edu!austin.onu.edu!rider.onu.edu!user From: mrider@austin.onu.edu (Dr. Michael J. Rider) Subject: GKS, DEC Fortran and ultrix link error Sender: usenet@austin.onu.edu (Network News owner) Message-ID: Date: Fri, 20 Jan 1995 17:24:55 GMT Nntp-Posting-Host: rider.onu.edu Organization: Ohio Northern University 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