Thread (2 messages) 2 messages, 1 author, 2014-08-26

a question on linux header extraction

From: Chan Kim <hidden>
Date: 2014-08-26 00:41:50


Sadly there was no response to my previous email but I send this in the hope it be of any help to anyone like me.
This problem was solved the other day and the main problem was I had a varaible _KERNEL_ defined for busybox building (from misunderstanding).
So when I replace the kernel header (from the compiler's standard include path) it works just fine without rebuilding glibc. 
Chan



?? ?? : "Chan Kim" [off-list ref]
?? ?? : 2014-08-20 11:36:29 ( +09:00 )
?? ?? : kernelnewbies at kernelnewbies.org [off-list ref]
?? : 
?? : a question on linux header extraction

Hello,

I'm using linux3.3 and recently while building busybox for a new command, found the BB uses linux kernel headers.
So I looked up the internet and did 'make headers_install ARCH=.. CROSS_COMPILE=.. INSTALL_HDR_PATH=..'.
Then I used the new header files instead of files under sparc-snake-linux/sys-include.
But I had to copy over some missing files from the sys-include to the new header directories and had to copy some missiong definitions from the sys-include files to the corresponing file in the new header files.
Is this what I am supposed to do? (why are there some missing files? Doesn't it work well for versions later than 2.6?) 
And do I have to build the glibc again with this new header files? (I'm using glibc for busybox)
any help would be deeply appreciated.

Thanks
Chan
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help