From owner-freebsd-questions Tue Dec 1 06:40:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05049 for freebsd-questions-outgoing; Tue, 1 Dec 1998 06:40:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pansy.csv.warwick.ac.uk (pansy.csv.warwick.ac.uk [137.205.192.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA04679 for ; Tue, 1 Dec 1998 06:38:25 -0800 (PST) (envelope-from csubl@csv.warwick.ac.uk) Received: from lupin.csv.warwick.ac.uk (csubl@lupin-fddi [137.205.4.7]) by pansy.csv.warwick.ac.uk (8.9.1/8.9.1) with ESMTP id OAA16916; Tue, 1 Dec 1998 14:33:19 GMT Received: (from csubl@localhost) by lupin.csv.warwick.ac.uk (8.9.1/8.9.1) id OAA23168; Tue, 1 Dec 1998 14:33:13 GMT From: Mr M P Searle Message-Id: <199812011433.OAA23168@lupin.csv.warwick.ac.uk> Subject: Re: XWindows programming In-Reply-To: <01be1d58$0a63e900$LocalHost@signup> from Ghulam Dastgir at "Dec 1, 98 10:25:58 am" To: banta@ghulam.force9.co.uk (Ghulam Dastgir) Date: Tue, 1 Dec 1998 14:33:12 +0000 (GMT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Charset iso-8859-1 unsupported, filtering to ASCII...] > 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: > > gcc file.c -I/usr/X11R6/include -L/usr/X11R6/lib -IX11 -IXt ITYM gcc file.c -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXt > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message