|
From: Canann, M. <mic...@pr...> - 2004-08-18 22:03:00
|
any idea how to fix the following configure warning messages?
checking linux/mii.h usability... no
checking linux/mii.h presence... yes
configure: WARNING: linux/mii.h: present but cannot be compiled
configure: WARNING: linux/mii.h: check for missing prerequisite =
headers?
configure: WARNING: linux/mii.h: see the Autoconf documentation
configure: WARNING: linux/mii.h: section "Present But Cannot Be =
Compiled"
configure: WARNING: linux/mii.h: proceeding with the preprocessor's =
result
configure: WARNING: linux/mii.h: in the future, the compiler will take =
precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for linux/mii.h... yes
And after ignoring the config warnings, make fails with the following =
message:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include =
-I../include -I./x86 -DVG_LIBDIR=3D"\"/usr/local/lib/valgrind"\" =
-Winline -Wall -Wshadow -O -fno-omit-frame-pointer =
-mpreferred-stack-boundary=3D2 -g -DELFSZ=3D32 -MT vg_syscalls.o -MD =
-MP -MF ".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 =
".deps/vg_syscalls.Tpo"; exit 1; fi
In file included from /usr/include/linux/timex.h:152,
from vg_unsafe.h:65,
from vg_syscalls.c:35:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
make[4]: *** [vg_syscalls.o] Error 1
more info:
> uname -a
Linux vox2 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686 unknown
--
Michael
|
|
From: Tom H. <th...@cy...> - 2004-08-18 22:52:52
|
In message <B93...@ex...>
"Canann, Michael" <mic...@pr...> wrote:
> any idea how to fix the following configure warning messages?
>
> checking linux/mii.h usability... no
> checking linux/mii.h presence... yes
> configure: WARNING: linux/mii.h: present but cannot be compiled
> configure: WARNING: linux/mii.h: check for missing prerequisite headers?
> configure: WARNING: linux/mii.h: see the Autoconf documentation
> configure: WARNING: linux/mii.h: section "Present But Cannot Be Compiled"
> configure: WARNING: linux/mii.h: proceeding with the preprocessor's result
> configure: WARNING: linux/mii.h: in the future, the compiler will take precedence
> configure: WARNING: ## ------------------------------------------ ##
> configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
> configure: WARNING: ## ------------------------------------------ ##
> checking for linux/mii.h... yes
You don't need to fix them, there is no problem. We take care to work
around that broken header.
> And after ignoring the config warnings, make fails with the following message:
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I../include -I./x86 -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT vg_syscalls.o -MD -MP -MF ".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 ".deps/vg_syscalls.Tpo"; exit 1; fi
> In file included from /usr/include/linux/timex.h:152,
> from vg_unsafe.h:65,
> from vg_syscalls.c:35:
> /usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
> make[4]: *** [vg_syscalls.o] Error 1
But timex.h |= mii.h and asm.h != mii.h so there is little connection.
The problem you have is a broken timex.h header file - there is a comment
at the top which is missing the /* at the start.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|