<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I've been working my way through the 'Quick Start' and everything was going pretty well until <a href="https://docs.rtems.org/branches/master/user/start/app.html" id="LPlnk538924">https://docs.rtems.org/branches/master/user/start/app.html</a>.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
I get to the point where I'm supposed to 'configure', and I get the following:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<blockquote style="margin-top:0;margin-bottom:0">
<div>~/src/rtems/quick-start/app/hello$ ./waf configure --rtems=$HOME/src/rtems/quick-start/rtems/6 --rtems-bsp=sparc/erc32</div>
<div class="ContentPasted1">Setting top to : /home/bsterling/src/rtems/quick-start/app/hello
</div>
<div class="ContentPasted1">Setting out to : /home/bsterling/src/rtems/quick-start/app/hello/build
</div>
<div class="ContentPasted1">RTEMS path is not valid, "/home/bsterling/src/rtems/quick-start/rtems/6/share/rtems6" not found.</div>
<div class="ContentPasted1">(complete log in /home/bsterling/src/rtems/quick-start/app/hello/build/config.log)</div>
</blockquote>
<div class="ContentPasted1"><br>
</div>
<div class="ContentPasted1"><br>
</div>
I have verified that all of the source files contain only what is described on that page.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
When I look in the rtems/6/share directory, I have the following:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
<blockquote style="margin-top:0;margin-bottom:0">~/src/rtems/quick-start/rtems/6/share$ ls -l
<div class="ContentPasted2">total 32</div>
<div class="ContentPasted2">drwxr-xr-x 3 bsterling osr 4096 Jul 10 14:39 doc</div>
<div class="ContentPasted2">drwxr-xr-x 3 bsterling osr 4096 Jul 10 15:00 gcc-12.3.1</div>
<div class="ContentPasted2">drwxr-xr-x 5 bsterling osr 4096 Jul 10 15:02 gdb</div>
<div class="ContentPasted2">drwxr-xr-x 2 bsterling osr 4096 Jul 10 15:01 iconv_data</div>
<div class="ContentPasted2">drwxr-xr-x 2 bsterling osr 4096 Jul 10 15:02 info</div>
<div class="ContentPasted2">drwxr-xr-x 2 bsterling osr 4096 Jul 10 14:43 locale</div>
<div class="ContentPasted2">drwxr-xr-x 5 bsterling osr 4096 Jul 10 15:00 man</div>
<div class="ContentPasted2">drwxr-xr-x 9 bsterling osr 4096 Jul 10 15:02 rtems</div>
</blockquote>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
I tried renaming 'rtems' to 'rtems6', but that resulted in the following errors:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
<blockquote style="margin-top:0;margin-bottom:0">~/src/rtems/quick-start/app/hello$ ./waf configure --rtems=$HOME/src/rtems/quick-start/rtems/6 --rtems-bsp=sparc/erc32
<div class="ContentPasted3">Setting top to : /home/bsterling/src/rtems/quick-start/app/hello
</div>
<div class="ContentPasted3">Setting out to : /home/bsterling/src/rtems/quick-start/app/hello/build
</div>
<div class="ContentPasted3">Traceback (most recent call last):</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/.waf3-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Scripting.py", line 119, in waf_entry_point</div>
<div class="ContentPasted3"> run_commands()</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/.waf3-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Scripting.py", line 182, in run_commands</div>
<div class="ContentPasted3"> ctx=run_command(cmd_name)</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/.waf3-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Scripting.py", line 173, in run_command</div>
<div class="ContentPasted3"> ctx.execute()</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/.waf3-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Configure.py", line 85, in execute</div>
<div class="ContentPasted3"> super(ConfigurationContext,self).execute()</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/.waf3-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Context.py", line 92, in execute</div>
<div class="ContentPasted3"> self.recurse([os.path.dirname(g_module.root_path)])</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/.waf3-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Context.py", line 133, in recurse</div>
<div class="ContentPasted3"> user_function(self)</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/wscript", line 26, in configure</div>
<div class="ContentPasted3"> rtems.configure(conf, bsp_configure = bsp_configure)</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/rtems_waf/rtems.py", line 190, in configure</div>
<div class="ContentPasted3"> check_options(conf,</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/rtems_waf/rtems.py", line 496, in check_options</div>
<div class="ContentPasted3"> arch_bsps = _check_arch_bsps(rtems_bsps, rtems_config, rtems_path,</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/rtems_waf/rtems.py", line 851, in _check_arch_bsps</div>
<div class="ContentPasted3"> installed = _find_installed_arch_bsps(config, path, archs, version)</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/rtems_waf/rtems.py", line 823, in _find_installed_arch_bsps</div>
<div class="ContentPasted3"> if _arch_from_arch_bsp(f[:-3]) in archs:</div>
<div class="ContentPasted3"> File "/home/bsterling/src/rtems/quick-start/app/hello/rtems_waf/rtems.py", line 862, in _arch_from_arch_bsp</div>
<div class="ContentPasted3"> rtems_field_index = next(i for i, field in enumerate(fields) if field.startswith('rtems'))</div>
<div class="ContentPasted3">StopIteration</div>
</blockquote>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
Please note that I started with rtems 6 because when I tried to use the released rtems 5 'Getting Started', I couldn't get past the first few steps. That being said, I'm glad to go back to any other version if necessary, as I'm just trying to get to the point
where I can work with RTEMS.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
Thanks in advance for any help!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted3">
I'm using Ubuntu 22.04.2 LTS, and have followed the instructions in the 'Host Machine' setup section (as I mentioned, everything was working great up until this step). The only way I was able to get things working was to clone the git repositories. I'm on
the 'master' branch.</div>
</body>
</html>