Date: Tue, 1 Dec 1998 10:25:58 -0800 From: "Ghulam Dastgir" <banta@ghulam.force9.co.uk> To: <freebsd-questions@FreeBSD.ORG> Subject: XWindows programming Message-ID: <01be1d58$0a63e900$LocalHost@signup>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
------=_NextPart_000_0004_01BE1D14.FC40A900
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to get a basic C program working with Xlib.h - but no luck. =
I've tried compiling the program with all the appropriate flags but =
nothing, like:=20
gcc file.c -I/usr/X11R6/include -L/usr/X11R6/lib -IX11 -IXt=20
I've confirmed that all the X stuff exists (as I installed the X =
Developer from /stand/sysinstall) and that my C program's syntax is =
correct.
The sort of error I get is:
/vat/tmp/ccjNx2451.o Undefined symbol 'some X function' referenced =
from text segment
Surely there's someone out there who's had this same problem ??
Thanks,
Ghulam
------=_NextPart_000_0004_01BE1D14.FC40A900
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></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>I'm trying to get a basic C program =
working with=20
Xlib.h - but no luck. I've tried compiling the program with all the =
appropriate=20
flags but nothing, like: </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2> gcc file.c=20
-I/usr/X11R6/include -L/usr/X11R6/lib -IX11 -IXt </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>I've confirmed that all the X stuff =
exists (as I=20
installed the X Developer from /stand/sysinstall) and that my C =
program's syntax=20
is correct.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>The sort of error I get =
is:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> =
/vat/tmp/ccjNx2451.o=20
Undefined symbol 'some X function' referenced from text =
segment</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Surely there's someone out there =
who's had this=20
same problem ??</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Thanks,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Ghulam</FONT></DIV></BODY></HTML>
------=_NextPart_000_0004_01BE1D14.FC40A900--
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?01be1d58$0a63e900$LocalHost>
