[Bonmin] make error -fPIC
Thomas Widmer
thomas.widmer at gameoefter.org
Mon Aug 14 15:47:29 EDT 2006
Hi
Trying to "make" BONMIN I get an error message relating "-fPIC".
Under the output....
**************
Making all in src/Apps
make[2]: Entering directory
`/home/widmer/coin-Bonmin/build/Bonmin/src/Apps'
**************
I get....
**************
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/libgfortranpreview.a(etime.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
**************
I made configure as
>>./../configure CXXFLAGS="$CFLAGS -fPIC -O3" CFLAGS="$CFLAGS -fPIC
-O3" --with-pardiso="/home/widmer/Ipopt-3.0/libpardiso_GNU_AMD64_P.so"
Do you have any suggestions what might be wrong? Unfotunately, I have
seen nowhere what flags exactly I have to set. The configure seemed to
take my cflags and gave a
>> checking if g++ PIC flag -fPIC works... yes
back when referring to that -fPIC thing.
Thanks, Thomas
More information about the Bonmin
mailing list