🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2021

How to use EMX's ar?

#2021
From: Wey Jing HO
Date: Tue, 13 Oct 1992 00:24
18 lines
1315 bytes
I am trying to make a library using EMX port of GCC. Everything was compiled
OK to *.o. Now, what do I have to do to make these *.o into *.a. I've tried
to use "ar r libMyLib.a MyObjs.o" and though I can get the libMyLib.a to be
created, trying to link it with *.o doesn't work. The message says something
like "Module from Text Segments not valid or found" (sorry, can't remember
the exact words .... hold on, I'll run it and see ..)
Here it is, it says:

libMyLib.a(MyObjs.o): Undefined symbol _dgetme_ referenced from text segment.

So, what am I doing wrong?
Thanks for any pointers.

-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Wey Jing Ho    Tel: 61-3-573-2567   E-mail : sci240s@monu6.cc.monash.edu.au<
>Physics Dept., Monash University ( Caulfield Campus ), Melbourne, AUSTRALIA<
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Technical Details
Message-ID: <1992Oct13.002432.27016@monu6.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!think.com!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!sci240s

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!think.com!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!sci240s
From: sci240s@monu6.cc.monash.edu.au (Wey Jing HO)
Subject: How to use EMX's ar?
Message-ID: <1992Oct13.002432.27016@monu6.cc.monash.edu.au>
Organization: Monash University, Melb., Australia.
Date: Tue, 13 Oct 1992 00:24:32 GMT
Lines: 18