Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48200 - win4lin-sources-2.4.25-r1 do not compile
Summary: win4lin-sources-2.4.25-r1 do not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-18 04:03 UTC by Antonio
Modified: 2004-06-01 10:49 UTC (History)
1 user (show)

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


Attachments
My .config (.config,29.82 KB, text/plain)
2004-04-18 04:05 UTC, Antonio
Details
win4lin-sources-2.4.26.ebuild (win4lin-sources-2.4.26.ebuild,1.13 KB, text/plain)
2004-05-04 08:50 UTC, MAL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-04-18 04:03:45 UTC
I have emerge new kernel win4lin-sources-2.4.25-r1 but not compile!
This is error:

..............
...............
make[1]: Leaving directory `/usr/src/linux-2.4.25-win4lin-r1/crypto'
make -C  arch/i386/mki-adapter CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.25-win4lin-r1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.25-win4lin-r1/arch/i386/mki-adapter'
gcc -I. -I/usr/src/linux-2.4.25-win4lin-r1/include -D__KERNEL__ -I/usr/src/linux-2.4.25-win4lin-r1/include -Wall  -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -D__SMP__ -DMODULE -c mki24.c -o mki.o
mki24.c: In function `mkia_free_ldt':
mki24.c:270: error: structure has no member named `segments'
mki24.c: In function `mkia_alloc_ldt':
mki24.c:445: error: structure has no member named `segments'
mki24.c: In function `mkia_set_gdt_entry':
mki24.c:812: error: structure has no member named `segments'
mki24.c: In function `mkia_set_ldt_entry':
mki24.c:829: error: structure has no member named `segments'
mki24.c:831: error: structure has no member named `segments'
mki24.c:834: error: structure has no member named `segments'
mki24.c: In function `mkia_getparm':
mki24.c:953: error: structure has no member named `segments'
mki24.c: In function `mkia_set_private_ldt':
mki24.c:1114: error: structure has no member named `segments'
mki24.c:1126: error: structure has no member named `segments'
mki24.c:1140: error: structure has no member named `segments'
make[1]: *** [mki.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.25-win4lin-r1/arch/i386/mki-adapter'
make: *** [_mod_arch/i386/mki-adapter] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Antonio 2004-04-18 04:04:35 UTC
This is my emerge info:

emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib acl acpi acpi4linux afs alsa apache2 apm arts autofs avi berkdb bonobo cddb cdr clamav crypt cups curl dillo doc dv dvb dvd dvdr encode esd evms2 faad fam ffmpeg flac foomaticdb gd gdbm ggi gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jabber java javascript jpeg kde ldirectord libdsk libg++ libgda libwww mad mbox mikmod mmx motif mozilla mpeg mpeg4 mysql nas ncurses net nls nvidia oav odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff transcode truetype type1 usb v4l virus-scan x86 xfs xine xml2 xmms xv zlib"
Comment 2 Antonio 2004-04-18 04:05:20 UTC
Created attachment 29547 [details]
My .config

This is my .config
Comment 3 lettieri 2004-04-18 08:44:46 UTC
I am seeing the same errors for win4lin-sources-2.4.25-r2
Comment 4 MAL 2004-05-04 02:41:32 UTC
I see the same thing with -r2.  Could it be the 3 patches applied after mki-adapter?

I'll build a win4lin-sources-2.4.26 ebuild without them (are they needed any more?).
Comment 5 MAL 2004-05-04 08:38:07 UTC
I got the same problem compiling 2.4.26, after having extracted sources by hand and patched by hand, using mki-adapter.patch from /usr/portage/distfiles

I then re-downloaded the mki-adapter patch and diff'd it to the one in /usr/portage/distfiles

Lo and behold it was different.  I repatched and recompiled with the newly downloaded mki-adapter and all is fine.

So to people having this problem, delete /usr/portage/distfiles/mki-adapter.patch and let emerge redownload it.

To the dev maintaining this, shouldn't the ebuild check the md5 sum of the patch?  Could it be that you had an old version of mki-adapter when you created the digest?
Comment 6 MAL 2004-05-04 08:50:37 UTC
Created attachment 30714 [details]
win4lin-sources-2.4.26.ebuild

To whoever creates the digest for this, I think it's worth redownloading the
mki-adapter.patch file before doing so.
Comment 7 MAL 2004-05-04 08:59:46 UTC
Sorry, should have linked to another bug.

See bug #49976 for the 2.4.26 ebuild.
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2004-06-01 10:49:23 UTC
I've added in 2.4.26 now which shouldn't have this issue; it should reach the Portage tree within an hour. If the ebuild complains about a digest mismatch then fetch a fresh patch from http://www.netraverse.com/member/downloads/files/mki-adapter.patch. Thanks!