Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 1998 14:33:12 +0000 (GMT)
From:      Mr M P Searle <csubl@csv.warwick.ac.uk>
To:        banta@ghulam.force9.co.uk (Ghulam Dastgir)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: XWindows programming
Message-ID:  <199812011433.OAA23168@lupin.csv.warwick.ac.uk>
In-Reply-To: <01be1d58$0a63e900$LocalHost@signup> from Ghulam Dastgir at "Dec 1, 98 10:25:58 am"

next in thread | previous in thread | raw e-mail | index | archive | help
[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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812011433.OAA23168>