On Mon, 2005-09-26 at 13:54 -0700, DimmerMI (sent by Nabble.com) wrote: > I've been trying to compile an older network monitoring utility called Rover on a NetBSD system, but keep getting errors about re_comp and re_exec. The errors are as follows: > display.o: In function `AddFilter': > display.o(.text+0xd5): undefined reference to `re_comp' > display.o: In function `CountProblem': > display.o(.text+0x66b): undefined reference to `re_comp' > display.o(.text+0x67a): undefined reference to `re_exec' > display.o: In function `FilterProblem': > display.o(.text+0x707): undefined reference to `re_comp' > display.o(.text+0x716): undefined reference to `re_exec' > > If someone can help me figure out these errors that would be great. > > Thanks. > -- > Sent from the gcc - Help forum at Nabble.com: > http://www.nabble.com/GCC-Error-Referencing-re_comp-re_exec-t348240.html#a965007 Just on similar lines , many a time I get these errors with gcc which basically means the library to link has not been mentioned in the command line or Makefile Now My Question is how to find which library to link to when one gets such errors ,is there any command/file..etc. or is google/ asking people/gcc help lists the only answer. or more succinctly in the example above how can Dimmer find out that he needs to link to -lcompat on his box ,rather than asking for help from people who have faced such a problem or just know about it. Digz > **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***