|
From: soam v. <soa...@gm...> - 2006-04-05 20:54:28
|
On 4/4/06, david.j as <dav...@gm...> wrote: > my system : > CentOS release 4.2 (Final) > 2.6.9-22.0.1.EL i686 athlon i386 GNU/Linux > gcc -c -g -O2 -I. -I. -I./config > -DLOCALEDIR=3D"\"/home/davidj/replaydebugger/insight/share/locale\"" > -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd > -I./../bfd -I./../include -I../intl -I./../intl -D_BSD_SOURCE > -D_XOPEN_SOURCE=3D500 -D_LARGEFILE64_SOURCE -DMI_OUT=3D1 -DGDBTK > -DUI_OUT=3D1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat > -Wparentheses -Wpointer-arith -Wuninitialized restorer.c > restorer.c:8:24: linux/user.h: No such file or directory That's strange. My Ubuntu system with kernel 2.6.10 has a /usr/include/linux/user.h. The file is supposed to come with glibc, perhaps you're missing a glibc-devel or some such package ? > If I give this file the location to linux/user.h, via my kernel header fi= les, > I get > > gcc -c -g -O2 -I. -I. -I./config > -DLOCALEDIR=3D"\"/home/davidj/replaydebugger/insight/share/locale\"" > -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd > -I./../bfd -I./../include -I../intl -I./../intl -D_BSD_SOURCE > -D_XOPEN_SOURCE=3D500 -D_LARGEFILE64_SOURCE -DMI_OUT=3D1 -DGDBTK > -DUI_OUT=3D1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat > -Wparentheses -Wpointer-arith -Wuninitialized restorer.c > -I/usr/src/kernels/2.6.9-22.EL-i686/include/ > In file included from /usr/src/kernels/2.6.9-22.EL-i686/include/asm/page.= h:4, > from /usr/src/kernels/2.6.9-22.EL-i686/include/asm/user.= h:4, > from /usr/src/kernels/2.6.9-22.EL-i686/include/linux/use= r.h:1, > from restorer.c:8: > /usr/src/kernels/2.6.9-22.EL-i686/include/linux/config.h:6:2: #error > including kernel header in userspace; use the glibc headers instead! I guess you need to find the glibc headers, can't use the kernel header. > Is lizard only for kernel 2.4? Any help would greatly be appreciated!! AFAIK lizard has only been tested properly with kernel 2.4. But if I recall correctly it does build on 2.6. Anybody ? regards, Soam Vasani |