lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804260042.32391.rjw@sisk.pl>
Date:	Sat, 26 Apr 2008 00:42:31 +0200
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	"Steve French" <smfrench@...il.com>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	David Miller <davem@...emloft.net>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: 2.6.26-pre build errors

On Saturday, 26 of April 2008, Steve French wrote:
> From today's current 2.6. kernel git tree - build included compile
> errors in joystick support.  After disabling joystick support, I still
> get at least one link error:
> 
> ERROR: "__locks_copy_lock" [fs/lockd/lockd.ko] undefined!

Please try this:

__locks_copy_lock has to be exported, because it's used in lockd,
which may be built as a module.

Signed-off-by: Rafael J. Wysocki <rjw@...k.pl>
---
 fs/locks.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6/fs/locks.c
===================================================================
--- linux-2.6.orig/fs/locks.c
+++ linux-2.6/fs/locks.c
@@ -237,6 +237,8 @@ void __locks_copy_lock(struct file_lock 
 	new->fl_lmops = NULL;
 }
 
+EXPORT_SYMBOL(__locks_copy_lock);
+
 void locks_copy_lock(struct file_lock *new, struct file_lock *fl)
 {
 	locks_release_private(new);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ