I figured it out. in config/ltmain.sh there are two Parameters (VERSION, TIMESTAP) which control what libtool will be built. in configure.in the AC_DISABLE_SHARED option was turned on. If we comment this out, the PIC code will be compiled.
--- On Tue, 11/10/09, Li Zhao <[email protected]> wrote: > From: Li Zhao <[email protected]> > Subject: [Xorp-hackers] autotool > To: [email protected] > Date: Tuesday, November 10, 2009, 9:27 AM > In xorp build system, "Always use our > own libtool" policy was there. And this libtool > is a little bit old and it seems by default it did not > generate PIC code > so shared libraries were not built. How can I use libtool > on my host machine? > I might figure out this later, but if some one can quickly > point it out, > That would be great. > > > Thanks. > > Li > > > > > _______________________________________________ > Xorp-hackers mailing list > [email protected] > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
