🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.alpha
Article #12

Re: Having hassle with C linking

#12
From: Dwight D. Moore
Date: Fri, 11 Dec 1992 16:58
36 lines
2134 bytes
In article <Bz2DA5.6DE@dscomsa.desy.de>, hallam@zeus02.desy.de (Phill Hallam-Baker) writes:
|>Newsgroups: vmsnet.alpha
|>Path: constellation!convex!convex!cs.utexas.edu!uunet!mcsun!dxcern!dscomsa!zeus02.desy.de!hallam
|>From: hallam@zeus02.desy.de (Phill Hallam-Baker)
|
|>Hi, has anyone had problems with linking C on Alpha?
|>
|>The problem I get is with pointers defined as extern, eg :-
|>
|>extern TRJ_d_INTEGER    *TRJ_data_integer;
|>
|>This declaration is in the same form in each of the libraries. The linker
|>complains :-
|>
|>%LINK-W-USEUNDEF, undefined symbol TRJ_DATA_INTEGER referenced
|>        in psect $LINK$ offset %X000009A8
|>        in module TROJAN_MOTIF_SUPPORT file
|>FRL:[HALLAM.TROJAN.TEST]LIB_TROJAN.O
|>LB;4
|>
|>Which indicates that there is a problem to do with the declaration of the
|>externals... Has anyone else encountered this sort of problem? The code worked
|>OK on VAX and on DECstations (and SGIs).

|>Phill Hallam-Baker
|>
I haven't had any problem. What does your link statement look like.?Which
file is it defined in? What compile option are you using (/STANDARD=?)
----------------------------------------------------------------------------
Dwight D. Moore
Geosciences Computing Network
University of Oklahoma

dwight@geohub.gcn.uoknor.edu (129.15.40.10)
These opinions do not necessarily represent the opinions of OU or the GCN.
----------------------------------------------------------------------------
Technical Details
Message-ID: <Bz3ttr.G8A@constellation.ecn.uoknor.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!constellation!geohub.gcn.uoknor.edu!dwight
References: <Bz2DA5.6DE@dscomsa.desy.de>

Show Full Headers
Complete Article Headers
Newsgroups: vmsnet.alpha
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!constellation!geohub.gcn.uoknor.edu!dwight
From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
Subject: Re: Having hassle with C linking
Originator: usenet@kittyhawk.ecn.uoknor.edu
Sender: usenet@constellation.ecn.uoknor.edu (Usenet Administrator)
Message-ID: <Bz3ttr.G8A@constellation.ecn.uoknor.edu>
Date: Fri, 11 Dec 1992 16:58:37 GMT
Reply-To: dwight@geohub.gcn.uoknor.edu
References:  <Bz2DA5.6DE@dscomsa.desy.de>
Nntp-Posting-Host: kittyhawk.ecn.uoknor.edu
Organization: Geosciences Computing Network, Univ. of Oklahoma
Lines: 36