[UNIX][VM][Mac] Can't run Squeak-3.5-1devel VM under Mac OS/X

Ned Konz ned at bike-nomad.com
Tue Apr 1 00:37:30 UTC 2003


On Monday 31 March 2003 03:58 pm, David T. Lewis wrote:
> On Mon, Mar 31, 2003 at 09:29:33AM -0800, Ned Konz wrote:
> > On Monday 31 March 2003 09:06 am, Ned Konz wrote:
> >
> > looking for module vm-display-null
> > ioFindExternalFunctionIn(display_null, -1):
> >   symbol not found: _display_null
> > squeak: loaded plugin
> > `/usr/local/lib/squeak/3.5-1devel/vm-display-null.so'
> > displayModule 0x56a0b0 vm-display-null
>
> I haven't played much with Ian's new pluggable display stuff, but
> on my Linux system I have both the vm-display-null.so
> vm-display-X11.so display modules, and when I run Squeak the X
> display module gets loaded. The console window includes this
> output:
>
> looking for module vm-display-X11
> ioFindExternalFunctionIn(display_X11, 1073823952):
>   ./squeak: undefined symbol: display_X11
> squeak: loaded plugin `./vm-display-X11.so'
> displayModule 0x40166380 vm-display-X11
>
> So I'm guessing that you either don't have the right display module
> built for your OS/X system, or there is some kind of problem with
> the search path to find the display module.

The display modules are all in the same directory. It just loads the null display one. I don't have X, but I do have the Quartz and X11 display modules in the same directory as the vm-display-null one.

If I give it the "-quartz" flag, I get this:

$ squeak -quartz -plugins /usr/local/lib/squeak/3.5-1devel/%n ~/Desktop/Squeak3.4-MacOS-Full/Squeak.image
arg: squeak
arg: -quartz
arg: -plugins
arg: /usr/local/lib/squeak/3.5-1devel/%n
arg: /Users/wordy/Desktop/Squeak3.4-MacOS-Full/Squeak.image
looking for module vm-display-Quartz
ioFindExternalFunctionIn(display_Quartz, -1):
  symbol not found: _display_Quartz
squeak: loaded plugin `/usr/local/lib/squeak/3.5-1devel/vm-display-Quartz.so'
ioFindExternalFunctionIn(display_Quartz, 3809280):
  symbol not found: _display_Quartz
could not find interface display_Quartz in module vm-display-Quartz
parseArgument n = 0
unknown option: -quartz
Usage: squeak [<option>...] [<imageName> [<argument>...]]
       squeak [<option>...] -- [<argument>...]

followed by the whole summary of options.

What's weird is this:

$ nm /usr/local/lib/squeak/3.5-1devel/vm-display-Quartz.so | grep ' D '
0000c098 D _buttonState
0000c168 D _display_Quartz
0000c034 D _dpyPitch
0000c030 D _dpyPixels
0000c090 D _iebIn
0000c094 D _iebOut
0000c014 D _inModalLoop
0000c09c D _modifierState
0000c084 D _mousePosition
0000c08c D _swapBtn

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list