Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!gibdo!slh From: slh@gibdo.engr.washington.edu Newsgroups: comp.windows.x.motif Subject: Re: Problems compiling FileSelectionBox Widget Message-ID: <1991May22.021015.3427@gibdo.engr.washington.edu> Date: 22 May 91 02:18:22 GMT References: <1991May17.144227.4363@fwhnm02.fwrdc.rtsg.mot.com> <1991May21.040742.4569@gibdo.engr.washington.edu> <1991May21.151752.29000@thyme.jpl.nasa.gov> Sender: news@milton.u.washington.edu (News) Reply-To: slh@gibdo.engr.washington.edu (PUT MY NAME HERE) Organization: zippity Lines: 23 In article <1991May21.151752.29000@thyme.jpl.nasa.gov> kaleb@thyme.jpl.nasa.gov (Kaleb Keithley) writes: |In article slh@gibdo.engr.washington.edu writes: |>In article tmerklin@fwhnm02.fwrdc.rtsg.mot.com.UUCP () writes: |>| |>|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 |>| |> Semi-obviously you're missing a library; |> you don't give the compile/link command, but I believe |> you are missing -lPW on it. | |Perhaps it's not as semi-obvious as you think. All the world's not SysV. No, an unresolved external caused by a missing library or object module is exactly what's wrong. There may not be a library to link with to fix it, and there may be other things to fix the root cause but that is the problem with the link described above.