View previous topic :: View next topic |
Author |
Message |
hackerError Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/20853098083fb1ea1a1735f.gif)
Joined: 14 Mar 2003 Posts: 342 Location: Reston, VA, USA
|
Posted: Tue Aug 12, 2003 9:23 pm Post subject: proftpd wont build all of a sudden? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jstubbs Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/14229624353f641011329f0.png)
Joined: 05 Jul 2003 Posts: 126 Location: Tokyo
|
Posted: Wed Aug 20, 2003 8:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|