НА: Smoke [ebcdic] v5.21.9-247-g8e2863d FAI L(X) os/390 23.00 (2817/)

[email protected] (Yaroslav Kuzmin)
Newsgroups perl.mvs,perl.perl5.porters
Message-ID <[email protected]>
> But, there is one remaining large issue, which is the mro handling.  We
> need to reconcile this before that goes into blead.  What I recall my
> $work doing in this sort of situation 35 years ago was to mention the .o
> files that had cross references multiple times in the load line.  I also
> asked someone I know who works at IBM if he knew anything about this,
> and potential workarounds.  He wrote a program (attached) based on your
> description, and did not have the problems you have, using z/OS 2.1.

But does not work

source in attached file

xlc -qxplink -qlanglvl=extc99:extc89 -I. -I.. -c main.c -o main.o
xlc -qxplink -qlanglvl=extc99:extc89 -I. -I.. -c liba.c -o liba.o
ar cr liba.a liba.o
xlc -qxplink -qlanglvl=extc99:extc89 -I. -I.. -c ext/liba.c -o ext/liba.o
ar cr ext/liba.a ext/liba.o
xlc -qxplink  -o main2lib main.o liba.a ext/liba.a
 IEW2459W 9206 INCLUDED MEMBER funB2 FAILED TO RESOLVE REFERENCE.
 IEW2497W 9229 THE SYMBOL funB2 WAS EXPECTED TO BE RESOLVED BY INCLUDING MEMBER
          liba.o FROM THE LIBRARY DEFINED BY DDNAME /0000003
 IEW2459W 9206 INCLUDED MEMBER funB1 FAILED TO RESOLVE REFERENCE.
 IEW2497W 9229 THE SYMBOL funB1 WAS EXPECTED TO BE RESOLVED BY INCLUDING MEMBER
          liba.o FROM THE LIBRARY DEFINED BY DDNAME /0000003
 IEW2456E 9207 SYMBOL funB1 UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE
          DESIGNATED CALL LIBRARY.
 IEW2456E 9207 SYMBOL funB2 UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM THE
          DESIGNATED CALL LIBRARY.
FSUM3065 The LINKEDIT step ended with return code 8.
make: *** [main2lib] Error 3

------------------------------------------------------------------------
 Yaroslav Kuzmin
Developer C/C++ ,z/OS , Linux
3 Zhukovskiy Street · Miass, Chelyabinsk region 456318 · Russia
Tel:  +7.922.2.38.33.38
Email: [email protected]
Web: www.rocketsoftware.com

================================
Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ +1 800.966.3270 ■ +1 781.577.4321
Unsubscribe From Commercial Email – [email protected]
Manage Your Subscription Preferences - http://info.rocketsoftware.com/GlobalSubscriptionManagementEmailFooter_SubscriptionCenter.html
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy
================================

This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you.
lib.tar.gz (application/octetstream, 705 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.