build failed

Frank Kühndel frank.kuehndel at embedded-brains.de
Sat Jul 22 16:40:48 UTC 2023


Hi Pete,

if there is no particular reason to use RTEMS 5 (such has you have to 
work with old code), I would recommend RTEMS 6. Moreover, in version 6 
this bug is fixed and I guess release 6.1 will be published within 
several months.

Greetings
Frank

On 7/22/23 15:46, Siddons, David wrote:
> Subject:
> Re: build failed
> From:
> "Siddons, David" <siddons at bnl.gov>
> Date:
> 7/22/23, 15:46
> 
> To:
> Frank Kühndel <frank.kuehndel at embedded-brains.de>, 
> "rtems-users at rtems.org" <users at rtems.org>
> CC:
> Chris Johns <chrisj at rtems.org>
> 
> 
> 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 bughttps://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$
> 

-- 
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://embedded-brains.de/datenschutzerklaerung/


More information about the users mailing list