Article View: comp.os.os2.programmer
Article #2042How to use EMX's ar?
From: Wey Jing HO
Date: Tue, 13 Oct 1992 03:24
Date: Tue, 13 Oct 1992 03:24
20 lines
1318 bytes
1318 bytes
Organization: Monash University, Melb., Australia. 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:
<719058360.F00043@monly.wlink.nl.wlink.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!wtrlnd!monly.wlink.nl!news-daemonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!wtrlnd!monly.wlink.nl!news-daemon From: Wey.Jing.HO@f1.n100.z60.wlink.nl (Wey Jing HO) Newsgroups: comp.os.os2.programmer Subject: How to use EMX's ar? Message-ID: <719058360.F00043@monly.wlink.nl.wlink.nl> Date: Tue, 13 Oct 1992 02:24:32 -0100 Sender: news-daemon@monly.wlink.nl.wlink.nl Lines: 21