help,c++ kernel link error
Posted: Sun Jul 29, 2007 8:39 pm
i I download Quark-0.1 http://sarovar.org/projects/quark
i try make the kernel(in FC6,G++ 4.0.1)
but show link error
ld --oformat=binary -N -emain -Ttext 0x7400 -o kernel.bin main.o GDT.o IDT.o Exceptions.o PIC.o PIT.o PortIO.o Bios.o VGA.o Console.o Debug.o Keyboard.o Speaker.o Shutdown.o Delay.o DeviceQueue.o Shell.o Time.o exception.o DMA.o ../lib/libc.o
PIT.o: In function `initTimeArea()':
PIT.cpp:(.text+0x34): undefined reference to `memcpy'
i try make the kernel(in FC6,G++ 4.0.1)
but show link error
ld --oformat=binary -N -emain -Ttext 0x7400 -o kernel.bin main.o GDT.o IDT.o Exceptions.o PIC.o PIT.o PortIO.o Bios.o VGA.o Console.o Debug.o Keyboard.o Speaker.o Shutdown.o Delay.o DeviceQueue.o Shell.o Time.o exception.o DMA.o ../lib/libc.o
PIT.o: In function `initTimeArea()':
PIT.cpp:(.text+0x34): undefined reference to `memcpy'