IRRd-Discuss
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Historical
Re: Compilation Errors
- From: Gerald Andrew Winters
- Date: Tue Aug 01 15:08:28 2000
Ron,
The error you are reporting should not occur, at least
with the current code. What I think happened is the copy
I sent you had those errors as I am currently developing
a pgp lib of which 'pgp_fingpr' and 'pgp_add' are part of.
What you should do is go to our www site, www.irrd.net/binaries/,
and click on 'Source Code' to get the latest source.
And I think (finally) you should get a clean build. Let me
know if this fixes things for you.
--jerry
>
> Thanks guys for the help. My compilation of IRRd2.0 went a little
> further after installing FLEX.
>
> However encountered the following error, any ideas?
>
> Linking: gcc -L/usr/local/lib lex.yy.o rpsl.tab.o irr_attrs.o prefix.o util.o
> syntax_attrs.o canonical.o hdr_build.o dictionary.o main.o -o irr_check -L../hdr_comm
> -lhdrs -L../pgp -lpgp
> Undefined first referenced
> symbol in file
> pgp_fingerpr syntax_attrs.o
> pgp_add syntax_attrs.o
> ld: fatal: Symbol referencing errors. No output written to irr_check
> *** Error code 1
> make: Fatal error: Command failed for target `irr_check'
> Current working directory /usr/local/pkgs/irrd2.0/src/programs/irr_rpsl_check
> *** Error code 1
> make: Fatal error: Command failed for target `make-programs'
> Current working directory /usr/local/pkgs/irrd2.0/src/programs
> *** Error code 1
> make: Fatal error: Command failed for target `program'
> Current working directory /usr/local/pkgs/irrd2.0/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
>
> --regards
>
> Gerald Andrew Winters wrote:
> >
> >
> > > > Has anyone encountered these types of errors when trying to compile IRRd2.0
> > > > on Solaris. If so, how was it rectified???
> > >
> > > I had problems compiling, but not at that exact spot.
> > >
> > > > cd irr_rpsl_check; make
> > > > /usr/local/bin/bison -v -d rpsl.y
> > > > rpsl.y contains 1 shift/reduce conflict.
> > > > lex rpsl.fl
> > > ^^^
> > >
> > > You might try installing GNU flex and seeing if that helps.
> > >
> > > I've attached a file that contains the configure and make output from
> > > compiling the contents of irrd-1.9-Jul-30.2000.tar.gz. This
> > > compilation was done on a highly customized version of Redhat
> > > 6.1. I've been able to compile and use a previous version of IRRd that
> > > was released in a tarball called irrd2.0.tar.gz and that I downloaded
> > > on Jul 21.
> > >
> > > Jeff
> > >
> >
> > Jeff is correct. You need flex and bison, lex and yacc will not work.
> >
> > I'm sorry for not making this point clear before. However, flex and
> > bison are very easy to build and I should not think you will have
> > any more problems.
> >
> > One thing this discussion points out is that we need to have autoconf
> > tell the user of this dependency during the build phase. I'll make
> > sure this is remedied in the next release.
> >
> > --jerry
>
> --
> *********************************
> Ron Seguin
> IP Engineering
> Bell Nexxia
>
> (613)781-2555 (voice)
> (613)780-1761 (pgr)
> (613)781-1453 (fax)
> ronald.seguin@bellnexxia.com
> *********************************
>
|