build failed

Siddons, David siddons at bnl.gov
Sat Jul 22 13:46:52 UTC 2023


Hi Frank,
THanks for responding. The output is:

peter at peter-HP:~/quick-start/src/rsb/rtems$ /usr/bin/python3-config --ldflags
-L/usr/lib/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu  -lcrypt -ldl  -lm -lm
peter at peter-HP:~/quick-start/src/rsb/rtems$ /usr/bin/python3-config --ldflags --embed
-L/usr/lib/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lpython3.10 -lcrypt -ldl  -lm -lm

So I guess you are right.
I am starting pretty much from scratch, so I chose 5 as the most recent released version. Would I be better off switching to 6?
Pete.


________________________________
From: Frank Kühndel <frank.kuehndel at embedded-brains.de>
Sent: Saturday, July 22, 2023 2:25 AM
To: Siddons, David <siddons at bnl.gov>; rtems-users at rtems.org <users at rtems.org>
Cc: Chris Johns <chrisj at rtems.org>
Subject: Re: build failed

Hi Pete,

this looks like bug https://urldefense.com/v3/__https://devel.rtems.org/ticket/4631__;!!P4SdNyxKAPE!AC1ZvL2wAQCQ7iQRpVCcyO-eP2P-xD3OJxSxyVv2nG86THYXD4jA0AyeoYw8zCGRzOtFZCoiACmEEpE5mKYzHi9gMHKQBlqzPA$

It was fixed for RTEMS 6 but may be not for RTEMS 5?

I am adding Chris Johns to CC as he fixed this bug in RTEMS 6.

If it is this bug, the cause is that on newer OS the command
`/usr/bin/python3-config --ldflags` needs an additional `--embed` option
while on older OS it does not even understand it. I am not using RTEMS 5
so maybe someone else can provide you advice.

Pete, which version of Python are you using?
What is the output of the following commands on your machine?

/usr/bin/python3-config --ldflags
/usr/bin/python3-config --ldflags --embed

Greetings
Frank

On 7/21/23 18:00, Siddons, David wrote:
> Subject:
> build failed
> From:
> "Siddons, David" <siddons at bnl.gov>
> Date:
> 7/21/23, 18:00
>
> To:
> "rtems-users at rtems.org" <users at rtems.org>
>
>
> I'm following the quick-start guide, substituting arm for sparc, and at this step:
> https://urldefense.com/v3/__https://docs.rtems.org/branches/master/user/start/tools.html__;!!P4SdNyxKAPE!AC1ZvL2wAQCQ7iQRpVCcyO-eP2P-xD3OJxSxyVv2nG86THYXD4jA0AyeoYw8zCGRzOtFZCoiACmEEpE5mKYzHi9gMHIWgY02Jw$
>
>
> cd $HOME/quick-start/src/rsb/rtems
> ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5 5/rtems-arm
>
> Eventually I get this:
>
> config: tools/rtems-gdb-9.1-1.cfg
> error: shell macro failed: /home/peter/quick-start/src/rsb/source-builder/sb/rtems-build-dep -c gcc  -l : 2: error: no library (-l) provided
> Build FAILED
> Build Set: Time 0:00:23.976088
> Build FAILED
>
> What did I do wrong?
>
> Pete.

--
embedded brains GmbH & Co. KG
Herr Frank KÜHNDEL
Dornierstr. 4
82178 Puchheim
Germany
email: frank.kuehndel at embedded-brains.de
phone:  +49-89-18 94 741 - 23
mobile: +49-176-15 22 06 - 11

Registergericht: Amtsgericht München
Registernummer: HRA 117265
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://urldefense.com/v3/__https://embedded-brains.de/datenschutzerklaerung/__;!!P4SdNyxKAPE!AC1ZvL2wAQCQ7iQRpVCcyO-eP2P-xD3OJxSxyVv2nG86THYXD4jA0AyeoYw8zCGRzOtFZCoiACmEEpE5mKYzHi9gMHL-lRS8Ew$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20230722/7f7c70dd/attachment.htm>


More information about the users mailing list