Newsgroups: comp.windows.x.motif
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ftpbox!mothost!fwhnm02!tmerklin
From: tmerklin@fwhnm02.fwrdc.rtsg.mot.com (Teresa Merklin)
Subject: Problems compiling FileSelectionBox Widget
Message-ID: <1991May17.144227.4363@fwhnm02.fwrdc.rtsg.mot.com>
Reply-To: tmerklin@fwhnm02.fwrdc.rtsg.mot.com.UUCP ()
Organization: Motorola Inc., Ft. Worth, Tx
Date: Fri, 17 May 1991 14:42:27 GMT


I'm attempting to add a File selection box to an application, but
can't get past compiling it without the following error:

ld: Undefined external -
_regcmp
_regex
ld: output file still contains undefined symbols
ld: (Warning) did not generate an output file


I've tried to create it using XmCreateFileSelectionBox, 
XmCreateFileSelectionDialog, and 
XtCreateWidget(xmFileSelectionBoxWidgetClass) and all three ways
give me the same error.

I can comment out that one line of code, and the application compiles.
In addition I have SelectionBox's all over the application that
compile and execute fine, so I'm pretty sure it has something to
do with the use of the File Selection Box.

Has anyone else had this sort of a problem?
-- 
/////////////////////////////////////////////////////////////////////////////
// Teresa Barley Merklin                    / Internet: tmerklin@mot.com   //
// Network Operations and Management        / Internal: TX14/1D            //   
// Fort Worth Research & Development Center / Voice:    (817) 232-6565     //
// Motorola, Inc.                           / Fax:      (817) 232-6081     //
/////////////////////////////////////////////////////////////////////////////
