public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: DimmerMI <dradde@charter.net>
Cc: gcc-help@gcc.gnu.org
Subject: Re: GCC Error Referencing re_comp & re_exec
Date: Tue, 27 Sep 2005 22:21:00 -0000	[thread overview]
Message-ID: <m3vf0m5ezi.fsf@gossamer.airs.com> (raw)
In-Reply-To: <965007.post@talk.nabble.com>

"DimmerMI \(sent by Nabble.com\)" <lists@nabble.com> writes:

> 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.

On NetBSD you need to link with -lcompat to pick up those functions.

See 'man re_comp'.

Ian

  reply	other threads:[~2005-09-27 22:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 22:13 DimmerMI (sent by Nabble.com)
2005-09-27 22:21 ` Ian Lance Taylor [this message]
2005-09-28  3:05 ` Digvijoy Chatterjee
2005-09-28  3:20   ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3vf0m5ezi.fsf@gossamer.airs.com \
    --to=ian@airs.com \
    --cc=dradde@charter.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).