From owner-freebsd-questions Tue Mar 30 20:19:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailrelay.ltindia.com (unknown [202.54.20.68]) by hub.freebsd.org (Postfix) with ESMTP id 1154215615 for ; Tue, 30 Mar 1999 20:19:01 -0800 (PST) (envelope-from prasad@usa.ltindia.com) Received: from partha.ltindia.com (usa.ltindia.com [210.146.186.131]) by mailrelay.ltindia.com (8.8.7/8.8.7) with ESMTP id KAA19624 for ; Wed, 31 Mar 1999 10:09:16 -0500 Received: from prasad ([172.17.3.120]) by partha.ltindia.com (8.8.7/8.8.7) with ESMTP id JAA18763 for ; Wed, 31 Mar 1999 09:51:44 +0530 Message-ID: <3701A179.F3CA5853@usa.ltindia.com> Date: Wed, 31 Mar 1999 09:45:53 +0530 From: Prasad Chemburkar X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: X Windows development X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! Everyone, Our software team want to do development on X Motify, i have installed all packages related to X windows but while compiling programs on X Motify all functions give error as # cc -I /usr/X11R6/include hello.c /var/tmp/ccyd21181.o: In function `main': /var/tmp/ccyd21181.o(.text+0xd): undefined reference to `XtSetLanguageProc' /var/tmp/ccyd21181.o(.text+0x2e): undefined reference to `XtVaAppInitialize' /var/tmp/ccyd21181.o(.text+0x40): undefined reference to `XmStringCreateLocalize d' /var/tmp/ccyd21181.o(.text+0x53): undefined reference to `_XmStrings' /var/tmp/ccyd21181.o(.text+0x5c): undefined reference to `xmPushButtonWidgetClas s' /var/tmp/ccyd21181.o(.text+0x67): undefined reference to `XtVaCreateManagedWidge t' /var/tmp/ccyd21181.o(.text+0x78): undefined reference to `XmStringFree' /var/tmp/ccyd21181.o(.text+0x87): undefined reference to `_XmStrings' /var/tmp/ccyd21181.o(.text+0x90): undefined reference to `XtAddCallback' /var/tmp/ccyd21181.o(.text+0x9c): undefined reference to `XtRealizeWidget' /var/tmp/ccyd21181.o(.text+0xa8): undefined reference to `XtAppMainLoop' can any one please help me as what varaibles to be set for 'c' compiler or which X Motify pacakages to be added to solve this problem. Secondly all the time we have use "-I" flag in "C" compiler inspite all env is set, this problem is there only for X Motify rest all normal program works. Thanks in advance, bye prasad To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message