Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!bennett From: bennett@sgi.com (Jim Bennett) Newsgroups: comp.sys.sgi Subject: Re: dumb question about libgl.a and openwin()... Message-ID: <1990Sep27.160601.14614@odin.corp.sgi.com> Date: 27 Sep 90 16:06:01 GMT References: <861@usage.csd.unsw.oz.au> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 19 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)