Project

General

Profile

Actions

Bug #1801

closed

Error on mod_indexfile.so

Added by jotremar about 16 years ago. Updated almost 16 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
mod_indexfile
Target version:
ASK QUESTIONS IN Forums:

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.

Actions #1

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.

Actions #2

Updated by jotremar about 16 years ago

  • Target version set to 1.4.20

Sorry, version 1.4.20

Actions #3

Updated by stbuehler about 16 years ago

  • Target version changed from 1.4.20 to 1.4.21
Actions #4

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.

Actions #5

Updated by stbuehler almost 16 years ago

  • Status changed from Need Feedback to Missing Feedback
Actions

Also available in: Atom