Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156811 - net-tools-1.60-r12 ethercard-diag fails to build. undefined ref inb,outb
Summary: net-tools-1.60-r12 ethercard-diag fails to build. undefined ref inb,outb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: sh Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/ml/libc-alpha/2...
Whiteboard:
Keywords:
: 156812 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-01 07:49 UTC by solar (RETIRED)
Modified: 2006-12-02 22:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2006-12-01 07:49:00 UTC
On the lantank we see the following error when merging net-tools.

libflash.c:(.text+0x7c4): undefined reference to `inb'
libflash.c:(.text+0x93c): undefined reference to `outl'
libflash.c:(.text+0x940): undefined reference to `inb'
libflash.c:(.text+0xb18): undefined reference to `outl'
libflash.c:(.text+0xb1c): undefined reference to `outb'
libflash.c:(.text+0xb40): undefined reference to `inb'
libflash.o: In function `do_cmd':
libflash.c:(.text+0xbf8): undefined reference to `outl'
libflash.c:(.text+0xbfc): undefined reference to `outb'
collect2: ld returned 1 exit status
make[1]: *** [ne2k-pci-diag] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-tools-1.60-r12/work/net-tools-1.60/ethe
rcard-diag/pub/diag'
make: *** [most] Error 2
make: Leaving directory `/var/tmp/portage/net-tools-1.60-r12/work/net-tools-1.60/etherca
rd-diag'

!!! ERROR: sys-apps/net-tools-1.60-r12 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  net-tools-1.60-r12.ebuild, line 56:   Called die

!!! emake ethercard-diag failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-01 09:53:16 UTC
*** Bug 156812 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2006-12-02 19:04:24 UTC
superh wrongly includes sys/io.h i think ... that's how net-tools knows whether to build those binaries
Comment 3 SpanKY gentoo-dev 2006-12-02 22:41:27 UTC
glibc no longer installs sys/io.h for superh