mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Andrea Arcangeli <andrea@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.23pre6aa2 - some problems [with patches]
Date: Sun, 05 Oct 2003 01:38:20 +1000	[thread overview]
Message-ID: <3F7EE96C.4AC99553@eyal.emu.id.au> (raw)
In-Reply-To: <20031004105731.GA1343@velociraptor.random>

[-- Attachment #1: Type: text/plain, Size: 4019 bytes --]

This is most unusual as -aa patches usually apply clean, but I am
encountering a number of build problems.

"PCMCIA SCSI adapter support" build is broken. I deselected the whole
section.

I now have this failure:

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-aa/include -Wall
-Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-poi
nter -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686
-malign-functio
ns=4 -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre-aa/inclu
de/linux/modversions.h  -nostdinc -iwithprefix include
-DKBUILD_BASENAME=ip_vs_c
onn  -c -o ip_vs_conn.o ip_vs_conn.c
ip_vs_conn.c: In function `ip_vs_tunnel_xmit':
ip_vs_conn.c:895: too many arguments to function
`ip_select_ident_Rd603b6c5'
make[2]: *** [ip_vs_conn.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre-aa/net/ipv4/ipvs'

Seems that ip_select_ident() only wants the first argument.


Next I get

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-aa/include -Wall
-Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-poi
nter -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686
-malign-functio
ns=4 -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre-aa/inclu
de/linux/modversions.h  -nostdinc -iwithprefix include
-DKBUILD_BASENAME=addrcon
f  -c -o addrconf.o addrconf.c
addrconf.c: In function `ipv6_store_devconf':
addrconf.c:1996: structure has no member named `rtr_solicit_interval'
addrconf.c:1997: structure has no member named `rtr_solicit_delay'
make[2]: *** [addrconf.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre-aa/net/ipv6'

I think that these members were renamed, my patch is just a guess.


Next
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-aa/include -Wall
-Wstrict-
prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-poi
nter -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686
-malign-functio
ns=4 -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre-aa/inclu
de/linux/modversions.h  -nostdinc -iwithprefix include
-DKBUILD_BASENAME=protoco
l  -c -o protocol.o protocol.c
protocol.c: In function `sctp_v4_create_accept_sk':
protocol.c:537: structure has no member named `id'
make[2]: *** [protocol.o] Error 1
make[2]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre-aa/net/sctp'

Member .id was removed, so my patch removes the offending line (a
guess).


Finally I get
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 
2.4.23-pre6-aa2; fi
depmod: /lib/modules/2.4.23-pre6-aa2/ksyms is not an ELF file
depmod: /lib/modules/2.4.23-pre6-aa2/soundconf is not an ELF file
depmod: *** Unresolved symbols in
/lib/modules/2.4.23-pre6-aa2/kernel/drivers/vi
deo/sis/sisfb.o
depmod:         __floatsidf
depmod:         __divdf3
depmod:         __fixunsdfsi
depmod:         __muldf3
depmod:         __adddf3

And building i2c-2.7.0 (which I need for sensors) is failing.

depmod: *** Unresolved symbols in
/lib/modules/2.4.23-pre6-aa2/kernel/drivers/ie
ee1394/pcilynx.o
depmod:         i2c_bit_add_bus_Rca543f36
depmod:         i2c_transfer_R1dea91d1
depmod:         i2c_bit_del_bus_Rdf920b11
depmod: *** Unresolved symbols in
/lib/modules/2.4.23-pre6-aa2/kernel/drivers/me
dia/video/bttv.o
depmod:         i2c_bit_add_bus_Rca543f36
depmod:         i2c_master_recv_R67b29cc4
depmod:         i2c_bit_del_bus_Rdf920b11
depmod:         i2c_master_send_Rb692cb0e
depmod: *** Unresolved symbols in
/lib/modules/2.4.23-pre6-aa2/kernel/drivers/me
dia/video/msp3400.o
depmod:         i2c_probe_R4e2acbec
depmod:         i2c_add_driver_Racf22304
depmod:         i2c_transfer_R1dea91d1
depmod:         i2c_attach_client_Ra861362d
depmod:         i2c_master_send_Rb692cb0e
depmod:         i2c_detach_client_R0cfb40b4
depmod:         i2c_del_driver_R57837012
.... more following, all in  kernel/drivers/media/video/* ...

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

[-- Attachment #2: 2.4.23-pre6-aa2.ip_vs_conn.patch --]
[-- Type: text/plain, Size: 364 bytes --]

--- linux/net/ipv4/ipvs/ip_vs_conn.c.orig	Sun Oct  5 01:14:39 2003
+++ linux/net/ipv4/ipvs/ip_vs_conn.c	Sun Oct  5 01:15:12 2003
@@ -892,7 +892,7 @@
 	iph->saddr		=	rt->rt_src;
 	iph->ttl		=	old_iph->ttl;
 	iph->tot_len		=	htons(skb->len);
-	ip_select_ident(iph, &rt->u.dst, NULL);
+	ip_select_ident(iph);
 	ip_send_check(iph);
 
 	skb->ip_summed = CHECKSUM_NONE;

[-- Attachment #3: 2.4.23-pre6-aa2.addrconf.patch --]
[-- Type: text/plain, Size: 678 bytes --]

--- linux/net/ipv6/addrconf.c.orig	Sun Oct  5 01:20:38 2003
+++ linux/net/ipv6/addrconf.c	Sun Oct  5 01:21:24 2003
@@ -1993,8 +1993,8 @@
 	array[DEVCONF_AUTOCONF] = cnf->autoconf;
 	array[DEVCONF_DAD_TRANSMITS] = cnf->dad_transmits;
 	array[DEVCONF_RTR_SOLICITS] = cnf->rtr_solicits;
-	array[DEVCONF_RTR_SOLICIT_INTERVAL] = cnf->rtr_solicit_interval;
-	array[DEVCONF_RTR_SOLICIT_DELAY] = cnf->rtr_solicit_delay;
+	array[DEVCONF_RTR_SOLICIT_INTERVAL] = cnf->__rtr_solicit_interval;
+	array[DEVCONF_RTR_SOLICIT_DELAY] = cnf->__rtr_solicit_delay;
 #ifdef CONFIG_IPV6_PRIVACY
 	array[DEVCONF_USE_TEMPADDR] = cnf->use_tempaddr;
 	array[DEVCONF_TEMP_VALID_LFT] = cnf->temp_valid_lft;

[-- Attachment #4: 2.4.23-pre6-aa2.protocol.patch --]
[-- Type: text/plain, Size: 366 bytes --]

--- linux/net/sctp/protocol.c.orig	Sun Oct  5 01:30:01 2003
+++ linux/net/sctp/protocol.c	Sun Oct  5 01:30:13 2003
@@ -534,7 +534,6 @@
 	newsk->dport = htons(asoc->peer.port);
 	newsk->daddr = asoc->peer.primary_addr.v4.sin_addr.s_addr;
 	newinet->pmtudisc = inet->pmtudisc;
-      	newinet->id = 0;
 
 	newinet->ttl = sysctl_ip_default_ttl;
 	newinet->mc_loop = 1;

  reply	other threads:[~2003-10-04 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-04 10:57 2.4.23pre6aa2 Andrea Arcangeli
2003-10-04 15:38 ` Eyal Lebedinsky [this message]
2003-10-05 10:40   ` 2.4.23pre6aa2 - some problems [with patches] Andrea Arcangeli
2003-10-05 11:02     ` Thomas Winischhofer
2003-10-06  0:43     ` Eyal Lebedinsky
2003-10-06  0:55     ` Eyal Lebedinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F7EE96C.4AC99553@eyal.emu.id.au \
    --to=eyal@eyal.emu.id.au \
    --cc=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®