The configure command have two options: --enable-shared and --with-pic I have tried --with-pic in a i386 arch and the shared libraries didn't have code without -fPIC. The xorp-user mailing list suggested to use "--enable-shared" for what seams to be the same problem [1], with an older version compiling in FreeBSD.
So I sent to the same mailing-list a question about the differences of
the two options.
Looking inside configure command the differences are real, but minimal
for a Linux system. So in the end could be better adding option
"--with-pic" to the configure command than adding -fPIC to the
compiler options.
Jose Calhariz
[1] http://mailman.icsi.berkeley.edu/pipermail/xorp-users/2007-March/001726.html
--
--
Aqueles que bebem pra esquecer favor pagar adiantado
signature.asc
Description: Digital signature

