|
From: Hannibal <spa...@go...> - 2004-09-05 23:52:49
|
Hi
I have this configure warning:
checking linux/fb.h usability... no
checking linux/fb.h presence... yes
configure: WARNING: linux/fb.h: present but cannot be compiled
configure: WARNING: linux/fb.h: check for missing prerequisite headers?
configure: WARNING: linux/fb.h: see the Autoconf documentation
configure: WARNING: linux/fb.h: section "Present But Cannot Be Compiled"
configure: WARNING: linux/fb.h: proceeding with the preprocessor's result
configure: WARNING: linux/fb.h: in the future, the compiler will take=20
precedence
configure: WARNING: ## ------------------------------------------------=
=2D--=20
##
configure: WARNING: ## Report this to val...@li...urceforge.=
net=20
##
configure: WARNING: ## ------------------------------------------------=
=2D--=20
##
checking for linux/fb.h... yes
Probably I will be ignore it, but I have also compilation problems:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include=
=20
=2DI./x86 -DVG_LIBDIR=3D"\"/usr/local/lib/valgrind"\" -DKICKSTART_BASE=3D0x=
b0000000 =20
=2DWinline -Wall -Wshadow -O -fno-omit-frame-pointer=20
=2Dmpreferred-stack-boundary=3D2 -g -DELFSZ=3D32 -MT vg_syscalls.o -MD -MP=
-MF=20
".deps/vg_syscalls.Tpo" -c -o vg_syscalls.o vg_syscalls.c; \
then mv -f ".deps/vg_syscalls.Tpo" ".deps/vg_syscalls.Po"; else rm -f=20
".deps/vg_syscalls.Tpo"; exit 1; fi
In file included from /usr/include/linux/msg.h:5,
from vg_unsafe.h:56,
from vg_syscalls.c:35:
/usr/include/linux/list.h:700:2: warning: #warning "don't include kernel=20
headers in userspace"
In file included from /usr/include/linux/fs.h:19,
from vg_unsafe.h:68,
from vg_syscalls.c:35:
/usr/include/linux/prio_tree.h:22: error: parse error before "pgoff_t"
/usr/include/linux/prio_tree.h:27: error: parse error before "pgoff_t"
/usr/include/linux/prio_tree.h: In function `prio_tree_iter_init':
/usr/include/linux/prio_tree.h:29: error: `iter' undeclared (first use in t=
his=20
function)
/usr/include/linux/prio_tree.h:29: error: (Each undeclared identifier is=20
reported only once
/usr/include/linux/prio_tree.h:29: error: for each function it appears in.)
/usr/include/linux/prio_tree.h:29: error: `root' undeclared (first use in t=
his=20
function)
/usr/include/linux/prio_tree.h:30: error: `r_index' undeclared (first use i=
n=20
this function)
In file included from vg_unsafe.h:70,
from vg_syscalls.c:35:
/usr/include/linux/fb.h: At top level:
/usr/include/linux/fb.h:286: error: field `modelist' has incomplete type
In file included from /usr/include/linux/mii.h:12,
from vg_unsafe.h:76,
from vg_syscalls.c:35:
/usr/include/linux/if.h:95: error: redefinition of `struct ifmap'
/usr/include/linux/if.h:131: error: redefinition of `struct ifreq'
/usr/include/linux/if.h:181: error: redefinition of `struct ifconf'
make[4]: *** [vg_syscalls.o] B=B3=B1d 1
make[4]: Leaving directory `/source/valgrind-2.2.0/coregrind'
The first error is caused by missing definiton of pgoff_t. This type is=20
#defined in linux/types.h but adding it into vg_unsafe.h dosn't help.
The second error - redefinition was already reported. I found it in group=20
archive.
I waitng for patches :P
I almost forgotten, I have Slackware-current, gcc-3.3.4, glibc-2.3.2 and =20
kernel-2.6.9-rc1.
=2D-=20
Hannibal
|