Can't compile OsLib

Rod Grover groverr at argonet.co.uk
Mon Sep 2 12:57:12 BST 2002


In article <5fe8bd6e4b.Tony at mk-net.demon.co.uk>,
   Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
> On 31 Aug 2002, in message <6b26ba6e4b.philip at philipnet.com>,
> Philip Ludlam <philip at philipnet.com> wrote:
>> In message <Sb6e977133groverr at argonet.co.uk>
>>    Rod Grover <groverr at argonet.co.uk> wrote:

>>> Hi all,
>>>
>>> I've just Checkedout OsLib from the Sourceforge CVS repository at
>>> 'cvs.ro-oslib.sourceforge.net' and, unsuccessfully, tried to compile it
>>> using Acorn C/C++.

>> Did you run unixify over the checkouted copy?
No, but see below.

>> If not, you will need to issue commands like: dir <Obey$Dir> cdir OSLib
>> unixify -back -ext "asm:c:cc:h:Hdr:s:swi:y" -src OSLib -dst RO-OSLib
>> 
>> (I think I've got all the ext's right!)
>> 
>> See the documentation for it for more details.

> Hum. It rather depends on how he checked it out. If using John Tytgat's
> port under RISC OS (preferred), he wouldn't need to do that, as it will do
> the necessary filename translation. If checking out via a Linux box, then
> he'd need to have used unixify. Oh, and you don't want the quotes 'round
> the extension list. I use the attached obey file.

> However, that wouldn't cause the problem he describes.

I checked it out using John Tytgat's port of CVS v0.19 and Tony's Task Obey
file '!OSLib_checkout' from his posting Subject: OSLib under SourceForge, 23
May 2002 (<d24f0a3b4b.Tony at mk-net.demon.co.uk>) - slightly modified to point
to my directory.


In article <ebcabc6e4b.Tony at mk-net.demon.co.uk>, Tony van der Hoff
   <tony at mk-net.demon.co.uk> wrote:

> Hm, __SIG_IGN is tripping it up. That's defined in the shared C library, so
> it looks like that's not being linked.

> So, what is your C$Path environment variable set to when you encounter the
> error? It should at least contain a valid reference to clib, whereever that
> is on your system (something like C$Path :
> ADFS::Tonys.$.!C_C++.Libraries.clib. )

This was the C$Path immediately following the error:
C$Path : IDEFS::ide 4.$.DDE.AcornC/C++.!SetPaths.^.Libraries.clib.,
         IDEFS::ide 4.$.DDE.AcornC/C++.!SetPaths.^.Libraries.tboxlibs.,
         IDEFS::ide 4.$.DDE.AcornC/C++.!SetPaths.^.Libraries.c++lib.,
         IDEFS::ide 4.$.DDE.AcornC/C++.!SetPaths.^.Libraries.libgcc.

(in clib there is ansilib, OverMgr, and stubs).

It appears to be finding clib.o.stubs alright, although there doesn't appear
to be a reference to __SIG_IGN in o.stubs! So where should the reference to
__SIG_IGN be?


Later.... Been thinking!!!

Did a search into the far corners of my hard discs and came up with 5
different versions of stubs and one of gststubs! Replaced the one in clib
with another which had a reference __SIG_IGN, started to compile again and it
did not show the error!

The various versions of stubs I've found are.....
   29 Nov 1994   15456 bytes (source 26-bitC/C++ library,
                               also a copy dated 12 Jul 2002!)
   18 May 1997    7580 bytes (source CLib v?)
   21 Jun 1997    7668 bytes (source CLib v1.04)
   07 Sep 1999   18684 bytes (source AcornC/C++ Libraries and CLib v1.06
                               this is the one giving the error)
   20 Mar 2001   13212 bytes (source 32-bitC/C++ library)

Why so many different versions? And which is the right/best one to use?
(The one I'm using now - 29 Nov 1994, the oldest - because it works?)

Any observations or comments anyone?  Where did they all come from?

Sorry to have caused any trouble. I'll go away and try to compile OsLib again
and let you know if it fails!

Many thanks for all your help.
Regards,
Rod

-- 
 __  __  __  __      __ ___   _____________________________________________
|__||__)/ __/  \|\ ||_   |   /
|  ||  \\__/\__/| \||__  |  /...Internet access for all Acorn RISC machines
___________________________/        groverr at argonet.co.uk




More information about the oslib-user mailing list