From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,af596ee2630a4f38 X-Google-Attributes: gid1014db,public X-Google-Thread: 1164f8,af596ee2630a4f38 X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,af596ee2630a4f38 X-Google-Attributes: gidf6134,public From: LBohan@dbc.spam_less..com (Larry D Bohan, Jr) Subject: Re: VMS library utility differences between Vax and AXP??? Date: 1998/01/29 Message-ID: <34d1f90a.2194727170@199.217.9.201>#1/1 X-Deja-AN: 320163404 Content-Transfer-Encoding: 7bit References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: CCnet Communications (510-988-7140 guest) Newsgroups: comp.lang.c,comp.org.decus,comp.sys.dec On Wed, 28 Jan 1998 11:58:38 -0500, "Bob Young" wrote: >I can generate an object library from 'C' code object files on the VAX Open >VMS w/out difficulty. When I take the 'C' source code over to AXP and try to >make an equivalent library from the AXP generated object files, I get error >messages declaring there are 'duplicate globals'. The error does not show up >on VAX. > >Ideas or workarounds? > >The msg is of the form... > >%LIBARA-E-DUPGLOBAL Global symbol xxxx from file xxx already in library. > >Please respond via email to rcyoung@groupz.net >Thanks in advance!!!! > you're probably working w/ an older compiler on the VAX side; the default "model" for externs changed within the last few C compiler releases; you may be able to dodge around the problem, if on the Alpha you compile with /EXTERN_MODEL=COMMON ie, the model traditionally used VAXC C. at least read up on the (newer) extern models; on the alphas, start w/ $ help cc /decc /extern or the manuals and/or doc cd's, if you're lucky enough to have them ... sometimes, one get cornered into tricky situations if linking against old obj libraries, and modules compiled using the newer extern models; folks where i worked had some situation like this vis a vis GKS lbohan (at) DBC dot Com, voice/fax:719.488.1652 Larry D Bohan, c/o Data Broadcasting Corp 1900 S Norfolk, Ste #150, San Mateo CA 94403-1151