Re: [WOLK-devel] Compile errors with 4.2s
Brought to you by:
hight0wer
|
From: <jo...@fa...> - 2003-06-24 18:49:19
|
Hi, Thanks for your insight. But I still can't compile any version of wolk 4. I got rid of the symlinks in /usr/include and copied the actual kernel-headers (as suggested in: http://www.njlug.org/LFS/book/chapter05/kernel.html), but I still get errors referring to aes.c: gcc -Wall -O6 -fomit-frame-pointer -funroll-all-loops -c aes.c In file included from /usr/include/linux/string.h:25, from aes.c:35: /usr/include/asm/string.h:47: parse error before `size_t' /usr/include/asm/string.h: In function `strncpy': /usr/include/asm/string.h:61: `src' undeclared (first use in this functi= on) /usr/include/asm/string.h:61: (Each undeclared identifier is reported only once /usr/include/asm/string.h:61: for each function it appears in.) /usr/include/asm/string.h:61: `dest' undeclared (first use in this funct= ion) /usr/include/asm/string.h:61: `count' undeclared (first use in this function) /usr/include/asm/string.h:63: warning: control reaches end of non-void function This is funny, since I *THOUGHT* I knew what was going on!! I've always compiled my own kernels using the lastest stable releases and never had a problem. Any ideas as to why string.h gets included from the /usr/include tree? Thanks again, Jo=E3o KORN Andras wrote: > On Tue, Jun 24, 2003 at 09:50:34AM -0300, Jo?o Neves wrote: > > Hi, > > >>Aren't includes from /usr/include/asm (which is a symlink to >>/usr/src/linux/include/asm) always used in a kernel build? > > > [I assume you sent this to me in private by mistake, not on purpose; > therefore, I'm replying to the list.] > > /usr/include/asm should no longer be a symlink to /usr/src/linux/inclu= de/asm > (or vice versa). This has been the case since around the release of > glibc2.1, I believe. > > AFAIK, the userspace includes from /usr/include do not really enter th= e > picture while the kernel is being compiled. > > Andrew > -- ------------------------------------------- Jo=E3o Neves jo...@fa... Fabrica de Ideias SBS - Ed. Empire Center - bl. S - Cobertura 1 cep 70070-904 - Brasilia - DF - Brasil tel: (61) 321 1357 fax: (61) 223 1712 ------------------------------------------- |