Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems emerging devfsd-1.3.25-r4
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
Nem0
n00b
n00b


Joined: 10 Nov 2002
Posts: 16

PostPosted: Mon Aug 04, 2003 10:32 am    Post subject: Problems emerging devfsd-1.3.25-r4 Reply with quote

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. :)
Back to top
View user's profile Send private message
Vlad
Apprentice
Apprentice


Joined: 09 Apr 2002
Posts: 264
Location: San Diego, California

PostPosted: Tue Aug 05, 2003 2:55 am    Post subject: Reply with quote

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
View user's profile Send private message
crazy-bee
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 170

PostPosted: Mon Oct 20, 2003 8:42 am    Post subject: Reply with quote

That thread saved my day! Same problem exists with modutils and module-init-tools. Removing -fpic and modutils compiles fine! Thanks!
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