Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] target/Makefile.in problem
@ 2009-03-27  8:52 Mirko ROCCO
  2009-03-29 20:32 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Mirko ROCCO @ 2009-03-27  8:52 UTC (permalink / raw)
  To: buildroot

Hi, I have downloaded the last snapshot of buildroot by means of svn...
After menuconfig(-uration) for target PowerPC I give "make source" command
but the compilation right there fails with this error:

target/Makefile.in:22: Extraneous text after `else' directive
target/Makefile.in:38: *** only one `else' per conditional. Stop.

So I have modified Makefile.in, adding a new line after `else' in line 22.
The error became:

target/Makefile.in:86: *** missing `endif'. Stop.


So I wondering: Am I following the right way? Is It right to modify
Makefile.in?

Thanks for any suggestion in advance!

Mirko ROCCO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090327/e6689ef7/attachment.htm>

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

* [Buildroot] target/Makefile.in problem
  2009-03-27  8:52 [Buildroot] target/Makefile.in problem Mirko ROCCO
@ 2009-03-29 20:32 ` Peter Korsgaard
  2009-04-09  9:46   ` Andreas Schweigstill
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2009-03-29 20:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Mirko" == Mirko ROCCO <mirko.rocco@gmail.com> writes:

Hi,

 Mirko> Hi, I have downloaded the last snapshot of buildroot by means
 Mirko> of svn...  After menuconfig(-uration) for target PowerPC I
 Mirko> give "make source" command but the compilation right there
 Mirko> fails with this error:

 Mirko> target/Makefile.in:22: Extraneous text after `else' directive
 Mirko> target/Makefile.in:38: *** only one `else' per conditional. Stop.

Strange, I use powerpc almost every day and have never seen that
error. Please post your .config and tell us what host distribution and
make version (type make --version) you are using.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] target/Makefile.in problem
  2009-03-29 20:32 ` Peter Korsgaard
@ 2009-04-09  9:46   ` Andreas Schweigstill
  2009-04-09  9:58     ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schweigstill @ 2009-04-09  9:46 UTC (permalink / raw)
  To: buildroot



jacmet wrote:
> 
>>>>>> "Mirko" == Mirko ROCCO <mirko.rocco@gmail.com> writes:
> 
>  Mirko> target/Makefile.in:22: Extraneous text after `else' directive
>  Mirko> target/Makefile.in:38: *** only one `else' per conditional. Stop.
> 
> Strange, I use powerpc almost every day and have never seen that
> error. Please post your .config and tell us what host distribution and
> make version (type make --version) you are using.
> 

I notice the same behavior when trying to build buildroot-2009.02 on an
old SuSE Linux 9.3 system (from ~2005). It uses make 3.80 and
GCC 3.3.5, so it is quite old-fashioned. On newer systems (openSUSE
10.3 and 11.0) with GNU make 3.82 I don't have any problems. But
due to some customer's requirements I have to setup a buildroot
environment which also builds on old Linux systems.

With best regards
Andreas Schweigstill

-- 
View this message in context: http://www.nabble.com/target-Makefile.in-problem-tp22737921p22967644.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

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

* [Buildroot] target/Makefile.in problem
  2009-04-09  9:46   ` Andreas Schweigstill
@ 2009-04-09  9:58     ` Peter Korsgaard
  2009-04-09 11:02       ` Andreas Schweigstill
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2009-04-09  9:58 UTC (permalink / raw)
  To: buildroot

>>>>> "Andreas" == Andreas Schweigstill <andreas@schweigstill.de> writes:

Hi,

 Andreas> I notice the same behavior when trying to build
 Andreas> buildroot-2009.02 on an old SuSE Linux 9.3 system (from
 Andreas> ~2005). It uses make 3.80 and GCC 3.3.5, so it is quite
 Andreas> old-fashioned. On newer systems (openSUSE 10.3 and 11.0)
 Andreas> with GNU make 3.82 I don't have any problems. But due to
 Andreas> some customer's requirements I have to setup a buildroot
 Andreas> environment which also builds on old Linux systems.

Ok, do you have a workaround that works with 3.80? My machines all
have atleast 3.81 - Otherwise I'll simply enforce 3.81+ in the
dependencies check.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] target/Makefile.in problem
  2009-04-09  9:58     ` Peter Korsgaard
@ 2009-04-09 11:02       ` Andreas Schweigstill
  2009-04-09 11:35         ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schweigstill @ 2009-04-09 11:02 UTC (permalink / raw)
  To: buildroot

Hello!

Peter Korsgaard  wrote:
> Ok, do you have a workaround that works with 3.80? My machines all
> have atleast 3.81 - Otherwise I'll simply enforce 3.81+ in the
> dependencies check.

Yes, of course. ;-)

Regards
Andreas Schweigstill

-- 
BITTE BEACHTEN SIE UNSERE GE?NDERTEN TELEFONNUMMERN!

Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 53035-435, Fax: (+49) 431 53035-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: target_make3.80.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090409/aee61ef5/attachment.bin>

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

* [Buildroot] target/Makefile.in problem
  2009-04-09 11:02       ` Andreas Schweigstill
@ 2009-04-09 11:35         ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2009-04-09 11:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Andreas" == Andreas Schweigstill <aschweig@schweigstill.de> writes:

 Andreas> Hello!
 Andreas> Peter Korsgaard  wrote:
 >> Ok, do you have a workaround that works with 3.80? My machines all
 >> have atleast 3.81 - Otherwise I'll simply enforce 3.81+ in the
 >> dependencies check.

 Andreas> Yes, of course. ;-)

Thanks, committed as r26042.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2009-04-09 11:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-27  8:52 [Buildroot] target/Makefile.in problem Mirko ROCCO
2009-03-29 20:32 ` Peter Korsgaard
2009-04-09  9:46   ` Andreas Schweigstill
2009-04-09  9:58     ` Peter Korsgaard
2009-04-09 11:02       ` Andreas Schweigstill
2009-04-09 11:35         ` Peter Korsgaard

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