LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel 2.4.7 Compile error messages~ help me? (http://www.linuxquestions.org/questions/linux-software-2/kernel-2-4-7-compile-error-messages%7E-help-me-299805/)

leeysa 03-09-2005 07:31 PM

Kernel 2.4.7 Compile error messages~ help me?
 
Hi.

I'd like to compile freebios for sis main board.

so I need Kernel 2.4.7 in patch-freebios-sis-mainboard

But Compile error!

This error messages~~

make[1]: 나감 `/root/work/linux/arch/i386/kernel' 디렉토리
make CFLAGS="-D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 " -C arch/i386/mm
make[1]: 들어감 `/root/work/linux/arch/i386/mm' 디렉토리
make all_targets
make[2]: 들어감 `/root/work/linux/arch/i386/mm' 디렉토리
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init.o init.c
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o fault.o fault.c
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ioremap.o ioremap.c
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o extable.o extable.c
rm -f mm.o
ld -m elf_i386 -r -o mm.o init.o fault.o ioremap.o extable.o
make[2]: 나감 `/root/work/linux/arch/i386/mm' 디렉토리
make[1]: 나감 `/root/work/linux/arch/i386/mm' 디렉토리
make CFLAGS="-D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 " -C arch/i386/lib
make[1]: 들어감 `/root/work/linux/arch/i386/lib' 디렉토리
make all_targets
make[2]: 들어감 `/root/work/linux/arch/i386/lib' 디렉토리
gcc -fno-stack-protector -D__ASSEMBLY__ -D__KERNEL__ -I/root/work/linux/include -c checksum.S -o checksum.o
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o old-checksum.o old-checksum.c
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o delay.o delay.c
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o usercopy.o usercopy.c
gcc -fno-stack-protector -D__ASSEMBLY__ -D__KERNEL__ -I/root/work/linux/include -c getuser.S -o getuser.o
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o memcpy.o memcpy.c
gcc -fno-stack-protector -D__KERNEL__ -I/root/work/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o strstr.o strstr.c
rm -f lib.a
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o
make[2]: 나감 `/root/work/linux/arch/i386/lib' 디렉토리
make[1]: 나감 `/root/work/linux/arch/i386/lib' 디렉토리
ld -m elf_i386 -T /root/work/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.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/media/media.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/video/video.o drivers/usb/usbdrv.o \
net/network.o \
/root/work/linux/arch/i386/lib/lib.a /root/work/linux/lib/lib.a /root/work/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
local symbol 0: discarded in section `.text.exit' from drivers/char/char.o
local symbol 1: discarded in section `.text.exit' from drivers/net/net.o
local symbol 2: discarded in section `.text.exit' from drivers/sound/sounddrivers.o
local symbol 3: discarded in section `.text.exit' from drivers/mtd/mtdlink.o
local symbol 4: discarded in section `.text.exit' from drivers/video/video.o
local symbol 5: discarded in section `.text.exit' from drivers/usb/usbdrv.o
make: *** [vmlinux] error 1

What mean this error messages?

Help me.. please~

Valhalla 03-09-2005 08:04 PM

Is this a stock kernel or did you patch it?

leeysa 03-09-2005 08:22 PM

patched this kernel 2.4.7.... (sis-patch in freebios src)

ofcourse not patch not error..... -.-^


All times are GMT -5. The time now is 12:48 PM.