View previous topic :: View next topic |
Author |
Message |
tycheung n00b
Joined: 29 Dec 2002 Posts: 43
|
Posted: Wed Apr 23, 2003 1:18 am Post subject: problems compiling ac-sources 2.4.21-pre7 kernel... |
|
|
I have a shuttle SN41G2 (nForce2) box, and have been trying to compile the ac-sources 2.4.21-pre7 kernel. It's quitting on the "make dep && make clean..." step with something like:
fs/fs.0(.text+0x1b729): In function 'do_quotactl':
: undefined reference to 'sync_dquots_dev'
make: *** [vmlinux] Error 1
this is after it tries to ld a bunch of *.o files that look like drivers, some kernel.o files, and some lib.a files (really really long ld command). The last line of that command is "-o vmlinux"
This is using gcc 3.2.2
Can anyone help?
thanks,
Tyler |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 23, 2003 2:10 am Post subject: |
|
|
Please do not cross post one issue into multiple threads. You should probably read the forum guidelines. Here is the other thread started which has been locked.
Thanks,
BonezTheGoon |
|
Back to top |
|
|
tycheung n00b
Joined: 29 Dec 2002 Posts: 43
|
Posted: Wed Apr 23, 2003 2:51 am Post subject: |
|
|
sorry - wasn't quite sure exactly which category my post belonged to... |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Apr 23, 2003 4:57 pm Post subject: |
|
|
I am getting the same error during 'make bzImage'. Here's a bit more of the output before the error:
Code: | ld -m elf_i386 -T /usr/src/linux-2.4.21-pre7-ac1/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o \
net/network.o \
/usr/src/linux-2.4.21-pre7-ac1/arch/i386/lib/lib.a /usr/src/linux-2.4.21-pre7-ac1/lib/lib.a /usr/src/linux-2.4.21-pre7-ac1/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
fs/fs.o(.text+0x1ba09): In function `do_quotactl':
: undefined reference to `sync_dquots_dev'
make: *** [vmlinux] Error 1
|
|
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Apr 23, 2003 8:02 pm Post subject: |
|
|
Getting the same error with linux-2.4.21-rc1-ac1. :p |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Apr 23, 2003 9:09 pm Post subject: |
|
|
tycheung wrote: | sorry - wasn't quite sure exactly which category my post belonged to... |
There is no appology needed at all, I thoroughly understand trying to determine the correct forum to post into and not being sure. That's why I mentioned that you might want to check out the forum guidelines which outline how you should use the forums.
Thanks for participating, I'm always afraid that any intervention on a Moderators part will put people off from the forums -- but without putting a few people off every once in a while the forums would be so messy no one could actually use them. I hope you still feel comfortable participating, and just for the record I have a thread that got moved to the duplicates forum too!
Regards,
BonezTheGoon |
|
Back to top |
|
|
mona- n00b
Joined: 18 Dec 2002 Posts: 40
|
Posted: Thu Apr 24, 2003 2:13 pm Post subject: |
|
|
# Temporary Fix #
In config, "File systems"
say Y to Quota support.
|
|
Back to top |
|
|
tycheung n00b
Joined: 29 Dec 2002 Posts: 43
|
Posted: Thu Apr 24, 2003 10:19 pm Post subject: |
|
|
That worked - thanks, Mona!
unfortunately, a couple more problems have popped up. networking doesn't seem to work - I recompiled the nvidia drivers (nvnet) v. 1.0256, and the module loads fine, but it breaks on the "Bringing up eth0" part. Not sure what to do there. Also, on restart, it won't restart the computer after the "Remounting all filesystems read only" part - it will just stop there, and I have to manually push the power button. Any ideas on how to resolve this? I will be eternally grateful... |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Apr 25, 2003 9:16 pm Post subject: |
|
|
Worked fine for me. Thanks Mona.
Not sure why your network drivers didn't work, tycheung. I copied my original .config over and ran 'make oldconfig' so all my old settings were ported over to the ac-sources build. Worked like a charm. Just needed to re-emerge alsa-driver and nvidia-kernel afterwards.
FYI there was a new ac patch out today so I used ac-sources-2.4.21_rc1-r2. |
|
Back to top |
|
|
tycheung n00b
Joined: 29 Dec 2002 Posts: 43
|
Posted: Sat Apr 26, 2003 1:19 pm Post subject: |
|
|
Ok, that worked (well, after I turned off the Firewire support which was resulting in a kernel panic). So far so good.
On another note, does anyone know why, on shutdown, it won't power down my computer completely? It seems to "half" power down - at least one fan goes off, and there's a "click", but the light's still on, and at least one other fan is still on, and I have to resort to the power button. (this has been happening from the very beginning)
Thanks,
Tyler |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Apr 27, 2003 3:33 pm Post subject: |
|
|
This seems to be an issue for anything above (and not including) linux-2.4.21-pre5-ac3, I've just tried the linux-2.4.21-rc1-ac2 and that still has the problem. I suppose I'll stick with my current kernel until this gets fixed.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
|