Skip to contentSkip to conversation

Compilation error - Cygwin - Pandaboard

U-Boot Iordan Neshev 2 participants 2 messages Jun 6, 2011 – Jun 8, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to compile u-boot 2011_06_rc2 under Cygwin, but unfortunatelly a header
file could not be found:

$ make omap4_panda CROSS_COMPILE=arm-none-eabi-
Generating include/autoconf.mk
include/common.h:37:20: fatal error: config.h: No such file or directory
compilation terminated.
Generating include/autoconf.mk.dep
include/common.h:37:20: fatal error: config.h: No such file or directory
compilation terminated.
Configuring for omap4_panda board...
make
make[1]: Entering directory `/tmp/u-boot'
Generating include/autoconf.mk
include/common.h:37:20: fatal error: config.h: No such file or directory
compilation terminated.
Generating include/autoconf.mk.dep
include/common.h:37:20: fatal error: config.h: No such file or directory
compilation terminated.
make[1]: Leaving directory `/tmp/u-boot'
make[1]: Entering directory `/tmp/u-boot'
arm-none-eabi-gcc -DDO_DEPS_ONLY \
                 -g  -Os   -fno-common -ffixed-r8 -msoft-float   
-D__KERNEL__ -DC
ONFIG_SYS_TEXT_BASE=0x80e80000 -I/tmp/u-boot/include -fno-builtin 
-ffreestanding
  -nostdinc -isystem 
c:/programfiles/codesourcery/sourcery_g++_lite/bin/../lib/gc
c/arm-none-eabi/4.5.2/include -pipe  -DCONFIG_ARM -D__ARM__         
-march=armv5
  -Wall -Wstrict-prototypes    \
                 -o lib/asm-offsets.s lib/asm-offsets.c -c -S
lib/asm-offsets.c:18:20: fatal error: common.h: No such file or directory
compilation terminated.
make[1]: *** [lib/asm-offsets.s] Error 1
make[1]: Leaving directory `/tmp/u-boot'
make: *** [omap4_panda] Error 2
$ uname
CYGWIN_NT-5.1

Is it possible that a search path is not specified?

I tried to compile it under Fedora (in a virtual machine) and there is no problem.

Greetings,
Iordan

#1 lore raw

Hi Iordan,

Quoted 5 lines

Hello,

I'm trying to compile u-boot 2011_06_rc2 under Cygwin, but unfortunatelly a header
file could not be found:

Only people armed with lots of Make foo dare walk that way :)

[...]

Quoted 4 lines

Is it possible that a search path is not specified?

I tried to compile it under Fedora (in a virtual machine) and there is no problem.

There are only very rare occassions of people actually using Cygwin here. So my advice would be to use the virtual machine and get on with the real work.

Cheers
Detlev

Signature · 9 lines
And like the software patent issue, I also don't necessarily like DRM myself,
but I still ended up feeling the same: I'm an "Oppenheimer", and I refuse to
play politics with Linux, and I think you can use Linux for whatever you want
to - which very much includes things I don't necessarily personally approve
of.                -- Linus Torvalds in lmkl
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de