Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
proftpd wont build all of a sudden?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hackerError
Guru
Guru


Joined: 14 Mar 2003
Posts: 342
Location: Reston, VA, USA

PostPosted: Tue Aug 12, 2003 9:23 pm    Post subject: proftpd wont build all of a sudden? Reply with quote

gcc -mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer -fPIC -Wall -c cap_text.c -o cap_text.o
gcc -mcpu=athlon-mp -O3 -pipe -fomit-frame-pointer -fPIC -Wall -c cap_sys.c -o cap_sys.o
cap_sys.c: In function `capget':
cap_sys.c:14: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [cap_sys.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.9_rc1/work/proftpd-1.2.9rc1/lib/libcap'
make: *** [dirs] Error 2

!!! ERROR: net-ftp/proftpd-1.2.9_rc1 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! compile problem
_________________
Before you insult someone, it is often best to walk a mile in their shoes.

That way when you insult them you're already a mile away and have their shoes.
Back to top
View user's profile Send private message
jstubbs
Retired Dev
Retired Dev


Joined: 05 Jul 2003
Posts: 126
Location: Tokyo

PostPosted: Wed Aug 20, 2003 8:17 am    Post subject: Reply with quote

Hey there,

I got exactly the same error that you got except that I was compiling libcap. The source and object files were even the same. Anyway, I compared your CFLAGS to mine and found that the only questionable one that we both used was -fPIC. I removed it from mine, tried compiling again and it worked no problem.

Regards,
Jason
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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