Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 05-26-2013, 11:19 AM   #1
Registered: Dec 2009
Posts: 103

Rep: Reputation: 20
help! errors in compiling kernel

Hi everybody!

I tried to have a taste of compiling kernel since I've been using linux for a while. I'm runing salix os 14.0, so i followed the instructions from the salix wiki:

downloaded kernel3.9.4
ln -s /usr/src/linux-3.9.4 /usr/src/linux
make mrproper
zcat /proc/config.gz > .config
make menuconfig [ I don't have a plan to tweak anything, like being said, just want to compile a new kernel for experence, so i didn't change anything]

then make, at this step there is always errors poped up:
fs/built-in.o: in function ‘gfs2_lock’ :
file.c:(.text+0x3f360f): ‘dlm_posix_lock’ Undefined references
file.c:(.text+0x3f364c): ‘dlm_posix_unlock’ Undefined references
file.c:(.text+0x3f366d): ‘dlm_posix_get’ Undefined references
fs/built-in.o:in function‘gdlm_cancel’ :
lock_dlm.c:(.text+0x407485): ‘dlm_unlock’ Undefined references
fs/built-in.o:in function‘gdlm_lock’ :
lock_dlm.c:(.text+0x407672): ‘dlm_lock’ Undefined references
fs/built-in.o:in function‘sync_unlock’ :
lock_dlm.c:(.text+0x407abd): ‘dlm_unlock’ Undefined references
fs/built-in.o:in function‘sync_lock’ :
lock_dlm.c:(.text+0x407c1b): ‘dlm_lock’ Undefined references
fs/built-in.o:in function‘gdlm_unmount’ :
lock_dlm.c:(.text+0x4087dc): ‘dlm_release_lockspace’ Undefined references
fs/built-in.o:in function‘gdlm_put_lock’ :
lock_dlm.c:(.text+0x408d7a): ‘dlm_unlock’ Undefined references
fs/built-in.o:in function‘gdlm_mount’ :
lock_dlm.c:(.text+0x40913c): ‘dlm_new_lockspace’ Undefined references
lock_dlm.c:(.text+0x409249): ‘dlm_release_lockspace’ 
make: *** [vmlinux] error 1
the terms "Undefined references" and "in function" above are chinese, I translated them through google translate, not sure they are accurate

Can anyone give me a hint what should I do to compile a new kernel? I have never used the newest kernel, for the stability's sake or whatever, really want to try some cutting edges for a change

Any advice would be aapreciated.

Last edited by wubai; 05-26-2013 at 11:25 AM.
Old 05-26-2013, 12:11 PM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,058

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
I'd look in and tweak a bit.

Now that you have the distro kernel config, a good approach might be to run
make localmodconfig
That gives you the modules in use, so make sure everything is connected and on before you run that. Distro kernels give you every module anyone might want.

If you google dlm_posix, you get hits. It puked. You're straight into learning! Have fun, and stop just before you tear your hair out.
Old 05-26-2013, 01:04 PM   #3
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,475
Blog Entries: 23

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
and stop just before you tear your hair out


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
Compiling kernel module errors with kernel 2.6.32-279 jleaming Programming 11 03-25-2013 06:45 PM
Compiling Kernel errors dsplayer14 Linux - Software 2 10-26-2012 08:24 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 01:15 AM
Errors when compiling kernel, what do they mean? DiBosco Linux - Software 6 01-24-2002 04:13 PM

All times are GMT -5. The time now is 12:13 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