[Top][All Lists]

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

Re: grub-core compile error on FreeBSD

From: Beeblebrox
Subject: Re: grub-core compile error on FreeBSD
Date: Tue, 14 Oct 2014 18:59:59 +0300

> And your compiler and version is ... ?

What I posted previously was from (clang version 3.4.1)

When I use gcc (gcc version 4.8.3) by invoking "USE_GCC=any", the error is:

gcc -DHAVE_CONFIG_H -I. -I..  -Wall -W -I../include -I../include  
-I. -I. -I.. -I.. -I../include -I../include 
-I../grub-core/lib/libgcrypt-grub/src/     -Os -Wall -W -Wshadow 
-Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations 
-Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args 
-Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration 
-Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar 
-Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch 
-Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label 
-Wunused-parameter -Wunused-value  -Wunused-variable -Wwrite-strings 
-Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes 
-Wmissing-declarations  -Wextra -Wattributes -Wendif-labels -Winit-self 
-Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull 
-Woverflow -Wvla -Wpointer-to-int-cast
-Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign 
-Wmissing-prototypes -Wmissing-declarations -Wformat=2 -march=i386 -m32 -mrtd 
-mregparm=3 -falign-jumps=1 -falign-loops=1 -falign-functions=1 
-freg-struct-return -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm 
-fno-asynchronous-unwind-tables -Qn -fno-stack-protector -Wtrampolines -Werror  
   -ffreestanding   -MT
net/http_module-http.o -MD -MP -MF net/.deps-core/http_module-http.Tpo -c -o 
net/http_module-http.o `test -f 'net/http.c' || echo './'`net/http.c
In file included from ../include/grub/misc.h:24:0,
                 from net/http.c:19:
../include/grub/types.h:22:20: fatal error: config.h: No such file or directory
 #include <config.h>
compilation terminated.
Makefile:30997: recipe for target 'net/http_module-http.o' failed
gmake[3]: *** [net/http_module-http.o] Error 1
gmake[3]: Leaving directory '/asp/git/grub/grub-core'
Makefile:22888: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/asp/git/grub/grub-core'
Makefile:11537: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/asp/git/grub'
Makefile:3933: recipe for target 'all' failed
gmake: *** [all] Error 2


reply via email to

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