Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 1999 09:45:53 +0530
From:      Prasad Chemburkar <prasad@usa.ltindia.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   X Windows development
Message-ID:  <3701A179.F3CA5853@usa.ltindia.com>

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




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