Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ginosko!uunet!unhd!pel From: pel@unhd.UUCP (Paul E. Leclerc) Newsgroups: comp.windows.news Subject: Re: Running NeWS on SG Iris workstations Message-ID: Date: 21 Oct 89 18:38:14 GMT References: <59852@aerospace.AERO.ORG> Sender: pel@uunet!unhd (Paul E. Leclerc) Organization: University of New Hampsha Lines: 49 In-reply-to: zevpeter@aerospace.aero.org's message of 20 Oct 89 22:12:15 GMT In article <59852@aerospace.AERO.ORG> zevpeter@aerospace.aero.org (q) writes: >Path: unhd!uunet!snorkelwacker!usc!aero!zevpeter >From: zevpeter@aerospace.aero.org (q) >Newsgroups: comp.windows.news >Keywords: NeWs inet_addr problems >Date: 20 Oct 89 22:12:15 GMT >Organization: back in civilization >Lines: 19 >I'm getting a strange error from the C side when I drive a >NeWS program on the Silicon Graphics Iris workstation with >cps. The program runs perfect on a Sun-4 workstation. Worse, >the * example * program given in the Iris manual (a copy of >the Sun example) bombs in the same exact way on two different >Iris workstations. I tried the example in the Iris manual. At first it didn't even compile correctly. I called SGI. They (after doing some checking) said they got their stuff from Sun and that it is wrong at the source. Summary: Don't use the example in the manual. >Basically, the loader dies with the error message "inet_addr >undefined"--as if it were looking for an Internet address! >The NeWS code itself works * fine * on both the Sun and the >Iris. It's * just * when I use the C driver that it tries to >look for "inet_addr". Does anyone have any ideas? Make sure to also link in the BSD libraries. ie -lbsd and it should work. >(Also, some NeWS programs on Suns can't be ported too well to >Iris's...what are the important things one needs to watch out for >when writing NeWS code for use on the Iris? I am still struggling to learn NeWS and postscript (on any machine). I wish I had a few simple examples of interfacing C and NeWS but so far I have had no luck. I understand that the Sun NeWS manuals are good but alas we do not have access to them. There is a NeWS archive at Sun. Try mailing to news-archive@sun.com with a subject of help >ADVThanksANCE Very Much!! -- =========================================================================== Paul Leclerc, Computer Specialist III |Bitnet: P_LECLERC@UNHH.BITNET University of NH |UUCP: ...uunet!unh!pel