Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mod_php problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
pmarques
n00b
n00b


Joined: 26 Sep 2004
Posts: 4

PostPosted: Thu Oct 07, 2004 1:57 pm    Post subject: emerge mod_php problem Reply with quote

When I try to emerge php_mod I get the following error:

/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol maxposint
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol maxposint
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol auth_md5
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol auth_md5
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol auth_md5
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol auth_md5
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol maxposint
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol maxposint
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol auth_pla
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unknown-linux-gnu/bin/ld: /usr/lib/libc-client.a(osdep.o): gp-relative relocation against dynamic symbol auth_pla
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

!!! ERROR: dev-php/mod_php-4.3.9 failed.
!!! Function php-sapi_src_compile, Line 511, Exitcode 2
!!! compile problem

I am running on a Alpha machine.
and I have installed:
apache-2.0.51-r1
apache-1.3.31-r3
and this is my make.conf
CFLAGS="-mieee -O2 -pipe -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-gtk -gnome -java jpeg apache2 crypt shared readline session postgres snmp imap ldap kerberos ssl xinetd threads qt kde dvd alsa cdr cups"

Does anybody knows what is going on here?
Back to top
View user's profile Send private message
pmarques
n00b
n00b


Joined: 26 Sep 2004
Posts: 4

PostPosted: Tue Oct 12, 2004 2:12 am    Post subject: solution Reply with quote

-fPIC is my friend:

http://www.redhat.com/archives/axp-list/2003-August/msg00050.html
Back to top
View user's profile Send private message
Kloeri
Retired Dev
Retired Dev


Joined: 02 Sep 2002
Posts: 144

PostPosted: Fri Oct 15, 2004 2:51 pm    Post subject: Reply with quote

Why haven't I seen this on http://bugs.gentoo.org? Developers can't fix errors unless they are reported in the proper place which doesn't include forums.g.o or random mailinglists.

Please report errors on http://bugs.gentoo.org in the future.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum