public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  hwinfo build error
@ 2009-01-31 15:54 Harry Putnam
  2009-01-31 20:07 ` Willie Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 2009-01-31 15:54 UTC (permalink / raw
  To: gentoo-user

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user]  hwinfo build error
  2009-01-31 15:54 [gentoo-user] hwinfo build error Harry Putnam
@ 2009-01-31 20:07 ` Willie Wong
  2009-01-31 20:12   ` [gentoo-user] " Harry Putnam
  0 siblings, 1 reply; 4+ messages in thread
From: Willie Wong @ 2009-01-31 20:07 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: hwinfo build error
  2009-01-31 20:07 ` Willie Wong
@ 2009-01-31 20:12   ` Harry Putnam
  2009-01-31 23:03     ` Willie Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 2009-01-31 20:12 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user]  Re: hwinfo build error
  2009-01-31 20:12   ` [gentoo-user] " Harry Putnam
@ 2009-01-31 23:03     ` Willie Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Willie Wong @ 2009-01-31 23:03 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-31 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31 15:54 [gentoo-user] hwinfo build error Harry Putnam
2009-01-31 20:07 ` Willie Wong
2009-01-31 20:12   ` [gentoo-user] " Harry Putnam
2009-01-31 23:03     ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox