grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build problems with trunk


From: jlcenter
Subject: Build problems with trunk
Date: Sun, 18 Mar 2012 02:17:40 +0000 (UTC)

Hi,

I'm trying to build the current grub trunk & I'm getting the following error:

gcc -Os -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef 
-Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment 
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body 
-Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k 
-Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self 
-Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces 
-Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn 
-Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith 
-Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare 
-Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wuninitialized 
-Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter 
-Wunused-value  -Wunused-variable -Wvariadic-macros -Wvolatile-register-var 
-Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g 
-Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -falign-jumps=1 
-falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow 
-fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m32 -fno-stack-protector 
-mno-stack-arg-probe -Werror -Wno-trampolines   -m32 -Wl,--build-id=none  -o 
kernel.exec -m32 -Wl,--build-id=none   -nostdlib -Wl,-N -static-libgcc -Wl,-N 
-Wl,-Ttext,0x9000  kern/i386/pc/kernel_exec-startup.o 
kern/generic/kernel_exec-rtc_get_time_ms.o term/i386/kernel_exec-vga_common.o 
kern/i386/pc/kernel_exec-init.o kern/i386/pc/kernel_exec-mmap.o 
kern/i386/kernel_exec-tsc.o term/i386/pc/kernel_exec-console.o 
kern/i386/kernel_exec-dl.o kern/i386/kernel_exec-pit.o kern/kernel_exec-mm.o 
kern/kernel_exec-time.o kern/generic/kernel_exec-millisleep.o 
kern/kernel_exec-command.o kern/kernel_exec-corecmd.o kern/kernel_exec-device.o 
kern/kernel_exec-disk.o kern/kernel_exec-dl.o kern/kernel_exec-env.o 
kern/kernel_exec-err.o kern/kernel_exec-file.o kern/kernel_exec-fs.o 
kern/kernel_exec-list.o kern/kernel_exec-main.o kern/kernel_exec-misc.o 
kern/kernel_exec-parser.o kern/kernel_exec-partition.o 
kern/kernel_exec-rescue_parser.o kern/kernel_exec-rescue_reader.o 
kern/kernel_exec-term.o kernel_exec-symlist.o   

kern/i386/pc/kernel_exec-startup.o: In function `L_cont':
/var/local/john/grub/grub-core/kern/i386/pc/startup.S:88: undefined reference 
to `BSS_START_SYMBOL'
/var/local/john/grub/grub-core/kern/i386/pc/startup.S:91: undefined reference 
to `END_SYMBOL'
collect2: ld returned 1 exit status
make[3]: *** [kernel.exec] Error 1

I not very familar with the grub build environment.  Any idea what could be 
causing this?

Thanks.

    -John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]