Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!math.fu-berlin.de!opal!gmdtub!prosun!tmh From: tmh@prosun.first.gmd.de (Thomas Hoberg) Newsgroups: comp.unix.sysv386 Subject: Re: Problems building applications under Roell's X386 1.1 Keywords: X loader problems Message-ID: <536@bigfoot.first.gmd.de> Date: 16 Mar 91 05:25:27 GMT References: <1017@augean.ua.OZ.AU> <9045@sail.LABS.TEK.COM> Sender: news@bigfoot.first.gmd.de Reply-To: tmh@prosun.first.gmd.de (Thomas Hoberg) Organization: GMD-FIRST, D-1000 Berlin 10 Lines: 42 In article <9045@sail.LABS.TEK.COM>, keithe@sail.LABS.TEK.COM (Keith Ericson) writes: |> In article <1017@augean.ua.OZ.AU> gvokalek@augean.ua.OZ.AU (George Vokalek) writes: |> >After successfully installing Roell's X386 1.1, I find difficulty |> >in building any X applications. The problem occurs at link time |> >with the following message: |> > |> >undefined first referenced |> > symbol in file |> >grantpt /usr/lib/libX11.a |> >unlockpt /usr/lib/libX11.a |> >ptsname /usr/lib/libX11.a |> >ld fatal: Symbol referencing errors. No output written to xloadimage |> > |> >I cannot find these functions anywhere in my ISC distribution. Can |> >someone suggest where I might find them? |> > |> |> I'm not a C programmer - but I manage to get stuff from USENET and |> other postings up 'n running with minimal assistance (Thanks, Tom!) |> most the time. (I've got one ISC 2.0.2 system and one ESIX Rev. D |> system) |> [...stuff deleted....] |> PS - you'll need gcc to link stuff under Roell's X-Server. Something |> about his Xlib's having been built with gcc and therefore requiring |> the gcc support libraries (?). I don't think you need gcc (although it can't hurt to have it). Thomas includes configuration files for 'xmkmf' (which constructs a makefile from an Imakefile). For 'xloadimage' all that's needed is, get the distribution, extract it, and provided that you have gcc 'xmkmf' followed by 'make'. That should do it. The above mentioned errors come from -lpt not being included at link time. That's the STREAM pty library needed for local connections in the Xlib. :-> tom -- ---- Thomas M. Hoberg | UUCP: tmh@bigfoot.first.gmd.de or tmh%gmdtub@tub.UUCP c/o GMD Berlin | ...!unido!tub!gmdtub!tmh (Europe) or D-1000 Berlin 12 | ...!unido!tub!tmh Hardenbergplatz 2 | ...!pyramid!tub!tmh (World) Germany | BITNET: tmh%DB0TUI6.BITNET@DB0TUI11 or +49-30-254 99 160 | tmh@tub.BITNET