Re: 回复: stdout and stderr are getting mixed up?

Chris Johns chrisj at rtems.org
Sun Jul 9 22:30:28 UTC 2017


On 08/07/2017 14:35, jameszxj wrote:
> I did some more tests.
> 1. do not initialize network,  everything is OK.
> 2. after initialize network, i use printk to output message, everything is OK.
> 3. after initialize network, i use fprintf(stderr,....)to output message,
> everything is OK.
> 4.after initialize network, i use fprintf(stdout,....)to output message, system
> crash.
> 
> so after libbsd output some messages, something wrong with stdout.
> 
> I am a newbie to RTEMS. Would you give me some advices to dig deeper.
> 

Did you update the tools via the RSB, update the kernel source and bootstrap,
rebuild the BSP and install it, then clean, rebuild and install libbsd?

I am running on a zynq and it is working.

Chris



More information about the users mailing list