*BSD News Article 68470


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!lll-winken.llnl.gov!uwm.edu!fnnews.fnal.gov!gw1.att.com!nntphub.cb.att.com!cbgw2.att.com!oucsboss!spam.cs.ohiou.edu!undetermined
From: bfriedma@oucsace.cs.ohiou.edu (Boris A. Friedman)
Subject: HELP: compiling xarchie under netbsd 1.1
X-Nntp-Posting-Host: spam.cs.ohiou.edu
Message-ID: <BFRIEDMA.96May13192355@spam.oucsace.cs.ohiou.edu>
Lines: 28
Sender: postmaster@spam.cs.ohiou.edu
X-Nntp-Posting-Date: Mon May 13 19:23:55 1996
Organization: Ohio University Mathematics Department
Date: Mon, 13 May 1996 23:23:55 GMT

When I try to compile xarchie.2.0.10 under NetBSD 1.1 using gcc 2.4.5
I'm getting the following error message (on the loading stage I mean): 

RegExp.o: Undefined symbol `_compile' referenced from text segment
RegExp.o: Undefined symbol `_advance' referenced from text segment

Obviously this .o file comes from one of the standard libraries that
are appended to the list of obj files for the loader by
Makefile. There is a bunch of them though, and I don't know which one
uses RegExp.o, the less so where those symbols are defined.

The "Problems" file suggests a solution of a similar problem under
Solaris 2.2 by loading this stuff with smth. like libgen.a which is
the library of regular expressions under Solaris. I don't have
anything remotely similar to this library. I grepped on anything I
could assume related to these symbols, and couldn't find any suitable
library. Does there exist a library of regular expressions under
NetBSD? The way my advisor usually suggests to solve problems like
that, is to write two void functions compile() and advance(), load and
wait until the program complains and gives some hints what's wrong:-)
I'll probably do that, but I hoped someone can help me to do this right.

I thought, before I bug the author, I'd try to get some information
from NetBSD experts or someone who had this problem before. Any help
in this area will be appreciated. I really want to have xarchie,
because I ftp a lot, and I like that interface to archie.

Boris.