Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44985 - Patch: ntfs.o contains unresolved symbols
Summary: Patch: ntfs.o contains unresolved symbols
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-17 16:48 UTC by Daniel Choong
Modified: 2004-03-26 19:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Choong 2004-03-17 16:48:30 UTC
I recently emerged linux-2.4.22-gentoo-r7.
I compiled ntfs as a modules. At the end of make modules_install where it runs depmod -ae ....,
I get an unresolved symbols message with ntfs.o , the function was __mark_dirty

Reproducible: Always
Steps to Reproduce:
1. compile ntfs as a module, include debug and write functions
2. at the end of make modules_install you will see it
3. or just run depmod -a

Actual Results:  
Unresolved symbols with ntfs.o . I cannot reproduce the bug now because I think
I've found out what was missing.

Expected Results:  
nothing.

I saw from the following patch that

EXPORT_SYMBOL(__mark_dirty);

was missing from kernel/ksyms.c
I put it in and now it works.

At first I tried putting in

EXPORT_SYMBOL(end_buffer_io_sync);

but I got errors with that. I think it was exported somewhere else.

--- linux-2.4.25/kernel/ksyms.c	2004-02-18 14:36:32.000000000 +0100
+++ linux-2.4.25-ntfs/kernel/ksyms.c	2004-03-09 23:26:10.000000000 +0100
@@ -177,6 +177,8 @@
 EXPORT_SYMBOL(mark_buffer_dirty);
 EXPORT_SYMBOL(set_buffer_async_io); /* for reiserfs_writepage */
 EXPORT_SYMBOL(end_buffer_io_async);
+EXPORT_SYMBOL(end_buffer_io_sync);
+EXPORT_SYMBOL(__mark_dirty);
 EXPORT_SYMBOL(__mark_buffer_dirty);
 EXPORT_SYMBOL(__mark_inode_dirty);
 EXPORT_SYMBOL(fd_install);
Comment 1 Bob Johnson (RETIRED) gentoo-dev 2004-03-26 19:45:20 UTC
Can you try latest gentoo-sources please