Build SDK toolchain using the following page:
http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069706.html
Use the following command for simple_serial c building:
gcc simple_serial.c --sysroot=/opt/fsl-networking/QorIQ-SDK-V1.7/sysroots/ppce500v2-fsl-linux-gnuspe/ -o simple_serial
See corrected simple_serial.c file in the attachment.
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------