From owner-freebsd-questions Tue Dec 1 02:26:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA11780 for freebsd-questions-outgoing; Tue, 1 Dec 1998 02:26:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cask.force9.net (cask.force9.net [195.166.128.29]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA11775 for ; Tue, 1 Dec 1998 02:26:47 -0800 (PST) (envelope-from banta@ghulam.force9.co.uk) Received: (qmail 10381 invoked from network); 1 Dec 1998 10:29:18 -0000 Received: from relay2.force9.net (195.166.128.25) by cask.force9.net with SMTP; 1 Dec 1998 10:29:18 -0000 Received: (qmail 2518 invoked from network); 1 Dec 1998 10:21:46 -0000 Received: from 80.usr03.shef.dialup.force9.net (HELO signup) (195.166.133.80) by relay2.force9.net with SMTP; 1 Dec 1998 10:21:46 -0000 From: "Ghulam Dastgir" To: Subject: XWindows programming Date: Tue, 1 Dec 1998 10:25:58 -0800 Message-ID: <01be1d58$0a63e900$LocalHost@signup> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BE1D14.FC40A900" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
Hi,
 
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:
 
    gcc file.c=20 -I/usr/X11R6/include -L/usr/X11R6/lib -IX11 -IXt 
 
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.
The sort of error I get = is:
    = /vat/tmp/ccjNx2451.o=20 Undefined symbol 'some X function' referenced from text = segment
Surely there's someone out there = who's had this=20 same problem  ??
Thanks,
Ghulam
------=_NextPart_000_0004_01BE1D14.FC40A900-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message