Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000179OCamlOCaml generalpublic2000-08-14 19:402000-11-02 13:33
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000179: PRIVATE: This may help: Ocaml for Mac could not open
DescriptionFull_Name: Enrique Vetere
Version: Ocaml 3.0
OS: Mac OS 8.0
Submission from: 200.51.12.114 (200.51.12.114)


In reference to my previous bug report, I found something that can help.
In http://developer.apple.com/technotes/tn/tn1145.html [^]
says:
"OTInetGetSecondaryAddresses is not implemented prior to Open
Transport 1.3. To work correctly with systems prior to that, you must weak-
link
with the OpenTptInternetLib and check for its existence by
comparing its address to
kUnresolvedCFragSymbolAddress. For more information
about weak-linking, you should read Technote 1083: Weak-Linking to a Code
Fragment Manager-based Shared Library."

MAC OS 8.0 includes OpenTransport 1.2. As far as I know, to get OpenTransport
1.3
you *need* to install the upgrade to MacOS 8.1 (I haven't done it yet).
I understand that for Ocaml to keep compatibility for 8.0 and lower,
something like the described in the tech note should be done.

Hope this helps/

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002154)
administrator (administrator)
2000-08-16 18:47

cf aussi PR#172
(0002155)
administrator (administrator)
2000-08-17 17:39

> Full_Name: Enrique Vetere
>
> In reference to my previous bug report, I found something that can help.
> In http://developer.apple.com/technotes/tn/tn1145.html [^]
> says:
> "OTInetGetSecondaryAddresses is not implemented prior to Open
> Transport 1.3.

It's true that I've built O'Caml on a Mac with OT version 2.0.3.

> To work correctly with systems prior to that, you must weak-link
> with the OpenTptInternetLib and check for its existence by
> comparing its address to kUnresolvedCFragSymbolAddress.

The problem is, I don't use OpenTransport ! I use GUSI, a Unix API emulation
library, which uses OpenTransport, so I don't have a lot of control on
what's going on.

I can see a several possible solutions:

1. We could decide that O'Caml needs MacOS 8.1 and force you to upgrade.
2. We could check that GUSI doesn't use OTInetGetSecondaryAddress and do
   the weak linking.
3. I could send a bug report/feature request to the author of GUSI, and
   see if I get a solution.
4. I could get rid of GUSI and give up on threads and the macosunix library.

If you're willing to play beta-tester, I think we should start with solution 2.

-- Damien
(0002156)
administrator (administrator)
2000-08-31 10:32

Thanks for your answer.
I've decided to upgrade to 8.1, as my priority is to learn Ocaml. I works
fine now.
Upgrading is not a problem for a 8.0 user (upgrade is free). I'd claim
GUSI authors to suppor MacOS 7.

Enrique Vetere
enrique.vetere@mclees.com.ar
McLees S.A.
http://www.mclees.com.ar [^]




Damien Doligez <caml-bugs@pauillac.inria.fr>
17/08/2000 12:39

 
        To: enrique.vetere@mclees.com.ar
        cc: caml-bugs@inria.fr
        Subject: Re: PRIVATE: This may help: Ocaml for Mac could not open (PR#179)

> Full_Name: Enrique Vetere
>
> In reference to my previous bug report, I found something that can help.
> In http://developer.apple.com/technotes/tn/tn1145.html [^]
> says:
> "OTInetGetSecondaryAddresses is not implemented prior to Open
> Transport 1.3.

It's true that I've built O'Caml on a Mac with OT version 2.0.3.

> To work correctly with systems prior to that, you must weak-link
> with the OpenTptInternetLib and check for its existence by
> comparing its address to kUnresolvedCFragSymbolAddress.

The problem is, I don't use OpenTransport ! I use GUSI, a Unix API
emulation
library, which uses OpenTransport, so I don't have a lot of control on
what's going on.

I can see a several possible solutions:

1. We could decide that O'Caml needs MacOS 8.1 and force you to upgrade.
2. We could check that GUSI doesn't use OTInetGetSecondaryAddress and do
   the weak linking.
3. I could send a bug report/feature request to the author of GUSI, and
   see if I get a solution.
4. I could get rid of GUSI and give up on threads and the macosunix
library.

If you're willing to play beta-tester, I think we should start with
solution 2.

-- Damien




(0002157)
administrator (administrator)
2000-08-31 10:32

Thanks for your answer.
I've decided to upgrade to 8.1, as my priority is to learn Ocaml. I works
fine now.
Upgrading is not a problem for a 8.0 user (upgrade is free). I'd claim
GUSI authors to suppor MacOS 7.

Enrique Vetere
enrique.vetere@mclees.com.ar
McLees S.A.
http://www.mclees.com.ar [^]




Damien Doligez <caml-bugs@pauillac.inria.fr>
17/08/2000 12:39

 
        To: enrique.vetere@mclees.com.ar
        cc: caml-bugs@inria.fr
        Subject: Re: PRIVATE: This may help: Ocaml for Mac could not open (PR#179)

> Full_Name: Enrique Vetere
>
> In reference to my previous bug report, I found something that can help.
> In http://developer.apple.com/technotes/tn/tn1145.html [^]
> says:
> "OTInetGetSecondaryAddresses is not implemented prior to Open
> Transport 1.3.

It's true that I've built O'Caml on a Mac with OT version 2.0.3.

> To work correctly with systems prior to that, you must weak-link
> with the OpenTptInternetLib and check for its existence by
> comparing its address to kUnresolvedCFragSymbolAddress.

The problem is, I don't use OpenTransport ! I use GUSI, a Unix API
emulation
library, which uses OpenTransport, so I don't have a lot of control on
what's going on.

I can see a several possible solutions:

1. We could decide that O'Caml needs MacOS 8.1 and force you to upgrade.
2. We could check that GUSI doesn't use OTInetGetSecondaryAddress and do
   the weak linking.
3. I could send a bug report/feature request to the author of GUSI, and
   see if I get a solution.
4. I could get rid of GUSI and give up on threads and the macosunix
library.

If you're willing to play beta-tester, I think we should start with
solution 2.

-- Damien





- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker