FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-31-2009, 02:54 PM
Harry Putnam
 
Default hwinfo build error

Trying to emerge hwinfo I get the error output inlined below.
I see a list of warnings about undeclared this and that coming from
the src files but not sure what it means.

Anyone here that can recognize what the problem is?

(tail of output)

[...]

DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -I. -Ix86emu -Iinclude sys.c
a - x86emu_debug.o
a - x86emu_decode.o
a - x86emu_fpu.o
a - x86emu_ops.o
a - x86emu_ops2.o
a - x86emu_prim_ops.o
a - x86emu_sys.o
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/x86emu'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[2]: Entering directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd emu_vm86.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd i10_int.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd i10_io.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd i10_pci.c
gcc -c -O2 -Wall -pipe -g -fPIC -O2 -march=i686 -pipe -I../../src/hd -fno-strict-aliasing i10_v86.c
i10_v86.c: In function 'setup_vm86':
i10_v86.c:104: error: 'VIF_MASK' undeclared (first use in this function)
i10_v86.c:104: error: (Each undeclared identifier is reported only once
i10_v86.c:104: error: for each function it appears in.)
i10_v86.c:104: error: 'VIP_MASK' undeclared (first use in this function)
i10_v86.c: In function 'run_bios_int':
i10_v86.c:474: error: 'VIF_MASK' undeclared (first use in this function)
i10_v86.c:475: error: 'IF_MASK' undeclared (first use in this function)
i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
make[2]: *** [i10_v86.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src/int10'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hwinfo-14.19/work/hwinfo-14.19/src'
make: *** [subdirs] Error 2
*
* ERROR: sys-apps/hwinfo-14.19 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2108: Called die
* The specific snippet of code:
* emake -j1 EXTRA_FLAGS="${CFLAGS}" || die "emake failed"
* The die message:
* emake failed
 
Old 01-31-2009, 07:07 PM
Willie Wong
 
Default hwinfo build error

On Sat, Jan 31, 2009 at 09:54:04AM -0600, Penguin Lover Harry Putnam squawked:
> i10_v86.c:104: error: 'VIF_MASK' undeclared (first use in this function)
> i10_v86.c:104: error: (Each undeclared identifier is reported only once
> i10_v86.c:104: error: for each function it appears in.)
> i10_v86.c:104: error: 'VIP_MASK' undeclared (first use in this function)
> i10_v86.c: In function 'run_bios_int':
> i10_v86.c:474: error: 'VIF_MASK' undeclared (first use in this function)
> i10_v86.c:475: error: 'IF_MASK' undeclared (first use in this function)
> i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
> i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)

see bug 236449 on b.g.o.

recent kernel headers renamed some things and breaks the code.

a patched ebuild is available.

W
--
What do you call a fly with no wings?
A walk.
Sortir en Pantoufles: up 785 days, 18:48
 
Old 01-31-2009, 07:12 PM
Harry Putnam
 
Default hwinfo build error

Willie Wong <wwong@Princeton.EDU> writes:

>> i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
>> i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
>
> see bug 236449 on b.g.o.
>
> recent kernel headers renamed some things and breaks the code.
>
> a patched ebuild is available.

I'm not sure where to look for such a thing. I'm running `~86' and that
apparently wasn't enough to catch it

Oh... I liked you sig a lot
--
What do you call a fly with no wings?
a drag
 
Old 01-31-2009, 10:03 PM
Willie Wong
 
Default hwinfo build error

On Sat, Jan 31, 2009 at 02:12:46PM -0600, Penguin Lover Harry Putnam squawked:
> Willie Wong <wwong@Princeton.EDU> writes:
>
> >> i10_v86.c:486: error: 'TF_MASK' undeclared (first use in this function)
> >> i10_v86.c:486: error: 'NT_MASK' undeclared (first use in this function)
> >
> > see bug 236449 on b.g.o.
> >
> > recent kernel headers renamed some things and breaks the code.
> >
> > a patched ebuild is available.
>
> I'm not sure where to look for such a thing. I'm running `~86' and that
> apparently wasn't enough to catch it

b.g.o. = bugs.gentoo.org
Here's a direct link http://bugs.gentoo.org/show_bug.cgi?id=236449

Unfortunately downgrading to x86 versions of hwinfo won't help here,
the problem is that your kernel headers are too new. If you don't feel
comfortable maintaining a new overlay, I think if you wait a bit the
new ebuild should get in the tree in a few days.

W
--
What is the meaning of Life?

To search for truth and beauty.
To ask questions.
To find the answer to this question
To rigorously mathematically prove by epislon-delta treatment that this
question has no answer. Proof? For all oranges greater than zero, there exists
a banana such that for all fruits tastier than the banana, an orange sweeter
than a banana implies the orange is yellow. So by the Jedi-Schwartz Inequality,
all oranges are not orange. This leads to an obvious contradiction.

It's too bad life is a departmental requirement, otherwise I'd P/D/F it.

~Phil Wei
Sortir en Pantoufles: up 785 days, 21:35
 

Thread Tools




All times are GMT. The time now is 09:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org