Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 07-13-2007, 05:39 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Help!! Compilation error using EXPORT_SYMBOL in fedora Core4


I have Fedora Core4 (Linux V 2.6.11-1.1369; GCC - 4.0.0).
I have a kernel module in which I use EXPORT_SYMBOL macro to export the symbols to the other kernel modules.

But when I compile the kernel module it throws out segmentation fault.

Please find the scree shot below.

Please let me know what would be the issue as its very critical to fix this bug now.


Example of code:
int register_notifier(struct notifier_block *nb)
return notifier_chain_register(&cli_notifier, nb);

Screen -dump:

/bin/sh: line 1: 2866 Done gcc -E -D__GENKSYMS__ -Wp,-MD,/root/gda/driver_test/Drivers_bk/plk1000n/linux/.nwm_main.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.0/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g -pipe -msoft-float -m32 -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mtune=pentium4 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/root/gda/driver_test/Drivers_bk/plk1000n/linux/../../include -I/root/gda/driver_test/Drivers_bk/plk1000n/linux/../include -D_LINUX_ -DMODULE -DKBUILD_BASENAME=nwm_main -DKBUILD_MODNAME=plk1000n /root/gda/driver_test/Drivers_bk/plk1000n/linux/nwm_main.c
2868 Segmentation fault | scripts/genksyms/genksyms >/root/gda/driver_test/Drivers_bk/plk1000n/linux/.tmp_nwm_main.ver
make[2]: *** [/root/gda/driver_test/Drivers_bk/plk1000n/linux/nwm_main.o] Error 139


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I get the matlab for fedora core4? whcrane Linux - Software 1 09-27-2006 07:44 AM
f5d6020 v2 in Fedora Core4 Lib_not_found Linux - Networking 1 10-31-2005 03:16 AM
SDL-1.2.9 compilation error on Fedora Core 4 SirBlackKnight Programming 1 10-24-2005 04:08 PM
Fedora Core4 issues... DrunkenDisciple Linux - Software 3 10-12-2005 01:01 PM
install fedora core4 hi_all General 3 05-10-2005 08:54 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration