View previous topic :: View next topic |
Author |
Message |
Nem0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2002 Posts: 16
|
Posted: Mon Aug 04, 2003 10:32 am Post subject: Problems emerging devfsd-1.3.25-r4 |
|
|
While compiling devfsd it quit saying:
Code: |
check_kernel.c: In function `check_kernel_version':
check_kernel.c:11: can't find a register in class `BREG' while reloading `asm'
make: *** [check_kernel.o] Error 1
|
The solution seems to be to remove '-fPIC' from your CFLAGS (after that it works fine). More ppl. will probably encounter this, so I thought I could just as well give the solution. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vlad Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 09 Apr 2002 Posts: 264 Location: San Diego, California
|
Posted: Tue Aug 05, 2003 2:55 am Post subject: |
|
|
Thanks - got the above error when compiling avidemux and devfsd. Removing -fPIC from the CFLAGS allowed it to compile properly. Maybe it should be added to the strip-flags of those ebuilds...? Guess I'll file a bug report.
-Note-
Bug report filed:
https://bugs.gentoo.org/show_bug.cgi?id=25926 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crazy-bee Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/19611228043e7d988f7be34.gif)
Joined: 03 Jan 2003 Posts: 170
|
Posted: Mon Oct 20, 2003 8:42 am Post subject: |
|
|
That thread saved my day! Same problem exists with modutils and module-init-tools. Removing -fpic and modutils compiles fine! Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|