Error compiling with X lib

Hello all,

When compiling ghostscript in Photon on 6.2.0, I’m getting a series of error
messages relating to the X libraries, thus:

/opt/X11R6/lib/libX11.so: undefined reference to ‘connect’

The other errors are all undefined references, and all from the lib*.so
files. They occur after the command

\bin\sh < ./obj/ldt.tr

The ldt.tr file is just the qcc command applied to a huge list of .o files

Can anyone suggest how I can resolve the undefined references?

Many thanks.


Neil

Neil Carter Psychology Department
IT Technician University of Wales Swansea
Wales, United Kingdom

http://psy.swansea.ac.uk/staff/Carter/

Hi Neil,

Neil Carter <pstech@swansea.ac.uk> wrote:

Hello all,

When compiling ghostscript in Photon on 6.2.0, I’m getting a series of error
messages relating to the X libraries, thus:
[…]

which version of ghostscript did you try to compile? Some time ago I have
tried version 8.0. When calling ‘make’, the hole QNX operating system re-
producibly hung after some time of compiling - no mouse, no keyboard, … !

Regards
Jochen

The connect() function is in libsocket, so adding -lsocket to the
linking command should do the trick.

dB


jschneider wrote, ca. 28 Mar 2003 14:28:51 GMT:

Hi Neil,

Neil Carter <pstech@swansea.ac.uk> wrote:

Hello all,

When compiling ghostscript in Photon on 6.2.0, I’m getting a series of error
messages relating to the X libraries, thus:
[…]

which version of ghostscript did you try to compile? Some time ago I have
tried version 8.0. When calling ‘make’, the hole QNX operating system re-
producibly hung after some time of compiling - no mouse, no keyboard, … !

Regards
Jochen

David Bacon <dbacon@qnx.com> wrote:

The connect() function is in libsocket, so adding -lsocket to the
linking command should do the trick.

dB


jschneider wrote, ca. 28 Mar 2003 14:28:51 GMT:

Hi Neil,

Neil Carter <> pstech@swansea.ac.uk> > wrote:
Hello all,

When compiling ghostscript in Photon on 6.2.0, I’m getting a series of error
messages relating to the X libraries, thus:
[…]

which version of ghostscript did you try to compile? Some time ago I have
tried version 8.0. When calling ‘make’, the hole QNX operating system re-
producibly hung after some time of compiling - no mouse, no keyboard, … !

Regards
Jochen

Hi Dave

I have a friendly request.

When you post teh portions of text that you are quoting from a
previous post aren’t indented with a ‘>’. It makes it a little
more difficult to follow what you said vs. what teh other guy said.

I guess as the poster your entitled to your own personal preference,
but I’d appreceite it if you could include some visual indent.

“David Bacon” <dbacon@qnx.com> wrote in message
news:1048866060515.dB@nntp.qnx.com

When compiling ghostscript in Photon on 6.2.0, I’m getting a series of
error
messages relating to the X libraries, thus:
The connect() function is in libsocket, so adding -lsocket to the
linking command should do the trick.

That worked a treat! Thanks David.

which version of ghostscript did you try to compile?

Hi Jochen.
I used Version 7.05, and it compiled successfully, after David’s fix.

Cheers

Neil

Neil Carter Psychology Department
IT Technician University of Wales Swansea
Wales, United Kingdom

http://psy.swansea.ac.uk/staff/Carter/

Bill,

I guess my preferences used to accord with yours, but I now tend to prefer
the convention in which the response appears first, followed by some kind of
separator after which all text is assumed to be a quotation. It saves a lot
of scrolling past stuff I’ve already read.

dB

Bill Caroselli <qtps@earthlink.net> wrote in message
news:b625kv$8sa$3@inn.qnx.com

David Bacon <> dbacon@qnx.com> > wrote:
The connect() function is in libsocket, so adding -lsocket to the
linking command should do the trick.

dB


jschneider wrote, ca. 28 Mar 2003 14:28:51 GMT:

Hi Neil,

Neil Carter <> pstech@swansea.ac.uk> > wrote:
Hello all,

When compiling ghostscript in Photon on 6.2.0, I’m getting a series of
error
messages relating to the X libraries, thus:
[…]

which version of ghostscript did you try to compile? Some time ago I
have
tried version 8.0. When calling ‘make’, the hole QNX operating system
re-
producibly hung after some time of compiling - no mouse, no keyboard,
… !

Regards
Jochen

Hi Dave

I have a friendly request.

When you post teh portions of text that you are quoting from a
previous post aren’t indented with a ‘>’. It makes it a little
more difficult to follow what you said vs. what teh other guy said.

I guess as the poster your entitled to your own personal preference,
but I’d appreceite it if you could include some visual indent.