Install issue -lwrap
David Blacka
davidb at verisignlabs.com
Tue Mar 22 19:13:22 EST 2005
Reid Torosian wrote:
> Alright it was the ./ instead of ../, there were two references to it.
> But now I get a new error:
>
> making all in server
> make[1]: Entering directory `/home/rtorosia/rwhoisd-1.5.9.3/server'
> gcc -o rwhoisd class_directive.o daemon.o deadman.o directive.o
> display.o dump.o exit.o forward.o guardian.o holdconnect.o limit.o
> main.o notify.o referral.o register.o reg_ext.o reg_utils.o
> register_directive.o rwhois_directive.o schema_directive.o security.o
> security_directive.o session.o soa.o sresponse.o sschema.o sslave.o
> ssoa.o sstate.o state.o status.o sxfer.o xfer.o -L../tools/tcpd_wrapper
> -lwrap -L../mkdb -lmkdb -L../common -lrwcommon -L../regexp -lregexp
> -lresolv -lnsl -lcrypt
> ../mkdb/libmkdb.a(index_file.o): In function `generate_index_file_tmpname':
> /home/rtorosia/rwhoisd-1.5.9.3/mkdb/index_file.c:69: the use of `mktemp'
> is dangerous, better use `mkstemp'
> ../mkdb/libmkdb.a(y.tab.o): In function `yyparse':
> /usr/local/share/bison.simple:387: undefined reference to `yylex'
> ../mkdb/libmkdb.a(y.tab.o): In function `parse_query':
> /home/rtorosia/rwhoisd-1.5.9.3/mkdb/./parse.y:264: undefined reference
> to `set_lexstring'
> collect2: ld returned 1 exit status
> make[1]: *** [rwhoisd] Error 1
> make[1]: Leaving directory `/home/rtorosia/rwhoisd-1.5.9.3/server'
> make: *** [binaries] Error 1
Who knew Debian would be so different from other linux distros ;) ?
This problem is baffling me at the moment. set_lexstring should be
defined in ./mkdb/lex.yy.o, which should be a part of libmkdb.
Well, it might not be called lex.yy.o. I think that depends on what
your system uses for lex (flex or whatever).
Do you have the lex.yy.o (or whatever) in libmkdb? You might want to
look at the ./mkdb/Makefile and see what the second item in PARSEOBJS is.
I do not have a working theory as to why you would get this build error,
yet.
--
David Blacka <davidb at verisignlabs.com>
Sr. Engineer VeriSign Applied Research
More information about the Rwhois
mailing list