public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6-bk]  net/core/sock.o build failed
@ 2004-12-30  0:39 Ramón Rey Vicente
  2004-12-30  3:13 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Ramón Rey Vicente @ 2004-12-30  0:39 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Andrew Morton

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CC      net/core/sock.o
In file included from include/net/ipv6.h:18,
~                 from include/net/xfrm.h:16,
~                 from net/core/sock.c:121:
include/linux/ipv6.h: In function `inet6_sk':
include/linux/ipv6.h:278: error: structure has no member named `pinet6'
make[2]: *** [net/core/sock.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error
- --
Ramón Rey Vicente <ramon.rey en hispalinux.es>
JID rreylinux@jabber.org - GPG public key id 0x9F28E377
GPG Fingerprint 0BC2 8014 2445 51E8 DE87  C888 C385 A9D3 9F28 E377
Planet AUGCyL - http://augcyl.org/planet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB005Mw4Wp058o43cRAlCOAKC/CgQqOd46mtMd8YH2CZPbUxPYYACgnac6
42+Fo9zb03tshC6Bb6B3BVg=
=wzPr
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6-bk]  net/core/sock.o build failed
  2004-12-30  0:39 [2.6-bk] net/core/sock.o build failed Ramón Rey Vicente
@ 2004-12-30  3:13 ` Arnaldo Carvalho de Melo
  2004-12-30 17:05   ` Ramón Rey Vicente
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2004-12-30  3:13 UTC (permalink / raw)
  To: Ramón Rey Vicente; +Cc: Linux Kernel Mailing List, Andrew Morton

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

Ramón Rey Vicente wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> CC      net/core/sock.o
> In file included from include/net/ipv6.h:18,
> ~                 from include/net/xfrm.h:16,
> ~                 from net/core/sock.c:121:
> include/linux/ipv6.h: In function `inet6_sk':
> include/linux/ipv6.h:278: error: structure has no member named `pinet6'
> make[2]: *** [net/core/sock.o] Error 1
> make[1]: *** [net/core] Error 2
> make: *** [net] Error

Use the attached patch, this was already sent to David Miller, as I mentioned
in another message, this only happens when you don't select IPV6.

Regards,

- Arnaldo

[-- Attachment #2: inet6_sk.patch --]
[-- Type: text/plain, Size: 648 bytes --]

===== include/linux/ipv6.h 1.23 vs edited =====
--- 1.23/include/linux/ipv6.h	2004-12-27 23:56:33 -02:00
+++ edited/include/linux/ipv6.h	2004-12-29 20:22:45 -02:00
@@ -273,6 +273,7 @@
 	struct ipv6_pinfo inet6;
 };
 
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk)
 {
 	return inet_sk(__sk)->pinet6;
@@ -283,7 +284,6 @@
 	return &((struct raw6_sock *)__sk)->raw6;
 }
 
-#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
 #define __ipv6_only_sock(sk)	(inet6_sk(sk)->ipv6only)
 #define ipv6_only_sock(sk)	((sk)->sk_family == PF_INET6 && __ipv6_only_sock(sk))
 #else

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6-bk]  net/core/sock.o build failed
  2004-12-30  3:13 ` Arnaldo Carvalho de Melo
@ 2004-12-30 17:05   ` Ramón Rey Vicente
  0 siblings, 0 replies; 3+ messages in thread
From: Ramón Rey Vicente @ 2004-12-30 17:05 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Linux Kernel Mailing List

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arnaldo Carvalho de Melo wrote:

|>
|> CC      net/core/sock.o
|> In file included from include/net/ipv6.h:18,
|> ~                 from include/net/xfrm.h:16,
|> ~                 from net/core/sock.c:121:
|> include/linux/ipv6.h: In function `inet6_sk':
|> include/linux/ipv6.h:278: error: structure has no member named `pinet6'
|> make[2]: *** [net/core/sock.o] Error 1
|> make[1]: *** [net/core] Error 2
|> make: *** [net] Error
|
|
| Use the attached patch, this was already sent to David Miller, as I
| mentioned
| in another message, this only happens when you don't select IPV6.

Works fine for me! :)

- --
Ramón Rey Vicente <ramon.rey en hispalinux.es>
JID rreylinux@jabber.org - GPG public key id 0x9F28E377
GPG Fingerprint 0BC2 8014 2445 51E8 DE87  C888 C385 A9D3 9F28 E377
Planet AUGCyL - http://augcyl.org/planet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB1DVfw4Wp058o43cRAsT/AJ9m9CFO7lX05iOCM9yvvMFV0LsBywCeJdmc
onD8ynGKzl6FZNqPtZRabiY=
=ikIC
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-30 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-30  0:39 [2.6-bk] net/core/sock.o build failed Ramón Rey Vicente
2004-12-30  3:13 ` Arnaldo Carvalho de Melo
2004-12-30 17:05   ` Ramón Rey Vicente

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox