Hi! $ make ARCH=vax CROSS_COMPILE=vax-linux-uclibc- mopboot : LD .tmp_vmlinux1 `exit_ocfs2_uptodate_cache' referenced in section `.init.text' of fs/built-in.o: defined in discarded section `.exit.text' of fs/built-in.o `exit_ocfs2_extent_maps' referenced in section `.init.text' of fs/built-in.o: defined in discarded section `.exit.text' of fs/built-in.o make: *** [.tmp_vmlinux1] Error 1 This happens with CONFIG_MODULES=n because: super.c: ~~~~~~~~ static int __init ocfs2_init(void) { : leave: if (status < 0) { ocfs2_free_mem_caches(); exit_ocfs2_uptodate_cache(); exit_ocfs2_extent_maps(); } : } uptodate.h:void __exit exit_ocfs2_uptodate_cache(void); extent_map.c:void __exit exit_ocfs2_extent_maps(void) extent_map.h:void exit_ocfs2_extent_maps(void); So an __inint function references __exit functions (which are discarded for non-modular builds) and the declaration of exit_ocfs2_extent_maps() in extent_map.h is missing __exit. MfG, JBG -- Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- [2.6 patch] OCFS2: __init / __exit problem
- From: Adrian Bunk <[email protected]>
- [2.6 patch] OCFS2: __init / __exit problem
- Prev by Date: Re: [PATCH] Disable swsusp on CONFIG_HIGHMEM64
- Next by Date: Re: [PATCH -mm 1/2] swsusp: low level interface
- Previous by thread: [PATCH -mm 0/2] swsusp: low level interface
- Next by thread: [2.6 patch] OCFS2: __init / __exit problem
- Index(es):