2.5.1-pre2: ipv6 module compile fails
-----BEGIN PGP SIGNED MESSAGE-----
browsing through the archives i notice others are having problems with 2.5.1-pre2. here are my results:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.5.0/include/linux/modversions.h -c -o ndisc.o ndisc.c
{standard input}: Assembler messages:
{standard input}:821: Error: bad register name %edxadcl 4(%ebp)' {standard input}:1024: Error: bad register name %ecxadcl 4(%edx)' {standard input}:1186: Error: bad register name %ecxadcl 4(%edx)' {standard input}:2272: Error: bad register name %ecxadcl 4(%esi)' make[2]: *** [ndisc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.0/net/ipv6' make[1]: *** [_modsubdir_ipv6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.0/net'
make: *** [_mod_net] Error 2
patch was applied as bzip2 -dc patch-2.5.1-pre2.bz2| patch -p0 to a clean 2.5.0 tree.
root@wolf:/usr/src/linux# cc -v Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs gcc version 2.95.3 20010315 (release)
i am not subscribed to the list but i read the archives on marc.theaimsgroup.com frequently.
thanks!
- --
Duane Toler - [email protected] Springboard Managed Hosting
Cisco Certified Network Associate (CCNA) Checkpoint Certified Security Administrator (CCSA) Certified Linux Administrator
PGP key available upon request
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQEVAwUBPAQSVoLwy5I5v/BTAQENjAf/fsYFb2QW+S6fpX8WtKCS8VuCu2g0HTjK Q5n7RBgIgYhF1k8zDhIuxl7imWdMxsqVnq12htK4Lp0dvFfCcpp4fCwuSNMcb5CM unpFMWmdIlP1aC1jhSKaiBL9jadTbYpm2igrtB1SONFh6t5WLMRbC9I4IyLPHMsY ekJUzcZbXYWcWUcM/9WQKQNlQPPsar2Bs07wafDl6nclYvtVqeiWkG7eMBZxdjfz 5P4gGwMF1uDjav9TIHizFJe9W9JFiatr765227DZMyDUdCHl6EvWedkmKmZwATcl A/2ohBRafwOnulXNzE+gKHOWoY7+E7AGmeI7smRmJcFKSThBSs9VTA== =DOEG
-----END PGP SIGNATURE-----
Quoted 6 lines · Duane Toler
gcc -D__KERNEL__ -I/usr/src/linux-2.5.0/include -Wall -Wstrict-prototypes -Wno-trigraphs
(quoted diff) +0
-2-O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.5.0/include/linux/modversions.h-c -o ndisc.ondisc.c
{standard input}: Assembler messages:
{standard input}:821: Error: bad register name `%edxadcl 4(%ebp)'
Quoted 8 lines
{standard input}:1024: Error: bad register name
%ecxadcl 4(%edx)' {standard input}:1186: Error: bad register name%ecxadcl 4(%edx)' {standard input}:2272: Error: bad register name `%ecxadcl 4(%esi)' make[2]: *** [ndisc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.0/net/ipv6' make[1]: *** [_modsubdir_ipv6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.0/net'
make: *** [_mod_net] Error 2
I've got the exact same error.
If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes.
I'm using an up-to-date system, AFAIK (Suse 7.1 + upgrades):
Linux dexter 2.5.1-pre1 #5 Tue Nov 27 13:55:35 CET 2001 i586 unknown
Gnu C 2.95.3 Gnu make 3.79.1 binutils 2.10.91.0.4 util-linux 2.10q mount 2.10q modutils 2.4.2 e2fsprogs 1.25 pcmcia-cs 3.1.22 Linux C Library x 1 root root 1382179 Feb 28 2001 /lib/libc.so.6 Dynamic linker (ldd) 2.2 Procps 2.0.7 Net-tools 1.57 Kbd 1.02 Sh-utils 2.0 Modules Loaded ipt_MASQUERADE ip_nat_ftp ipt_state ipt_LOG ipt_limit iptable_nat iptable_filter ip_conntrack_irc ip_conntrack_ftp ip_conntrack ip_tables ne 8390 tulip es1370 soundcore
Signature · 3 lines
Erik Hensema ([email protected]) I'm on the list, no need to Cc: me, though I appreciate one if your mailer doesn't support the References header.