LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-09-2005, 07:31 PM   #1
leeysa
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
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~
 
Old 03-09-2005, 08:04 PM   #2
Valhalla
Member
 
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267

Rep: Reputation: 30
Is this a stock kernel or did you patch it?
 
Old 03-09-2005, 08:22 PM   #3
leeysa
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
patched this kernel 2.4.7.... (sis-patch in freebios src)

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


Reply


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
Error Messages with new Kernel davcefai Linux - General 2 01-26-2005 04:20 PM
strange error messages when recompiling kernel. levicc00123 Slackware 8 12-21-2004 11:00 PM
Kernel - error messages... posible bug Qucho Debian 3 05-02-2004 02:10 AM
Getting some error messages after upgrading kernel... Whitehat Slackware 2 01-04-2004 08:10 AM
Warnings and error messages during kernel compile rdaves@earthlink.net Linux - Software 2 09-19-2001 07:45 PM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration