[Xorp-hackers] Query regarding XRL's

Ashish Karpe ashishkarpe at gmail.com
Fri Feb 16 15:05:02 PST 2007


>
> Did you run ./bootstrap from the top-level XORP directory?
> This will generate Makefile.in from the Makefile.am files.
> Then running ./configure will generate the final Makefile from
> Makefile.in.
     When i make new .tp file then after using ./bootstrap, thn ./configure,
gamke , it works.
but when i tried ./bootstrap (i modified existing .tp file didnt made new
one), tried gmake it worked but when i used ./bootsrap gave me error (in
short ./bootstrap spoiled my scource code coz now gmake fails event after
making gmake clean/distclean) !!
         So is there any way to revert action done by ./bootstrap ?? :)

My installed libtool version is :

  (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

According to Readme required is - libtool version 1.3.4

********************************************************************************
Error Shown :

linux-m4ij:/home/xorp/Desktop/project/bidir-enable/xorp-1.3 # gmake
gmake  all-recursive
gmake[1]: Entering directory `/home/xorp/Desktop/project/bidir-enable/xorp-
1.3'
Making all in libxorp
gmake[2]: Entering directory `/home/xorp/Desktop/project/bidir-enable/xorp-
1.3/libxorp'
gmake  all-am
gmake[3]: Entering directory `/home/xorp/Desktop/project/bidir-enable/xorp-
1.3/libxorp'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I..    -g -W -Wall -Wwrite-strings -Wbad-function-cast
-Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Werror
-Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -pipe -MT
debug.lo -MD -MP -MF ".deps/debug.Tpo" -c -o debug.lo debug.c; \
then mv -f ".deps/debug.Tpo" ".deps/debug.Plo"; else rm -f
".deps/debug.Tpo"; exit 1; fi
libtool: unrecognized option `--tag=CC'
Try `libtool --help' for more information.
gmake[3]: *** [debug.lo] Error 1
gmake[3]: Leaving directory `/home/xorp/Desktop/project/bidir-enable/xorp-
1.3/libxorp'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/xorp/Desktop/project/bidir-enable/xorp-
1.3/libxorp'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/xorp/Desktop/project/bidir-enable/xorp-
1.3'
gmake: *** [all] Error 2
*******************************************************************************


> Note that you must have installed the autoconf/automake/libtool
> tools for ./bootstrap to work.
> Also, see README for the versions of the tools we are using. It is
> best to install exactly same versions, otherwise there is no
> guarantee that it will work.
>
> Regards,
> Pavlin
>


On 2/13/07, Pavlin Radoslavov <pavlin at icir.org> wrote:
> Ashish Karpe <ashishkarpe at gmail.com> wrote:
>
> > Hi all,
> > We want to add a xrl interface for our module(pim bidir).
> > We followed the steps as mentioned in the document "Adding Process To
XORP".
> > We wrote a /xrl/interface/pimbidir.xif
> > and  /xrl/target/pimbidir.tgt
> > also we modified makefiles in each of directory.But files (.cc & .hh)
> > which were suppose to generated by Python Scripts are not genetated.
> > The modifications we did are follows :
> >
> >
> > In File /xrl/interfaces/makefile.am
> >
> > # PIMBIDIR Interface
> > noinst_LTLIBRARIES += libpimbidirxif.la
> > libpimbidirxif_la_SOURCES = pimbidir_xif.hh pimbidir_xif.cc
> >
> > In File /xrl/targets/makefile.am
> > ..
> > ..
> > tgt_files             += pimbidir.tgt
> > ..
> > ..
> > noinst_LTLIBRARIES    += libpimbidirbase.la
> > ..
> > ..
> > # PIMBIDIR
> > libpimbidirbase_la_SOURCES = pimbidir_base.hh pimbidir_base.cc
> > $(srcdir)/pimbidir_base.hh $(srcdir)/pimbidir_base.cc:
> >            \
> >
$(INTERFACES_DIR)/common.xif                            \
> >                 $(INTERFACES_DIR)/cli_processor.xif
\
> >                 $(INTERFACES_DIR)/finder_event_observer.xif
\
> >                 $(INTERFACES_DIR)/mfea_client.xif
\
> >                 $(INTERFACES_DIR)/redist_transaction4.xif
\
> >                 $(INTERFACES_DIR)/redist_transaction6.xif
\
> >                 $(INTERFACES_DIR)/mld6igmp_client.xif
\
> >                 $(INTERFACES_DIR)/pimbidir.xif
> > ..
> > ..
> > ..
> >
> >
> > So will you please let us know what may the problem in generation of
> > .cc & .hh files?
> > Thanking You
> > Ashish
> >
> > _______________________________________________
> > Xorp-hackers mailing list
> > Xorp-hackers at icir.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20070216/61ef8c52/attachment.html 


More information about the Xorp-hackers mailing list