cameron@usage.csd.oz (Cameron Simpson,Uhmmm..???? Who knows) (09/26/90)
I have a program which does simple things, like opening a few windows and scribbling in them. If I compile it on a 4D and run it there, fine. Likewise for compiling on a PI and running it there. When I try to run the 4D verion on the PI it says Unable to map GM DRAM: No such device When I try to run the PI version on the 4D it says Unable to map FIFO: No such device The code in question reads like [...] prefposition(...); openwin("dummy"); It dies in the openwin(). I'm obviously missing something extremely basic here. How do I make a binary which will run on both? - Cameron Simpson cameron@spectrum.cs.unsw.oz.au
bennett@sgi.com (Jim Bennett) (09/27/90)
In article <861@usage.csd.unsw.oz.au> cameron@spectrum.cs.unsw.oz.au (Cameron Simpson) writes: >I have a program which does simple things, like opening >a few windows and scribbling in them. If I compile it >on a 4D and run it there, fine. Likewise for compiling >on a PI and running it there. When I try to run the >4D verion on the PI it says > Unable to map GM DRAM: No such device > >When I try to run the PI version on the 4D it says > Unable to map FIFO: No such device > >I'm obviously missing something extremely basic here. >How do I make a binary which will run on both? > - Cameron Simpson > cameron@spectrum.cs.unsw.oz.au You have to link with the shared library version of the GL, libgl_s.a. Jim Bennett (bennett@esd.sgi.com)
cameron@usage.csd.oz (Cameron Simpson,Uhmmm..???? Who knows) (10/01/90)
From article <1990Sep27.160601.14614@odin.corp.sgi.com>, by bennett@sgi.com (Jim Bennett): | In article <861@usage.csd.unsw.oz.au> cameron@spectrum.cs.unsw.oz.au (Cameron Simpson) writes: |>When I try to run the 4D verion on the PI it says |> Unable to map GM DRAM: No such device |>When I try to run the PI version on the 4D it says |> Unable to map FIFO: No such device |>How do I make a binary which will run on both? | | You have to link with the shared library version of the GL, libgl_s.a. | Jim Bennett (bennett@esd.sgi.com) Yes, this was the reason. Within a day of posting my query I received replies from half a dozen people, all (like Mr Bennett, above) from within SGI. Many thanks! I'll crawl back under my rock now... - Cameron Simpson cameron@spectrum.cs.unsw.oz.au