Install issue -lwrap
Reid Torosian
rtorosia at rackspace.com
Wed Mar 23 10:23:33 EST 2005
No lex.yy.o, but I do have lex.yy.c. In /mkdb/Makefile the second item
under PARSEOBJS *was* but ".o", but I had to remove that to get the make
process to even attempt to start.
David Blacka wrote:
> 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.
>
--
Reid Torosian, Project Manager The Managed Hosting Specialist(TM)
Rackspace Managed Hosting <http://www.rackspace.com/>
9725 Datapoint Drive, Suite 100
San Antonio, TX 78229
Email:<rtorosia at rackspace.com> (w)210.447.4483 (f)210.447.4038
More information about the Rwhois
mailing list