public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Cygwin compile problems
@ 2003-12-05  0:59 Bruce Boettjer
  2003-12-05  1:49 ` Sangmoon Kim
  2003-12-05  8:04 ` Anders Larsen
  0 siblings, 2 replies; 6+ messages in thread
From: Bruce Boettjer @ 2003-12-05  0:59 UTC (permalink / raw)
  To: u-boot

Stupid noob question of the day.

 

I am trying to compile u-boot (latest dist) with powerpc-eabi-  on a
i686-cygwin machine.  I see that patches were posted for previous revs of
u-boot, but they are inaccessable to me from sourceforge.  It looks like the
patch needed is the same as before, as img2srec.o complains in the following
manner on make all:

 

Make[1]: *** No rule to make target
'/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h', needed by
'img2srec.o'.  Stop.

 

To me, this looks like the wrong header file is getting pointed to, as my
powerpc-eabi stuff is in a different directory

 

Please help!  Thanks in advance!

 

Regards,

 

Bruce Boettjer

Sr Hardware Design Engineer

Momentum Computer

1815 Aston Ave

Suite 107

Carlsbad, CA  92008

(760)-431-8663

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20031204/6f4654c1/attachment.htm 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Cygwin compile problems
  2003-12-05  0:59 [U-Boot-Users] Cygwin compile problems Bruce Boettjer
@ 2003-12-05  1:49 ` Sangmoon Kim
  2003-12-05  2:00   ` Bruce Boettjer
  2003-12-05  8:04 ` Anders Larsen
  1 sibling, 1 reply; 6+ messages in thread
From: Sangmoon Kim @ 2003-12-05  1:49 UTC (permalink / raw)
  To: u-boot

Hi,
> Make[1]: *** No rule to make target
'/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h', needed by
'img2srec.o'.  Stop.

img2srec is a utility for host machine.
Host gcc compiler is used to compile it.
On cygwin no stddef.h exists.
That is why you got the message.

Regards,
Sangmoon Kim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Cygwin compile problems
  2003-12-05  1:49 ` Sangmoon Kim
@ 2003-12-05  2:00   ` Bruce Boettjer
  2003-12-05  2:21     ` Sangmoon Kim
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Boettjer @ 2003-12-05  2:00 UTC (permalink / raw)
  To: u-boot

Sangmoon,

Thanks for this info.  Is there any way to fix it?

Regards,
 
Bruce Boettjer
Sr Hardware Design Engineer
Momentum Computer
1815 Aston Ave
Suite 107
Carlsbad, CA  92008
(760)-431-8663

-----Original Message-----
From: Sangmoon Kim [mailto:dogoil at etinsys.com] 
Sent: Thursday, December 04, 2003 5:49 PM
To: Bruce Boettjer; u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] Cygwin compile problems

Hi,
> Make[1]: *** No rule to make target
'/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h', needed by
'img2srec.o'.  Stop.

img2srec is a utility for host machine.
Host gcc compiler is used to compile it.
On cygwin no stddef.h exists.
That is why you got the message.

Regards,
Sangmoon Kim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Cygwin compile problems
  2003-12-05  2:00   ` Bruce Boettjer
@ 2003-12-05  2:21     ` Sangmoon Kim
  0 siblings, 0 replies; 6+ messages in thread
From: Sangmoon Kim @ 2003-12-05  2:21 UTC (permalink / raw)
  To: u-boot

Hi,
>
> Thanks for this info.  Is there any way to fix it?
>
Comment out the header file and compile u-boot.
You will get some error messages complaining some type definitions are
missing.
typedef them in C source code and compile it again.

Regards,
Sangmoon Kim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Cygwin compile problems
  2003-12-05  0:59 [U-Boot-Users] Cygwin compile problems Bruce Boettjer
  2003-12-05  1:49 ` Sangmoon Kim
@ 2003-12-05  8:04 ` Anders Larsen
  2003-12-05  8:55   ` Sangmoon Kim
  1 sibling, 1 reply; 6+ messages in thread
From: Anders Larsen @ 2003-12-05  8:04 UTC (permalink / raw)
  To: u-boot

"Bruce Boettjer" <bruceb@momenco.com> schreibt:
>Make[1]: *** No rule to make target
>?/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h?, needed by
>?img2srec.o?.  Stop.

Hi,

it looks as if your cygwin installation somehow got messed up:

I have /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/stddef.h available
for my cygwin (gcc 3.2) and img2srec compiles just fine here.

Since stddef.h is required by ISO C99 I'd be much surprised if it
wasn't available for your newer (cygwin-) gcc 3.3.1

Cheers
 Anders

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Cygwin compile problems
  2003-12-05  8:04 ` Anders Larsen
@ 2003-12-05  8:55   ` Sangmoon Kim
  0 siblings, 0 replies; 6+ messages in thread
From: Sangmoon Kim @ 2003-12-05  8:55 UTC (permalink / raw)
  To: u-boot

Hi,
> 
> Since stddef.h is required by ISO C99 I'd be much surprised if it
> wasn't available for your newer (cygwin-) gcc 3.3.1
> 

I had the problem years ago.
I think it's not a problem any more if cygwin is upgraded.

Regards,
Sangmoon Kim

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-05  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-05  0:59 [U-Boot-Users] Cygwin compile problems Bruce Boettjer
2003-12-05  1:49 ` Sangmoon Kim
2003-12-05  2:00   ` Bruce Boettjer
2003-12-05  2:21     ` Sangmoon Kim
2003-12-05  8:04 ` Anders Larsen
2003-12-05  8:55   ` Sangmoon Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox