bthnycl / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

Can not build tinyos-2.x/tools #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd tinyos-2.x/tools
2. ./Bootstrap
3. ./configure

What is the expected output? What do you see instead?

In Step 2, the following warning is found.
    platforms/makefile.am:3 required directory platforms/sam3u does not exist

In Step 3, after ignoring Step 2 warning, the following error is found.
    config.status: error: cannot find input file: `Makefile.in'

What version of the product are you using? On what operating system?
tinyos-2.x from main trunk and try compiling on Ubuntu/Linux and Mac OSX.

Original issue reported on code.google.com by tadashi....@gmail.com on 13 Feb 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Please send questions to tinyos-help. We use this for bug reports, not help 
requests.

Original comment by philip.l...@gmail.com on 15 Feb 2011 at 6:22

GoogleCodeExporter commented 9 years ago
This is no a question for help.
The tools/platforms/Makefile.am hasn't been working since recent merge of sam3 
branch.
Please try re-building the tools by yourself.
Thanks.

Original comment by tadashi....@gmail.com on 15 Feb 2011 at 7:32

GoogleCodeExporter commented 9 years ago
I had the same problem with the latest version from the Subversion repository. 
The problem was not present in r5304.

Original comment by basilc...@gmail.com on 16 Feb 2011 at 2:23

GoogleCodeExporter commented 9 years ago
Thanks for reporting, fixed in r5465.

Original comment by vlado.handziski on 17 Feb 2011 at 1:40

GoogleCodeExporter commented 9 years ago
The configuring process runs fine now, but the building process fails.  I think 
tools/platforms/sam3/Makefile.am might need tweak...

...
sed -e 's,@tinyoslibdir\@,/opt/tinyos/lib/tinyos,g' tos-bsl.in >tos-bsl
make[3]: Nothing to be done for `all-am'.
Making all in sam3
make[2]: *** No rule to make target `all'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Original comment by tadashi....@gmail.com on 17 Feb 2011 at 2:38

GoogleCodeExporter commented 9 years ago
Can you check if r5466 works for you now?

Original comment by vlado.handziski on 18 Feb 2011 at 12:39

GoogleCodeExporter commented 9 years ago
Hi, Vlado.

I confirmed that the issue has been sorted out in r5466 and after.

Thanks.

Original comment by tadashi....@gmail.com on 18 Feb 2011 at 1:12

GoogleCodeExporter commented 9 years ago
Bootstrapping again fails with r5499 with the message "configure.ac:125 
required file `platforms/sam3u/Makefile.in' not found."

Original comment by basilc...@gmail.com on 7 Mar 2011 at 11:24

GoogleCodeExporter commented 9 years ago
It seems that tools/platforms/sam3u was emptied at some recent review but there 
still an entry in tools/configure.ac line 135 that looks for 
"platforms/sam3u/Makefile".

As I workaround I removed the line and it seems to be running smoothly.

Original comment by seannhug...@googlemail.com on 8 Mar 2011 at 3:13