gvokalek@augean.ua.OZ.AU (George Vokalek) (02/18/91)
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? ..G..
fischer@utower.tower.in-berlin.de (Axel Fischer) (02/19/91)
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? At least with ISC 2.2 there is a Library "libpt.a" in /usr/lib. You have to link: [X-Libraries you need] -linet -lpt -lc_s -Axel -- fischer@utower.tower.in-berlin.de / fischer@tmpmbx.UUCP DoD #0228 '89 Suzuki GSX600F | That is not dead, which can eternal lie. Go fast - take chances. | Yet with strange aeons, even death may die.
tmh@prosun.first.gmd.de (Thomas Hoberg) (03/16/91)
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