Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 19:27:57 -0800
From:      "Ghulam Dastgir" <banta@ghulam.force9.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   XWindows programming
Message-ID:  <01be1c11$6c9b6e60$0d8ea6c3@signup>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BE1BCE.5E782E60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I've just started X programming using Xlib and when I compile my C =
program, that includes the header file Xlib.h, I get errors for all the =
Xlib.h declared functions my C program calls, like:

  /var/tmp/ccPxX2341.o: Undefined symbol '_XOpenDisplay' referenced from =
text segment

As I mentioned I get exactly this error message for every X function I =
use.

Any advice here would be most welcome.

Thanks,
Ghulam

------=_NextPart_000_0004_01BE1BCE.5E782E60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I've just started X programming =
using Xlib and=20
when I compile my C program, that includes the header file Xlib.h, I get =
errors=20
for all the Xlib.h declared functions my C program calls, =
like:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp; /var/tmp/ccPxX2341.o: =
Undefined symbol=20
'_XOpenDisplay' referenced from text segment</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>As I mentioned I get exactly this =
error message=20
for every X function I use.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Any advice here would be most welcome.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>Ghulam</FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01BE1BCE.5E782E60--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01be1c11$6c9b6e60$0d8ea6c3>