All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
@ 2013-05-30 20:11 bugzilla-daemon
  2013-07-30 14:06 ` [Bug 59041] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-05-30 20:11 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

           Summary: [PATCH 001/001] Compiling iwlwifi or alx against
                    3.4.47 kernel gives redefinition error
           Product: Backports project
           Version: unspecified
    Kernel Version: 3.4.47
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Compat-Drivers
        AssignedTo: backports@vger.kernel.org
        ReportedBy: svrusso1@gmail.com
        Regression: No


from: Steve Russo <svrusso1@gmail.com>

Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error. Tried
using compat-drivers-3.9-rc4-2-su,  compat-drivers-3.9-rc2-2-su, and
compat-drivers-3.8.3-2-snpu. Does not work from any of them.

Patch against compat-drivers-3.9-rc4-2-su follows body.

Error:
auser@mycomputer:/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su# make
make -C /lib/modules/3.4.47/build
M=/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su modules
make[1]: Entering directory `/path/to/home/Dev/Kernel/generic/linux-3.4.47'
  CC [M]  /path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/compat/main.o
In file included from
/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/include/linux/compat-2.6.h:71:0,
                 from <command-line>:0:
/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/include/linux/compat-3.8.h:49:32:
error: redefinition of ‘kref_get_unless_zero’
In file included from include/linux/kobject.h:24:0,
                 from include/linux/device.h:17,
                 from include/linux/dmaengine.h:24,
                 from include/linux/skbuff.h:31,
                 from include/linux/if_ether.h:134,
                 from include/linux/netdevice.h:29,
                 from
/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/include/linux/compat-2.6.29.h:5,
                 from
/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/include/linux/compat-2.6.h:52,
                 from <command-line>:0:
include/linux/kref.h:113:32: note: previous definition of
‘kref_get_unless_zero’ was here
make[3]: ***
[/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/compat/main.o] Error 1
make[2]: *** [/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su/compat] Error
2
make[1]: *** [_module_/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su]
Error 2
make[1]: Leaving directory `/path/to/home/Dev/Kernel/generic/linux-3.4.47'
make: *** [modules] Error 2
auser@mycomputer:/path/to/home/Dev/Wired/compat-drivers-3.9-rc4-2-su#

Signed-off-by: Steve Russo <svrusso1@gmail.com>
---

The following patch against compat-drivers-3.9-rc4-2-su allowed compilation to
complete.

--- compat-3.8.h.0    2013-05-30 15:57:51.333132738 -0400
+++ compat-3.8.h    2013-05-30 15:59:12.689517900 -0400
@@ -22,6 +22,7 @@ extern void netdev_set_default_ethtool_o

 extern bool hid_ignore(struct hid_device *);

+#ifndef _KREF_H_
 /* This backports:
  *
  * commit 4b20db3de8dab005b07c74161cb041db8c5ff3a7
@@ -50,6 +51,7 @@ static inline int __must_check kref_get_
 {
     return atomic_add_unless(&kref->refcount, 1, 0);
 }
+#endif

 /* This backports:
  *

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
@ 2013-07-30 14:06 ` bugzilla-daemon
  2013-08-13  1:20 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-07-30 14:06 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

Konstantin Ryabitsev <mricon@kernel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mricon@kernel.org
          Component|Compat-Drivers              |Backports

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
  2013-07-30 14:06 ` [Bug 59041] " bugzilla-daemon
@ 2013-08-13  1:20 ` bugzilla-daemon
  2013-08-13  1:20 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-13  1:20 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

Luis R. Rodriguez <mcgrof@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcgrof@gmail.com

--- Comment #2 from Luis R. Rodriguez <mcgrof@gmail.com> ---
Please try the new backports releases, compat-drivers is deprecated.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
  2013-07-30 14:06 ` [Bug 59041] " bugzilla-daemon
  2013-08-13  1:20 ` bugzilla-daemon
@ 2013-08-13  1:20 ` bugzilla-daemon
  2013-10-07 18:58 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-08-13  1:20 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

Luis R. Rodriguez <mcgrof@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-08-13  1:20 ` bugzilla-daemon
@ 2013-10-07 18:58 ` bugzilla-daemon
  2013-10-08 11:36 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-10-07 18:58 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

CSS <c.s.sigman@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c.s.sigman@gmail.com

--- Comment #3 from CSS <c.s.sigman@gmail.com> ---
I've tried 3.10.4-1 as well as the latest development release (20130802), and
had this issue with kernel 3.6.10 in Fedora 18.  I did not have this issue
however in Fedora 19 with kernel 3.9.5

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-10-07 18:58 ` bugzilla-daemon
@ 2013-10-08 11:36 ` bugzilla-daemon
  2013-11-24 21:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-10-08 11:36 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

--- Comment #4 from CSS <c.s.sigman@gmail.com> ---
(In reply to CSS from comment #3)
> I've tried 3.10.4-1 as well as the latest development release (20130802),
> and had this issue with kernel 3.6.10 in Fedora 18.  I did not have this
> issue however in Fedora 19 with kernel 3.9.5

Specifically, I've tried backports 3.10.4-1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-10-08 11:36 ` bugzilla-daemon
@ 2013-11-24 21:33 ` bugzilla-daemon
  2013-12-13  0:21 ` bugzilla-daemon
  2015-11-22  7:29 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-11-24 21:33 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

Hauke Mehrtens <hauke@hauke-m.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hauke@hauke-m.de

--- Comment #5 from Hauke Mehrtens <hauke@hauke-m.de> ---
kref_get_unless_zero() was removed in backports-20131122-2, please try that
version, that should fix your problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
                   ` (5 preceding siblings ...)
  2013-11-24 21:33 ` bugzilla-daemon
@ 2013-12-13  0:21 ` bugzilla-daemon
  2015-11-22  7:29 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2013-12-13  0:21 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

Hauke Mehrtens <hauke@hauke-m.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #6 from Hauke Mehrtens <hauke@hauke-m.de> ---
This should be fixed in the latest releases.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug 59041] [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error
  2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
                   ` (6 preceding siblings ...)
  2013-12-13  0:21 ` bugzilla-daemon
@ 2015-11-22  7:29 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2015-11-22  7:29 UTC (permalink / raw)
  To: backports

https://bugzilla.kernel.org/show_bug.cgi?id=59041

Emmanuel Grumbach <emmanuel.grumbach@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe backports" in

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

end of thread, other threads:[~2015-11-22  7:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 20:11 [Bug 59041] New: [PATCH 001/001] Compiling iwlwifi or alx against 3.4.47 kernel gives redefinition error bugzilla-daemon
2013-07-30 14:06 ` [Bug 59041] " bugzilla-daemon
2013-08-13  1:20 ` bugzilla-daemon
2013-08-13  1:20 ` bugzilla-daemon
2013-10-07 18:58 ` bugzilla-daemon
2013-10-08 11:36 ` bugzilla-daemon
2013-11-24 21:33 ` bugzilla-daemon
2013-12-13  0:21 ` bugzilla-daemon
2015-11-22  7:29 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.