View Single Post
Old 10-04-2011, 12:37 PM   #50
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,699
Karma: 4340186
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623
I'm not sure it's a good idea to mix headers from a different kernel version with the libc headers in /usr/include. The former are for building kernel modules, and the latter for userland programs that link against glibc. If some of the system calls changed between the version of your custom kernel and the version glibc was built against, then you can get problems when those calls are made.

I had a lot of problems when I added a 32-bit building environment to my 64-bit Slackware system. I ended up just installing a 32-bit system under VirtualBox and doing my PBSDK builds there. It's a bit more hassle, but fewer headaches.
rkomar is offline   Reply With Quote