Bug #1801
closedError on mod_indexfile.so
Description
When i try to run lighttpd, i have this error:
Can't modify /usr/lib/lighttpd/mod_indexfile.so's text section. Use GCC option -fPIC for shared objects, please.
Compiled with buildroot for sh4.
Updated by jotremar about 16 years ago
I use: CC="sh4-linux-gcc --static -fPIC" ./configure -host=sh4-linux --prefix=/root/web/ --disable-ipv6 --without-bzip2 --disable-lfs --without-zlib --without-kerberos5 --without-ldap --with-pic
and: CC="sh4-linux-gcc --static" ./configure -host=sh4-linux --prefix=/root/web/ --disable-ipv6 --without-bzip2 --disable-lfs
both have this error.
Updated by stbuehler about 16 years ago
- Target version changed from 1.4.20 to 1.4.21
Updated by stbuehler almost 16 years ago
- Status changed from New to Need Feedback
I don't think we can help you there, maybe your gcc is broken. If you can provide a patch we may consider including it.
You could start with verifying that the "-fPIC" option is really used.
Updated by stbuehler almost 16 years ago
- Status changed from Need Feedback to Missing Feedback
Also available in: Atom