Hi Pavel,

I suspect that your problem is the same as this one:

  http://www.mozart-oz.org/cgi-bin/oz-bugs/TRASHCAN?id=1415;page=79;user=guest

You must make your oz_interface declarations static so that they don't
stomp on each other.  Someone should fix the documentation, maybe you
can point out where this should be done?

thanks
k


Pavel writes:
 > Hmmm,
 > tested it under 1.3.1 on OS X and it works as it should so it's not a  
 > 1.3.1 -1.3.2 difference. Anybody got any clues why Solaris behaves that  
 > way?
 > /pavel
 > 
 > On Thu, 19 Jul 2007 23:08:03 +0200, Pavel <[EMAIL PROTECTED]> wrote:
 > 
 > > Hi,
 > > I am experiencing very strange problems with Module.link:
 > > I am importing 2 native modules into a program:
 > > [G]={Module.link ['./foo.so{native}']}
 > > [H]={Module.link ['./bar.so{native}']}
 > >
 > > When I do that under Solaris, only foo gets imported and both G and H  
 > > become foo.
 > > When I do the same under Windows, everything works as expected.
 > > Anyone knows why that might be happening?
 > > It might depend on me using 1.3.1 on Solaris and 1.3.2 on Windows but as  
 > > far as I see from the changelog this should work the same on both OSs.
 > > /pavel
 > >
 > > _________________________________________________________________________________
 > > mozart-users mailing list                                
 > > [email protected]
 > > http://www.mozart-oz.org/mailman/listinfo/mozart-users
 > 
 > 
 > _________________________________________________________________________________
 > mozart-users mailing list                               
 > [email protected]
 > http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to