Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78611 - decnet compilation fails in gentoo-sources-2.4.28-r5
Summary: decnet compilation fails in gentoo-sources-2.4.28-r5
Status: RESOLVED DUPLICATE of bug 77181
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 19:23 UTC by Michael Stewart (vericgar) (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
.config (.config,36.53 KB, text/plain)
2005-01-18 19:25 UTC, Michael Stewart (vericgar) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-01-18 19:23:39 UTC
The decnet drives fails to compile correctly. The workaround is easy, disable it since I don't need it.

Reproducible: Always
Steps to Reproduce:
1. emerge gentoo-sources-2.4.28-r5
2. genkernel --config=<config file I'm attaching> all



Actual Results:  
[...snip...]

gcc -D__KERNEL__ -I/usr/src/linux-2.4.28-gentoo-r5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=athlon  -DMODULE  -nostdinc -iwithprefix
include -DKBUILD_BASENAME=dn_neigh  -c -o dn_neigh.o dn_neigh.c
dn_neigh.c:584: error: `THIS_MODULE' undeclared here (not in a function)
dn_neigh.c:584: error: initializer element is not constant
dn_neigh.c:584: error: (near initialization for `dn_neigh_seq_fops.owner')
make[2]: *** [dn_neigh.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.28-gentoo-r5/net/decnet'
make[1]: *** [_modsubdir_decnet] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.28-gentoo-r5/net'
make: *** [_mod_net] Error 2

[...snip...]

* ERROR: Failed to compile the "modules" target...


Expected Results:  
Modules to compile correctly.

Portage 2.0.51-r13 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.25-gentoo i686)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4 [2.3.4 (#1,
Jan 14 2005, 04:43:44)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r1, 2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.19, 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo
http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org http://lug.mtu.edu/gentoo/
http://gentoo.llarian.net/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/portage/distfiles/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage
/home/vericgar/portage-overlay/cvs-tree/gentoo-x86
/home/vericgar/portage-overlay/work-tree"
SYNC="rsync://10.0.1.5/gentoo-portage"
USE="X apm autofs avi berkdb bitmap-fonts cdr crypt cscope cups curl dga
directfb dvd encode f77 fbcon flac flash font-server foomaticdb gatos gd gdbm
ggi gif gpm gtk gtk2 guile imagemagick imap imlib innodb ipv6 java jikes jpeg
junit ldap libwww mad maildir mcal md5sum mikmod mmx mpeg mpi mysql ncurses oav
offensive oggvorbis opengl openssh oss pam pdflib perl php png ppds python
quicktime rage128 readline ruby samba scanner sdl skey slang snmp spell sqlite
sse ssl svga tcltk tcpd tetex tiff transcode truetype truetype-fonts type1-fonts
usb v4l videos vim-with-x wxwindows x86 xinerama xml xml2 xmms xosd xv xvid zlib"
Unset:  LDFLAGS
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-01-18 19:25:17 UTC
Created attachment 48916 [details]
.config
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-01-19 07:43:42 UTC

*** This bug has been marked as a duplicate of 77181 ***
Comment 3 Germán Salazar 2005-02-19 18:52:23 UTC
Well, this one and 77181 are all too familiar.  The exact same thing is happening to me, except that the solution proposed here does not solve my problem...I still get it.

I started to download and install gentoo (it turned out 2.4.28-gentoo-r6)several nights agr, and after getting the error message I came here, downloaded the config file and proceeded as indicated. Except that my genkernel command does not have a "--config" option, so, instead, 
I am using "--kernel-config".

Please, help, I would appreciate further advice.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-02-20 03:31:14 UTC
It's fixed in -r7; please try that.