LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-19-2003, 12:02 PM   #1
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
kernel 2.6.0 compiling problems


Soo I got the source for 2.6.0 and tried to compile it. First time went alright but I screwed up and had to do it again . Now I get this:

...
LD .tmp_vmlinux1
sound/built-in.o(.text+0x1a96f): In function `snd_opl3_synth_event_input':
: undefined reference to `snd_seq_instr_event'
sound/built-in.o(.text+0x1a98c): In function `snd_opl3_synth_event_input':
: undefined reference to `snd_midi_process_event'
sound/built-in.o(.text+0x1a9d2): In function `snd_opl3_synth_create_port':
: undefined reference to `snd_midi_channel_alloc_set'
sound/built-in.o(.text+0x1aa9a): In function `snd_opl3_synth_create_port':
: undefined reference to `snd_seq_event_port_attach'
sound/built-in.o(.text+0x1aace): In function `snd_opl3_synth_create_port':
: undefined reference to `snd_midi_channel_free_set'
sound/built-in.o(.text+0x1ab50): In function `snd_opl3_seq_new_device':
: undefined reference to `snd_seq_create_kernel_client'
sound/built-in.o(.text+0x1abaa): In function `snd_opl3_seq_new_device':
: undefined reference to `snd_seq_kernel_client_ctl'
sound/built-in.o(.text+0x1abb7): In function `snd_opl3_seq_new_device':
: undefined reference to `snd_seq_instr_list_new'
sound/built-in.o(.text+0x1abdb): In function `snd_opl3_seq_new_device':
: undefined reference to `snd_seq_fm_init'
sound/built-in.o(.text+0x1ac42): In function `snd_opl3_seq_new_device':
: undefined reference to `snd_seq_delete_kernel_client'
sound/built-in.o(.text+0x1ac7e): In function `snd_opl3_seq_delete_device':
: undefined reference to `snd_seq_delete_kernel_client'
sound/built-in.o(.text+0x1ac9e): In function `snd_opl3_seq_delete_device':
: undefined reference to `snd_seq_instr_list_free'
sound/built-in.o(.text+0x1a9a2): In function `snd_opl3_synth_free_port':
: undefined reference to `snd_midi_channel_free_set'
sound/built-in.o(.text+0x1b0f7): In function `snd_opl3_note_on':
: undefined reference to `snd_seq_instr_find'
sound/built-in.o(.text+0x1b51e): In function `snd_opl3_note_on':
: undefined reference to `snd_seq_instr_free_use'
sound/built-in.o(.text+0x1b760): In function `snd_opl3_note_on':
: undefined reference to `snd_seq_instr_free_use'
sound/built-in.o(.text+0x1bf63): In function `snd_opl3_oss_event_input':
: undefined reference to `snd_midi_process_event'
sound/built-in.o(.text+0x1bfab): In function `snd_opl3_oss_create_port':
: undefined reference to `snd_midi_channel_alloc_set'
sound/built-in.o(.text+0x1c059): In function `snd_opl3_oss_create_port':
: undefined reference to `snd_seq_event_port_attach'
sound/built-in.o(.text+0x1c08d): In function `snd_opl3_oss_create_port':
: undefined reference to `snd_midi_channel_free_set'
sound/built-in.o(.text+0x1c0cf): In function `snd_opl3_init_seq_oss':
: undefined reference to `snd_seq_device_new'
sound/built-in.o(.text+0x1c48d): In function `snd_opl3_load_patch_seq_oss':
: undefined reference to `snd_seq_instr_event'
sound/built-in.o(.text+0x1c4dc): In function `snd_opl3_load_patch_seq_oss':
: undefined reference to `snd_seq_instr_event'
sound/built-in.o(.text+0x1bf79): In function `snd_opl3_oss_free_port':
: undefined reference to `snd_midi_channel_free_set'
sound/built-in.o(.exit.text+0x2bb): In function `alsa_opl3_seq_exit':
: undefined reference to `snd_seq_device_unregister_driver'
sound/built-in.o(.init.text+0x8ec): In function `alsa_opl3_seq_init':
: undefined reference to `snd_seq_device_register_driver'
make: *** [.tmp_vmlinux1] Error 1

Can anyone tell me what I'm doing wrong here?

Thanks in advance
 
Old 12-19-2003, 12:19 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
In what step are you getting this error? That might help determine the problem? More details please.
 
Old 12-19-2003, 12:35 PM   #3
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
Okay, first I make clean & make mrproper & make xconfig. Then I just make (that's compiling the kernel right?), that's where I get this error. After 15 minutes or so.
 
Old 12-19-2003, 12:56 PM   #4
Hcman
Member
 
Registered: Jan 2003
Location: Holland
Distribution: OpenBSD 3.6 - Arch Linux 0.7
Posts: 210

Rep: Reputation: 30
what does your .config file look like?

HC
 
Old 12-19-2003, 01:45 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Two suggestion rm -rf /usr/src/linux and untar a new kernel tree to start fresh and do you actually need the opl3 modules compiled if not then do not compile them.
 
Old 12-21-2003, 08:29 AM   #6
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
What are the opl3 modules?? I unchecked pretty much anything I don't need so. The config file is too big to post here.
 
Old 12-21-2003, 02:34 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by Haiyadragon
What are the opl3 modules?? I unchecked pretty much anything I don't need so. The config file is too big to post here.
They are for a sound card I think some variety of the Yamaha cards not sure of that though. So if you do not need them unselect them in the sound/multimedia section. Here is what they are called if you want to edit the .config yourself:
Code:
[04:31 PM Sun Dec 21: stephen @ ~]
>$ grep OPL3 /boot/config-2.6.0.031218-2
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_OPL3SA2 is not set
 
Old 12-21-2003, 04:09 PM   #8
mansonmuni
Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 16

Rep: Reputation: 0
What about ' make dep ' ?

make mrproper
make dep
make clean
make bzImage modules modules_install install
 
Old 12-21-2003, 06:03 PM   #9
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by mansonmuni
What about ' make dep ' ?

make mrproper
make dep
make clean
make bzImage modules modules_install install
Not needed with the 2.6.0, or so it tells me.
 
Old 12-21-2003, 06:31 PM   #10
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by HappyTux
They are for a sound card I think some variety of the Yamaha cards not sure of that though. So if you do not need them unselect them in the sound/multimedia section. Here is what they are called if you want to edit the .config yourself:
Code:
[04:31 PM Sun Dec 21: stephen @ ~]
>$ grep OPL3 /boot/config-2.6.0.031218-2
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_OPL3SA2 is not set
There's nothing with OPL3 in it set in my config file.
 
Old 12-22-2003, 04:00 AM   #11
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Did you try starting over like HappyTux suggested? That seems like the easiest approach. Save your config file first, and don't copy it back until after make mrproper.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems compiling a kernel kryptonite0110 Linux - Software 4 06-26-2005 03:33 PM
Problems compiling 2.6.9 kernel MadMusician_uk Mandriva 3 01-05-2005 12:31 PM
Problems after kernel compiling Harp00 Slackware 5 07-09-2004 06:52 PM
Problems compiling Kernel 2.6.7 stardust2678 Linux - Software 5 07-05-2004 01:42 PM
problems after kernel compiling R3N3G4D3 Slackware 3 04-13-2003 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:32 PM.

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